struct Kubernetes::VolumeAttachmentSpec

Overview

VolumeAttachmentSpec is the specification of a VolumeAttachment request.

Included Modules

Defined in:

generated/models/io_k8s_api_storage_v1.cr

Constructors

Macro Summary

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

def self.new(pull : ::JSON::PullParser) #

def self.new(*, __pull_for_json_serializable pull : ::JSON::PullParser) #

def self.new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node) #

Macro Detail

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

Helper macro for defining fields with automatic camelCase conversion


Instance Method Detail

def attacher : String | Nil #

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


def attacher=(attacher : String | Nil) #

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


def node_name : String | Nil #

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


def node_name=(node_name : String | Nil) #

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


def source : VolumeAttachmentSource | Nil #

source represents the volume that should be attached.


def source=(source : VolumeAttachmentSource | Nil) #

source represents the volume that should be attached.