GlusterfsVolumeSource class

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

Constructors

GlusterfsVolumeSource({required String endpoints, required String path, bool? readOnly})
The main constructor.
const
GlusterfsVolumeSource.fromJson(Map<String, dynamic> json)
Creates a GlusterfsVolumeSource from JSON data.

Properties

endpoints String
Endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod.
final
hashCode int
The hash code for this object.
no setterinherited
path String
Path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod.
final
readOnly bool?
ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object>
Converts a GlusterfsVolumeSource 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<GlusterfsVolumeSource>
Creates a list of GlusterfsVolumeSource from JSON data.