class Pyrite::Api::Core::V1::CSIVolumeSource

Overview

Represents a source location of a volume to mount, managed by an external CSI driver

Defined in:

versions/v1.14/api/core/v1/csi_volume_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) #

Represents a source location of a volume to mount, managed by an external CSI driver


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

Represents a source location of a volume to mount, managed by an external CSI driver


def self.new(*, driver : String, fs_type : String? = nil, node_publish_secret_ref : Api::Core::V1::LocalObjectReference? = nil, read_only : Bool? = nil, volume_attributes : Hash(String, String)? = nil) #

Instance Method Detail

def driver : String #

def driver=(driver : String) #

def fs_type : String? #

def fs_type=(fs_type : String?) #

def node_publish_secret_ref : Api::Core::V1::LocalObjectReference? #

def node_publish_secret_ref=(node_publish_secret_ref : Api::Core::V1::LocalObjectReference?) #

def read_only : Bool? #

def read_only=(read_only : Bool?) #

def volume_attributes : Hash(String, String)? #

def volume_attributes=(volume_attributes : Hash(String, String)?) #