class K8S::Api::Core::V1::PersistentVolumeClaimSpec
- K8S::Api::Core::V1::PersistentVolumeClaimSpec
- Reference
- Object
Overview
PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes
Included Modules
- JSON::Serializable
- JSON::Serializable::Unmapped
- YAML::Serializable
- YAML::Serializable::Unmapped
Defined in:
versions/v1.13/api/core/v1/persistent_volume_claim_spec.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, access_modes : Array(String)? = 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)
Instance Method Summary
- #access_modes : Array(String)?
- #access_modes=(access_modes : Array(String)?)
- #data_source : Api::Core::V1::TypedLocalObjectReference?
- #data_source=(data_source : Api::Core::V1::TypedLocalObjectReference?)
- #resources : Api::Core::V1::ResourceRequirements?
- #resources=(resources : Api::Core::V1::ResourceRequirements?)
- #selector : Apimachinery::Apis::Meta::V1::LabelSelector?
- #selector=(selector : Apimachinery::Apis::Meta::V1::LabelSelector?)
- #storage_class_name : String?
- #storage_class_name=(storage_class_name : String?)
- #volume_mode : String?
- #volume_mode=(volume_mode : String?)
- #volume_name : String?
- #volume_name=(volume_name : String?)
Constructor Detail
def self.new(*, access_modes : Array(String)? = 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)
#