CephFSPersistentVolumeSource class

Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.

Constructors

CephFSPersistentVolumeSource({required List<String> monitors, String? path, bool? readOnly, String? secretFile, SecretReference? secretRef, String? user})
The main constructor.
const
CephFSPersistentVolumeSource.fromJson(Map<String, dynamic> json)
Creates a CephFSPersistentVolumeSource from JSON data.

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 SecretReference?
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 CephFSPersistentVolumeSource instance to JSON data.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

listFromJson(Iterable<Map<String, dynamic>> list) List<CephFSPersistentVolumeSource>
Creates a list of CephFSPersistentVolumeSource from JSON data.