class K8S::Api::Core::V1::VolumeMount

Overview

VolumeMount describes a mounting of a Volume within a container.

Included Modules

Defined in:

versions/v1.19/api/core/v1/volume_mount.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(*, mount_path : String, name : String, mount_propagation : String? = nil, read_only : Bool? = nil, sub_path : String? = nil, sub_path_expr : String? = nil) #

[View source]

Instance Method Detail

def mount_path : String #

[View source]
def mount_path=(mount_path : String) #

[View source]
def mount_propagation : String? #

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

[View source]
def name : String #

[View source]
def name=(name : String) #

[View source]
def read_only : Bool? #

[View source]
def read_only=(read_only : Bool?) #

[View source]
def sub_path : String? #

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

[View source]
def sub_path_expr : String? #

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

[View source]