struct

Kubernetes::VolumeAttachmentSpec

Inherits YAML::Serializable < JSON::Serializable < Kubernetes::Serializable < Struct < Value < Object

VolumeAttachmentSpec is the specification of a VolumeAttachment request.

Constructors

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)

Instance methods

attacher

attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().

Source
attacher=(attacher : String | Nil)

attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().

Source
node_name

nodeName represents the node that the volume should be attached to.

Source
node_name=(node_name : String | Nil)

nodeName represents the node that the volume should be attached to.

Source
source

source represents the volume that should be attached.

Source
source=(source : VolumeAttachmentSource | Nil)

source represents the volume that should be attached.

Source

Macros

field(name, type = nil, **options, &block)

Helper macro for defining fields with automatic camelCase conversion

Source