class K8S::Api::Core::V1::RBDVolumeSource
- K8S::Api::Core::V1::RBDVolumeSource
- Reference
- Object
Overview
Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.
Included Modules
- JSON::Serializable
- JSON::Serializable::Unmapped
- YAML::Serializable
- YAML::Serializable::Unmapped
Defined in:
versions/v1.16/api/core/v1/rbd_volume_source.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .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::LocalObjectReference? = nil, user : String? = nil)
Instance Method Summary
- #fs_type : String?
- #fs_type=(fs_type : String?)
- #image : String
- #image=(image : String)
- #keyring : String?
- #keyring=(keyring : String?)
- #monitors : Array(String)
- #monitors=(monitors : Array(String))
- #pool : String?
- #pool=(pool : String?)
- #read_only : Bool?
- #read_only=(read_only : Bool?)
- #secret_ref : Api::Core::V1::LocalObjectReference?
- #secret_ref=(secret_ref : Api::Core::V1::LocalObjectReference?)
- #user : String?
- #user=(user : String?)
Constructor Detail
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::LocalObjectReference? = nil, user : String? = nil)
#