class K8S::Api::Storage::V1::VolumeAttachmentSource

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

Defined in:

versions/v1.18/api/storage/v1/volume_attachment_source.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
def self.new(*, inline_volume_spec : Api::Core::V1::PersistentVolumeSpec? = nil, persistent_volume_name : String? = nil) #

[View source]

Instance Method Detail

def inline_volume_spec : Api::Core::V1::PersistentVolumeSpec? #

[View source]
def inline_volume_spec=(inline_volume_spec : Api::Core::V1::PersistentVolumeSpec?) #

[View source]
def persistent_volume_name : String? #

[View source]
def persistent_volume_name=(persistent_volume_name : String?) #

[View source]