class K8S::Api::Storage::V1::VolumeAttachmentSource
- K8S::Api::Storage::V1::VolumeAttachmentSource
- Reference
- Object
Overview
VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set.
Included Modules
- JSON::Serializable
- YAML::Serializable
Defined in:
versions/v1.13/api/storage/v1/volume_attachment_source.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, persistent_volume_name : String? = nil)