class K8S::Api::Core::V1::PersistentVolumeClaimSpec

Overview

PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes

Included Modules

Defined in:

versions/v1.20/api/core/v1/persistent_volume_claim_spec.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(*, access_modes : Array? = nil, data_source : Api::Core::V1::TypedLocalObjectReference? = nil, resources : Api::Core::V1::ResourceRequirements? = nil, selector : Apimachinery::Apis::Meta::V1::LabelSelector? = nil, storage_class_name : String? = nil, volume_mode : String? = nil, volume_name : String? = nil) #

[View source]

Instance Method Detail

def access_modes : Array(String)? #

[View source]
def access_modes=(access_modes : Array(String)?) #

[View source]

[View source]
def data_source=(data_source : Api::Core::V1::TypedLocalObjectReference?) #

[View source]

[View source]
def resources=(resources : Api::Core::V1::ResourceRequirements?) #

[View source]

[View source]
def selector=(selector : Apimachinery::Apis::Meta::V1::LabelSelector?) #

[View source]
def storage_class_name : String? #

[View source]
def storage_class_name=(storage_class_name : String?) #

[View source]
def volume_mode : String? #

[View source]
def volume_mode=(volume_mode : String?) #

[View source]
def volume_name : String? #

[View source]
def volume_name=(volume_name : String?) #

[View source]