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

Defined in:

versions/v1.14/api/core/v1/rbd_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 Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.


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

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


def self.new(*, fs_type : String? = nil, image : String, keyring : String? = nil, monitors : Array, pool : String? = nil, read_only : Bool? = nil, secret_ref : Api::Core::V1::SecretReference? = nil, user : String? = nil) #

Instance Method Detail

def fs_type : String? #

def fs_type=(fs_type : String?) #

def image : String #

def image=(image : String) #

def keyring : String? #

def keyring=(keyring : String?) #

def monitors : Array(String) #

def monitors=(monitors : Array(String)) #

def pool : String? #

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

def user=(user : String?) #