Class: KubeDSL::DSL::V1::ScaleIOVolumeSource
Instance Method Summary
collapse
#initialize, #to_resource
extended
extended
Instance Method Details
#kind_sym ⇒ Object
44
45
46
|
# File 'lib/kube-dsl/dsl/v1/scale_io_volume_source.rb', line 44
def kind_sym
:scale_io_volume_source
end
|
#serialize ⇒ Object
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# File 'lib/kube-dsl/dsl/v1/scale_io_volume_source.rb', line 29
def serialize
{}.tap do |result|
result[:fsType] = fs_type
result[:gateway] = gateway
result[:protectionDomain] = protection_domain
result[:readOnly] = read_only
result[:secretRef] = secret_ref.serialize
result[:sslEnabled] = ssl_enabled
result[:storageMode] = storage_mode
result[:storagePool] = storage_pool
result[:system] = system
result[:volumeName] = volume_name
end
end
|