Class: KubeDSL::DSL::V1::RBDVolumeSource
Instance Method Summary
collapse
#initialize, #to_resource
extended
extended
Instance Method Details
#kind_sym ⇒ Object
38
39
40
|
# File 'lib/kube-dsl/dsl/v1/rbd_volume_source.rb', line 38
def kind_sym
:rbd_volume_source
end
|
#serialize ⇒ Object
25
26
27
28
29
30
31
32
33
34
35
36
|
# File 'lib/kube-dsl/dsl/v1/rbd_volume_source.rb', line 25
def serialize
{}.tap do |result|
result[:fsType] = fs_type
result[:image] = image
result[:keyring] = keyring
result[:monitors] = monitors
result[:pool] = pool
result[:readOnly] = read_only
result[:secretRef] = secret_ref.serialize
result[:user] = user
end
end
|