class K8S::Api::Core::V1::CinderPersistentVolumeSource

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

Defined in:

versions/v1.11/api/core/v1/cinder_persistent_volume_source.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(*, volume_id : String, fs_type : String? = nil, read_only : Bool? = nil, secret_ref : Api::Core::V1::SecretReference? = nil) #

[View source]

Instance Method Detail

def fs_type : String? #

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

[View source]
def read_only : Bool? #

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

[View source]
def secret_ref : Api::Core::V1::SecretReference? #

[View source]
def secret_ref=(secret_ref : Api::Core::V1::SecretReference?) #

[View source]
def volume_id : String #

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

[View source]