class K8S::Api::Core::V1::CinderVolumeSource
- K8S::Api::Core::V1::CinderVolumeSource
- Reference
- Object
Overview
Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.
Included Modules
- JSON::Serializable
- JSON::Serializable::Unmapped
- YAML::Serializable
- YAML::Serializable::Unmapped
Defined in:
versions/v1.15/api/core/v1/cinder_volume_source.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, volume_id : String, fs_type : String? = nil, read_only : Bool? = nil, secret_ref : Api::Core::V1::LocalObjectReference? = nil)
Instance Method Summary
- #fs_type : String?
- #fs_type=(fs_type : String?)
- #read_only : Bool?
- #read_only=(read_only : Bool?)
- #secret_ref : Api::Core::V1::LocalObjectReference?
- #secret_ref=(secret_ref : Api::Core::V1::LocalObjectReference?)
- #volume_id : String
- #volume_id=(volume_id : String)
Constructor Detail
def self.new(*, volume_id : String, fs_type : String? = nil, read_only : Bool? = nil, secret_ref : Api::Core::V1::LocalObjectReference? = nil)
#