Class: KubeDSL::DSL::V1::Volume
Instance Method Summary
collapse
#initialize, #to_resource
extended
extended
Instance Method Details
#kind_sym ⇒ Object
97
98
99
|
# File 'lib/kube-dsl/dsl/v1/volume.rb', line 97
def kind_sym
:volume
end
|
#serialize ⇒ Object
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
|
# File 'lib/kube-dsl/dsl/v1/volume.rb', line 63
def serialize
{}.tap do |result|
result[:awsElasticBlockStore] = aws_elastic_block_store.serialize
result[:azureDisk] = azure_disk.serialize
result[:azureFile] = azure_file.serialize
result[:cephfs] = cephfs.serialize
result[:cinder] = cinder.serialize
result[:configMap] = config_map.serialize
result[:csi] = csi.serialize
result[:downwardAPI] = downward_api.serialize
result[:emptyDir] = empty_dir.serialize
result[:fc] = fc.serialize
result[:flexVolume] = flex_volume.serialize
result[:flocker] = flocker.serialize
result[:gcePersistentDisk] = gce_persistent_disk.serialize
result[:gitRepo] = git_repo.serialize
result[:glusterfs] = glusterfs.serialize
result[:hostPath] = host_path.serialize
result[:iscsi] = iscsi.serialize
result[:name] = name
result[:nfs] = nfs.serialize
result[:persistentVolumeClaim] = persistent_volume_claim.serialize
result[:photonPersistentDisk] = photon_persistent_disk.serialize
result[:portworxVolume] = portworx_volume.serialize
result[:projected] = projected.serialize
result[:quobyte] = quobyte.serialize
result[:rbd] = rbd.serialize
result[:scaleIO] = scale_io.serialize
result[:secret] = secret.serialize
result[:storageos] = storageos.serialize
result[:vsphereVolume] = vsphere_volume.serialize
end
end
|