Class: KubeDSL::DSL::V1::RBDVolumeSource
Instance Method Summary
collapse
#initialize, #to_resource
extended
extended
Instance Method Details
#kind_sym ⇒ Object
34
35
36
|
# File 'lib/kube-dsl/dsl/v1/rbd_volume_source.rb', line 34
def kind_sym
:rbd_volume_source
end
|
#serialize ⇒ Object
21
22
23
24
25
26
27
28
29
30
31
32
|
# File 'lib/kube-dsl/dsl/v1/rbd_volume_source.rb', line 21
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
|