class Pyrite::Api::Storage::V1beta1::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.

Defined in:

versions/v1.14/api/storage/v1beta1/volume_attachment_source.cr

Constructors

Instance Method Summary

Constructor methods inherited from class Pyrite::Kubernetes::Spec

new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
new(pull : JSON::PullParser)
new

Constructor Detail

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

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.


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

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.


def self.new(*, persistent_volume_name : String? = nil) #

Instance Method Detail

def persistent_volume_name : String? #

def persistent_volume_name=(persistent_volume_name : String?) #