CephFSVolumeSource class
Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.
Constructors
-
CephFSVolumeSource({required List<
String> monitors, String? path, bool? readOnly, String? secretFile, LocalObjectReference? secretRef, String? user}) -
Default constructor.
const
-
CephFSVolumeSource.fromJson(Map<
String, dynamic> json) -
Creates a CephFSVolumeSource from JSON data.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
monitors
→ List<
String> -
monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it.
final
- path → String?
-
path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /.
final
- readOnly → bool?
-
readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secretFile → String?
-
secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it.
final
- secretRef → LocalObjectReference?
-
secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it.
final
- user → String?
-
user is optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/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 CephFSVolumeSource instance to JSON data.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited