struct
Kubernetes::PersistentVolumeClaimVolumeSource
- Kubernetes::PersistentVolumeClaimVolumeSource
- Struct
- Value
- Object
Overview
PersistentVolumeClaimVolumeSource references the user's PVC in the same namespace. This volume finds the bound PV and mounts that volume for the pod. A PersistentVolumeClaimVolumeSource is, essentially, a wrapper around another type of volume that is owned by someone else (the system).
Included Modules
- JSON::Serializable
- Kubernetes::Serializable
- YAML::Serializable
Defined in:
generated/models/io_k8s_api_core_v1.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : ::JSON::PullParser)
- .new(*, __pull_for_json_serializable pull : ::JSON::PullParser)
- .new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Macro Summary
-
field(name, type = nil, **options, &block)
Helper macro for defining fields with automatic camelCase conversion
Instance Method Summary
-
#claim_name : String | Nil
claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume.
-
#claim_name=(claim_name : String | Nil)
claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume.
-
#read_only : Bool | Nil
readOnly Will force the ReadOnly setting in VolumeMounts.
-
#read_only=(read_only : Bool | Nil)
readOnly Will force the ReadOnly setting in VolumeMounts.
Constructor Detail
Macro Detail
Helper macro for defining fields with automatic camelCase conversion
Instance Method Detail
claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
readOnly Will force the ReadOnly setting in VolumeMounts. Default false.
readOnly Will force the ReadOnly setting in VolumeMounts. Default false.