GlusterfsPersistentVolumeSource class
Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.
Constructors
- GlusterfsPersistentVolumeSource({required String endpoints, String? endpointsNamespace, required String path, bool? readOnly})
-
Default constructor.
const
-
GlusterfsPersistentVolumeSource.fromJson(Map<
String, dynamic> json) -
Creates a GlusterfsPersistentVolumeSource 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
- endpointsNamespace → String?
-
endpointsNamespace is the namespace that contains Glusterfs endpoint. If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC. 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 GlusterfsPersistentVolumeSource instance to JSON data.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited