Class: KubeDSL::DSL::V1::Volume
Instance Method Summary
collapse
#initialize, #to_resource
extended
extended
Instance Method Details
#kind_sym ⇒ Object
104
105
106
|
# File 'lib/kube-dsl/dsl/v1/volume.rb', line 104
def kind_sym
:volume
end
|
#serialize ⇒ Object
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
96
97
98
99
100
101
102
|
# File 'lib/kube-dsl/dsl/v1/volume.rb', line 69
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[:ephemeral] = ephemeral.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
|