class Pyrite::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.

Defined in:

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

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.


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

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.


def self.new(*, fs_type : String? = nil, read_only : Bool? = nil, secret_ref : Api::Core::V1::SecretReference? = nil, volume_id : String) #

Instance Method Detail

def fs_type : String? #

def fs_type=(fs_type : String?) #

def read_only : Bool? #

def read_only=(read_only : Bool?) #

def secret_ref : Api::Core::V1::SecretReference? #

def secret_ref=(secret_ref : Api::Core::V1::SecretReference?) #

def volume_id : String #

def volume_id=(volume_id : String) #