class K8S::Api::Core::V1::Volume
- K8S::Api::Core::V1::Volume
- Reference
- Object
Overview
Volume represents a named volume in a pod that may be accessed by any container in the pod.
Included Modules
- JSON::Serializable
- JSON::Serializable::Unmapped
- YAML::Serializable
- YAML::Serializable::Unmapped
Defined in:
versions/v1.17/api/core/v1/volume.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, name : String, aws_elastic_block_store : Api::Core::V1::AWSElasticBlockStoreVolumeSource? = nil, azure_disk : Api::Core::V1::AzureDiskVolumeSource? = nil, azure_file : Api::Core::V1::AzureFileVolumeSource? = nil, cephfs : Api::Core::V1::CephFSVolumeSource? = nil, cinder : Api::Core::V1::CinderVolumeSource? = nil, config_map : Api::Core::V1::ConfigMapVolumeSource? = nil, csi : Api::Core::V1::CSIVolumeSource? = nil, downward_api : Api::Core::V1::DownwardAPIVolumeSource? = nil, empty_dir : Api::Core::V1::EmptyDirVolumeSource? = nil, fc : Api::Core::V1::FCVolumeSource? = nil, flex_volume : Api::Core::V1::FlexVolumeSource? = nil, flocker : Api::Core::V1::FlockerVolumeSource? = nil, gce_persistent_disk : Api::Core::V1::GCEPersistentDiskVolumeSource? = nil, git_repo : Api::Core::V1::GitRepoVolumeSource? = nil, glusterfs : Api::Core::V1::GlusterfsVolumeSource? = nil, host_path : Api::Core::V1::HostPathVolumeSource? = nil, iscsi : Api::Core::V1::ISCSIVolumeSource? = nil, nfs : Api::Core::V1::NFSVolumeSource? = nil, persistent_volume_claim : Api::Core::V1::PersistentVolumeClaimVolumeSource? = nil, photon_persistent_disk : Api::Core::V1::PhotonPersistentDiskVolumeSource? = nil, portworx_volume : Api::Core::V1::PortworxVolumeSource? = nil, projected : Api::Core::V1::ProjectedVolumeSource? = nil, quobyte : Api::Core::V1::QuobyteVolumeSource? = nil, rbd : Api::Core::V1::RBDVolumeSource? = nil, scale_io : Api::Core::V1::ScaleIOVolumeSource? = nil, secret : Api::Core::V1::SecretVolumeSource? = nil, storageos : Api::Core::V1::StorageOSVolumeSource? = nil, vsphere_volume : Api::Core::V1::VsphereVirtualDiskVolumeSource? = nil)
Instance Method Summary
- #aws_elastic_block_store : Api::Core::V1::AWSElasticBlockStoreVolumeSource?
- #aws_elastic_block_store=(aws_elastic_block_store : Api::Core::V1::AWSElasticBlockStoreVolumeSource?)
- #azure_disk : Api::Core::V1::AzureDiskVolumeSource?
- #azure_disk=(azure_disk : Api::Core::V1::AzureDiskVolumeSource?)
- #azure_file : Api::Core::V1::AzureFileVolumeSource?
- #azure_file=(azure_file : Api::Core::V1::AzureFileVolumeSource?)
- #cephfs : Api::Core::V1::CephFSVolumeSource?
- #cephfs=(cephfs : Api::Core::V1::CephFSVolumeSource?)
- #cinder : Api::Core::V1::CinderVolumeSource?
- #cinder=(cinder : Api::Core::V1::CinderVolumeSource?)
- #config_map : Api::Core::V1::ConfigMapVolumeSource?
- #config_map=(config_map : Api::Core::V1::ConfigMapVolumeSource?)
- #csi : Api::Core::V1::CSIVolumeSource?
- #csi=(csi : Api::Core::V1::CSIVolumeSource?)
- #downward_api : Api::Core::V1::DownwardAPIVolumeSource?
- #downward_api=(downward_api : Api::Core::V1::DownwardAPIVolumeSource?)
- #empty_dir : Api::Core::V1::EmptyDirVolumeSource?
- #empty_dir=(empty_dir : Api::Core::V1::EmptyDirVolumeSource?)
- #fc : Api::Core::V1::FCVolumeSource?
- #fc=(fc : Api::Core::V1::FCVolumeSource?)
- #flex_volume : Api::Core::V1::FlexVolumeSource?
- #flex_volume=(flex_volume : Api::Core::V1::FlexVolumeSource?)
- #flocker : Api::Core::V1::FlockerVolumeSource?
- #flocker=(flocker : Api::Core::V1::FlockerVolumeSource?)
- #gce_persistent_disk : Api::Core::V1::GCEPersistentDiskVolumeSource?
- #gce_persistent_disk=(gce_persistent_disk : Api::Core::V1::GCEPersistentDiskVolumeSource?)
- #git_repo : Api::Core::V1::GitRepoVolumeSource?
- #git_repo=(git_repo : Api::Core::V1::GitRepoVolumeSource?)
- #glusterfs : Api::Core::V1::GlusterfsVolumeSource?
- #glusterfs=(glusterfs : Api::Core::V1::GlusterfsVolumeSource?)
- #host_path : Api::Core::V1::HostPathVolumeSource?
- #host_path=(host_path : Api::Core::V1::HostPathVolumeSource?)
- #iscsi : Api::Core::V1::ISCSIVolumeSource?
- #iscsi=(iscsi : Api::Core::V1::ISCSIVolumeSource?)
- #name : String
- #name=(name : String)
- #nfs : Api::Core::V1::NFSVolumeSource?
- #nfs=(nfs : Api::Core::V1::NFSVolumeSource?)
- #persistent_volume_claim : Api::Core::V1::PersistentVolumeClaimVolumeSource?
- #persistent_volume_claim=(persistent_volume_claim : Api::Core::V1::PersistentVolumeClaimVolumeSource?)
- #photon_persistent_disk : Api::Core::V1::PhotonPersistentDiskVolumeSource?
- #photon_persistent_disk=(photon_persistent_disk : Api::Core::V1::PhotonPersistentDiskVolumeSource?)
- #portworx_volume : Api::Core::V1::PortworxVolumeSource?
- #portworx_volume=(portworx_volume : Api::Core::V1::PortworxVolumeSource?)
- #projected : Api::Core::V1::ProjectedVolumeSource?
- #projected=(projected : Api::Core::V1::ProjectedVolumeSource?)
- #quobyte : Api::Core::V1::QuobyteVolumeSource?
- #quobyte=(quobyte : Api::Core::V1::QuobyteVolumeSource?)
- #rbd : Api::Core::V1::RBDVolumeSource?
- #rbd=(rbd : Api::Core::V1::RBDVolumeSource?)
- #scale_io : Api::Core::V1::ScaleIOVolumeSource?
- #scale_io=(scale_io : Api::Core::V1::ScaleIOVolumeSource?)
- #secret : Api::Core::V1::SecretVolumeSource?
- #secret=(secret : Api::Core::V1::SecretVolumeSource?)
- #storageos : Api::Core::V1::StorageOSVolumeSource?
- #storageos=(storageos : Api::Core::V1::StorageOSVolumeSource?)
- #vsphere_volume : Api::Core::V1::VsphereVirtualDiskVolumeSource?
- #vsphere_volume=(vsphere_volume : Api::Core::V1::VsphereVirtualDiskVolumeSource?)
Constructor Detail
def self.new(*, name : String, aws_elastic_block_store : Api::Core::V1::AWSElasticBlockStoreVolumeSource? = nil, azure_disk : Api::Core::V1::AzureDiskVolumeSource? = nil, azure_file : Api::Core::V1::AzureFileVolumeSource? = nil, cephfs : Api::Core::V1::CephFSVolumeSource? = nil, cinder : Api::Core::V1::CinderVolumeSource? = nil, config_map : Api::Core::V1::ConfigMapVolumeSource? = nil, csi : Api::Core::V1::CSIVolumeSource? = nil, downward_api : Api::Core::V1::DownwardAPIVolumeSource? = nil, empty_dir : Api::Core::V1::EmptyDirVolumeSource? = nil, fc : Api::Core::V1::FCVolumeSource? = nil, flex_volume : Api::Core::V1::FlexVolumeSource? = nil, flocker : Api::Core::V1::FlockerVolumeSource? = nil, gce_persistent_disk : Api::Core::V1::GCEPersistentDiskVolumeSource? = nil, git_repo : Api::Core::V1::GitRepoVolumeSource? = nil, glusterfs : Api::Core::V1::GlusterfsVolumeSource? = nil, host_path : Api::Core::V1::HostPathVolumeSource? = nil, iscsi : Api::Core::V1::ISCSIVolumeSource? = nil, nfs : Api::Core::V1::NFSVolumeSource? = nil, persistent_volume_claim : Api::Core::V1::PersistentVolumeClaimVolumeSource? = nil, photon_persistent_disk : Api::Core::V1::PhotonPersistentDiskVolumeSource? = nil, portworx_volume : Api::Core::V1::PortworxVolumeSource? = nil, projected : Api::Core::V1::ProjectedVolumeSource? = nil, quobyte : Api::Core::V1::QuobyteVolumeSource? = nil, rbd : Api::Core::V1::RBDVolumeSource? = nil, scale_io : Api::Core::V1::ScaleIOVolumeSource? = nil, secret : Api::Core::V1::SecretVolumeSource? = nil, storageos : Api::Core::V1::StorageOSVolumeSource? = nil, vsphere_volume : Api::Core::V1::VsphereVirtualDiskVolumeSource? = nil)
#
Instance Method Detail
def aws_elastic_block_store=(aws_elastic_block_store : Api::Core::V1::AWSElasticBlockStoreVolumeSource?)
#
def gce_persistent_disk=(gce_persistent_disk : Api::Core::V1::GCEPersistentDiskVolumeSource?)
#
def persistent_volume_claim=(persistent_volume_claim : Api::Core::V1::PersistentVolumeClaimVolumeSource?)
#
def photon_persistent_disk=(photon_persistent_disk : Api::Core::V1::PhotonPersistentDiskVolumeSource?)
#
def vsphere_volume=(vsphere_volume : Api::Core::V1::VsphereVirtualDiskVolumeSource?)
#