struct
Kubernetes::VolumeAttachmentSpec
- Kubernetes::VolumeAttachmentSpec
- Struct
- Value
- Object
Overview
VolumeAttachmentSpec is the specification of a VolumeAttachment request.
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
-
#attacher : String | Nil
attacher indicates the name of the volume driver that MUST handle this request.
-
#attacher=(attacher : String | Nil)
attacher indicates the name of the volume driver that MUST handle this request.
-
#node_name : String | Nil
nodeName represents the node that the volume should be attached to.
-
#node_name=(node_name : String | Nil)
nodeName represents the node that the volume should be attached to.
-
#source : VolumeAttachmentSource | Nil
source represents the volume that should be attached.
-
#source=(source : VolumeAttachmentSource | Nil)
source represents the volume that should be attached.
Constructor Detail
Macro Detail
Helper macro for defining fields with automatic camelCase conversion
Instance Method Detail
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 represents the volume that should be attached.