class K8S::Api::Core::V1::PersistentVolumeClaimTemplate
- K8S::Api::Core::V1::PersistentVolumeClaimTemplate
- Reference
- Object
Overview
PersistentVolumeClaimTemplate is used to produce PersistentVolumeClaim objects as part of an EphemeralVolumeSource.
Included Modules
- JSON::Serializable
- YAML::Serializable
Defined in:
versions/v1.21/api/core/v1/persistent_volume_claim_template.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, spec : Api::Core::V1::PersistentVolumeClaimSpec, metadata : Apimachinery::Apis::Meta::V1::ObjectMeta? = nil)
Instance Method Summary
- #metadata : Apimachinery::Apis::Meta::V1::ObjectMeta?
- #metadata=(metadata : Apimachinery::Apis::Meta::V1::ObjectMeta?)
- #spec : Api::Core::V1::PersistentVolumeClaimSpec
- #spec=(spec : Api::Core::V1::PersistentVolumeClaimSpec)
Constructor Detail
def self.new(*, spec : Api::Core::V1::PersistentVolumeClaimSpec, metadata : Apimachinery::Apis::Meta::V1::ObjectMeta? = nil)
#