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().
attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().
nodeName represents the node that the volume should be attached to.
source=(source : VolumeAttachmentSource | Nil)
source represents the volume that should be attached.
Macros
field(name, type = nil, **options, &block)
Helper macro for defining fields with automatic camelCase conversion