class K8S::Api::Core::V1::CinderPersistentVolumeSource
- K8S::Api::Core::V1::CinderPersistentVolumeSource
- 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
- YAML::Serializable
Defined in:
versions/v1.11/api/core/v1/cinder_persistent_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::SecretReference? = 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::SecretReference?
- #secret_ref=(secret_ref : Api::Core::V1::SecretReference?)
- #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::SecretReference? = nil)
#