RBDVolumeSource class
Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.
Constructors
-
RBDVolumeSource({String? fsType, required String image, String? keyring, required List<
String> monitors, String? pool, bool? readOnly, LocalObjectReference? secretRef, String? user}) -
Default constructor.
const
-
RBDVolumeSource.fromJson(Map<
String, dynamic> json) -
Creates a RBDVolumeSource from JSON data.
factory
Properties
- fsType → String?
-
fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- image → String
-
image is the rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it.
final
- keyring → String?
-
keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it.
final
-
monitors
→ List<
String> -
monitors is a collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it.
final
- pool → String?
-
pool is the rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it.
final
- readOnly → bool?
-
readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secretRef → LocalObjectReference?
-
secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it.
final
- user → String?
-
user is the rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object> - Converts a RBDVolumeSource instance to JSON data.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited