class K8S::Api::Core::V1::RBDPersistentVolumeSource

Overview

Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.

Included Modules

Defined in:

versions/v1.11/api/core/v1/rbd_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(*, image : String, monitors : Array(String), fs_type : String? = nil, keyring : String? = nil, pool : String? = nil, read_only : Bool? = nil, secret_ref : Api::Core::V1::SecretReference? = nil, user : String? = nil) #

[View source]

Instance Method Detail

def fs_type : String? #

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

[View source]
def image : String #

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

[View source]
def keyring : String? #

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

[View source]
def monitors : Array(String) #

[View source]
def monitors=(monitors : Array(String)) #

[View source]
def pool : String? #

[View source]
def pool=(pool : 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 user : String? #

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

[View source]