class K8S::Api::Core::V1::VolumeMount
- K8S::Api::Core::V1::VolumeMount
- Reference
- Object
Overview
VolumeMount describes a mounting of a Volume within a container.
Included Modules
- JSON::Serializable
- JSON::Serializable::Unmapped
- YAML::Serializable
- YAML::Serializable::Unmapped
Defined in:
versions/v1.16/api/core/v1/volume_mount.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, mount_path : String, name : String, mount_propagation : String? = nil, read_only : Bool? = nil, sub_path : String? = nil, sub_path_expr : String? = nil)
Instance Method Summary
- #mount_path : String
- #mount_path=(mount_path : String)
- #mount_propagation : String?
- #mount_propagation=(mount_propagation : String?)
- #name : String
- #name=(name : String)
- #read_only : Bool?
- #read_only=(read_only : Bool?)
- #sub_path : String?
- #sub_path=(sub_path : String?)
- #sub_path_expr : String?
- #sub_path_expr=(sub_path_expr : String?)
Constructor Detail
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)
#