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
- JSON::Serializable::Unmapped
- YAML::Serializable
- YAML::Serializable::Unmapped
Defined in:
versions/v1.15/api/storage/v1/volume_attachment_source.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, inline_volume_spec : Api::Core::V1::PersistentVolumeSpec? = nil, persistent_volume_name : String? = nil)
Instance Method Summary
- #inline_volume_spec : Api::Core::V1::PersistentVolumeSpec?
- #inline_volume_spec=(inline_volume_spec : Api::Core::V1::PersistentVolumeSpec?)
- #persistent_volume_name : String?
- #persistent_volume_name=(persistent_volume_name : String?)
Constructor Detail
def self.new(*, inline_volume_spec : Api::Core::V1::PersistentVolumeSpec? = nil, persistent_volume_name : String? = nil)
#