Class: KubeDSL::DSL::V1::CSIPersistentVolumeSource
Instance Method Summary
collapse
#initialize, #to_resource
extended
extended
Instance Method Details
#kind_sym ⇒ Object
37
38
39
|
# File 'lib/kube-dsl/dsl/v1/csi_persistent_volume_source.rb', line 37
def kind_sym
:csi_persistent_volume_source
end
|
#serialize ⇒ Object
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# File 'lib/kube-dsl/dsl/v1/csi_persistent_volume_source.rb', line 23
def serialize
{}.tap do |result|
result[:controllerExpandSecretRef] = controller_expand_secret_ref.serialize
result[:controllerPublishSecretRef] = controller_publish_secret_ref.serialize
result[:driver] = driver
result[:fsType] = fs_type
result[:nodePublishSecretRef] = node_publish_secret_ref.serialize
result[:nodeStageSecretRef] = node_stage_secret_ref.serialize
result[:readOnly] = read_only
result[:volumeAttributes] = volume_attributes.serialize
result[:volumeHandle] = volume_handle
end
end
|