class Pyrite::Api::Core::V1::VolumeMount

Overview

VolumeMount describes a mounting of a Volume within a container.

Defined in:

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

VolumeMount describes a mounting of a Volume within a container.


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

VolumeMount describes a mounting of a Volume within a container.


def self.new(*, mount_path : String, mount_propagation : String? = nil, name : String, read_only : Bool? = nil, sub_path : String? = nil, sub_path_expr : String? = nil) #

Instance Method Detail

def mount_path : String #

def mount_path=(mount_path : String) #

def mount_propagation : String? #

def mount_propagation=(mount_propagation : String?) #

def name : String #

def name=(name : String) #

def read_only : Bool? #

def read_only=(read_only : Bool?) #

def sub_path : String? #

def sub_path=(sub_path : String?) #

def sub_path_expr : String? #

def sub_path_expr=(sub_path_expr : String?) #