Module: Kitchen::Driver::Oci::Instance::CommonLaunchDetails

Included in:
Kitchen::Driver::Oci::Instance
Defined in:
lib/kitchen/driver/oci/instance/common.rb

Overview

setter methods that populate launch details common to all instance models

Instance Method Summary collapse

Instance Method Details

#availability_domainObject



29
30
31
# File 'lib/kitchen/driver/oci/instance/common.rb', line 29

def availability_domain
  launch_details.availability_domain = config[:availability_domain]
end

#compartment_idObject



25
26
27
# File 'lib/kitchen/driver/oci/instance/common.rb', line 25

def compartment_id
  launch_details.compartment_id = oci.compartment
end

#defined_tagsObject



33
34
35
# File 'lib/kitchen/driver/oci/instance/common.rb', line 33

def defined_tags
  launch_details.defined_tags = config[:defined_tags]
end

#freeform_tagsObject



41
42
43
# File 'lib/kitchen/driver/oci/instance/common.rb', line 41

def freeform_tags
  launch_details.freeform_tags = process_freeform_tags
end

#shapeObject



37
38
39
# File 'lib/kitchen/driver/oci/instance/common.rb', line 37

def shape
  launch_details.shape = config[:shape]
end