struct
Kubernetes::VolumeAttachmentSource
- Kubernetes::VolumeAttachmentSource
- Struct
- Value
- Object
Overview
VolumeAttachmentSource represents a volume that should be attached. Right now only PersistentVolumes can be attached via external attacher, in the future we may allow also inline volumes in pods. Exactly one member can be set.
Included Modules
- JSON::Serializable
- Kubernetes::Serializable
- YAML::Serializable
Defined in:
generated/models/io_k8s_api_storage_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
-
#inline_volume_spec : PersistentVolumeSpec | Nil
inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource.
-
#inline_volume_spec=(inline_volume_spec : PersistentVolumeSpec | Nil)
inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource.
-
#persistent_volume_name : String | Nil
persistentVolumeName represents the name of the persistent volume to attach.
-
#persistent_volume_name=(persistent_volume_name : String | Nil)
persistentVolumeName represents the name of the persistent volume to attach.
Constructor Detail
Macro Detail
Helper macro for defining fields with automatic camelCase conversion
Instance Method Detail
inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is beta-level and is only honored by servers that enabled the CSIMigration feature.
inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is beta-level and is only honored by servers that enabled the CSIMigration feature.
persistentVolumeName represents the name of the persistent volume to attach.
persistentVolumeName represents the name of the persistent volume to attach.