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})
-
Default constructor.
const
-
GlusterfsVolumeSource.fromJson(Map<
String, dynamic> json) -
Creates a GlusterfsVolumeSource from JSON data.
factory
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