class K8S::Api::Core::V1::Volume

Overview

Volume represents a named volume in a pod that may be accessed by any container in the pod.

Included Modules

Defined in:

versions/v1.22/api/core/v1/volume.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
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, ephemeral : Api::Core::V1::EphemeralVolumeSource? = 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) #

[View source]

Instance Method Detail

def aws_elastic_block_store : Api::Core::V1::AWSElasticBlockStoreVolumeSource? #

[View source]
def aws_elastic_block_store=(aws_elastic_block_store : Api::Core::V1::AWSElasticBlockStoreVolumeSource?) #

[View source]

[View source]
def azure_disk=(azure_disk : Api::Core::V1::AzureDiskVolumeSource?) #

[View source]

[View source]
def azure_file=(azure_file : Api::Core::V1::AzureFileVolumeSource?) #

[View source]

[View source]
def cephfs=(cephfs : Api::Core::V1::CephFSVolumeSource?) #

[View source]

[View source]
def cinder=(cinder : Api::Core::V1::CinderVolumeSource?) #

[View source]

[View source]
def config_map=(config_map : Api::Core::V1::ConfigMapVolumeSource?) #

[View source]

[View source]

[View source]

[View source]
def downward_api=(downward_api : Api::Core::V1::DownwardAPIVolumeSource?) #

[View source]

[View source]
def empty_dir=(empty_dir : Api::Core::V1::EmptyDirVolumeSource?) #

[View source]

[View source]
def ephemeral=(ephemeral : Api::Core::V1::EphemeralVolumeSource?) #

[View source]

[View source]

[View source]
def flex_volume : Api::Core::V1::FlexVolumeSource? #

[View source]
def flex_volume=(flex_volume : Api::Core::V1::FlexVolumeSource?) #

[View source]

[View source]
def flocker=(flocker : Api::Core::V1::FlockerVolumeSource?) #

[View source]
def gce_persistent_disk : Api::Core::V1::GCEPersistentDiskVolumeSource? #

[View source]
def gce_persistent_disk=(gce_persistent_disk : Api::Core::V1::GCEPersistentDiskVolumeSource?) #

[View source]

[View source]
def git_repo=(git_repo : Api::Core::V1::GitRepoVolumeSource?) #

[View source]

[View source]
def glusterfs=(glusterfs : Api::Core::V1::GlusterfsVolumeSource?) #

[View source]

[View source]
def host_path=(host_path : Api::Core::V1::HostPathVolumeSource?) #

[View source]

[View source]
def iscsi=(iscsi : Api::Core::V1::ISCSIVolumeSource?) #

[View source]
def name : String #

[View source]
def name=(name : String) #

[View source]

[View source]

[View source]
def persistent_volume_claim : Api::Core::V1::PersistentVolumeClaimVolumeSource? #

[View source]
def persistent_volume_claim=(persistent_volume_claim : Api::Core::V1::PersistentVolumeClaimVolumeSource?) #

[View source]
def photon_persistent_disk : Api::Core::V1::PhotonPersistentDiskVolumeSource? #

[View source]
def photon_persistent_disk=(photon_persistent_disk : Api::Core::V1::PhotonPersistentDiskVolumeSource?) #

[View source]
def portworx_volume : Api::Core::V1::PortworxVolumeSource? #

[View source]
def portworx_volume=(portworx_volume : Api::Core::V1::PortworxVolumeSource?) #

[View source]

[View source]
def projected=(projected : Api::Core::V1::ProjectedVolumeSource?) #

[View source]

[View source]
def quobyte=(quobyte : Api::Core::V1::QuobyteVolumeSource?) #

[View source]

[View source]

[View source]

[View source]
def scale_io=(scale_io : Api::Core::V1::ScaleIOVolumeSource?) #

[View source]

[View source]
def secret=(secret : Api::Core::V1::SecretVolumeSource?) #

[View source]

[View source]
def storageos=(storageos : Api::Core::V1::StorageOSVolumeSource?) #

[View source]

[View source]
def vsphere_volume=(vsphere_volume : Api::Core::V1::VsphereVirtualDiskVolumeSource?) #

[View source]