Class V1GlusterfsPersistentVolumeSource
java.lang.Object
io.kubernetes.client.openapi.models.V1GlusterfsPersistentVolumeSource
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-06-18T15:05:57.863601Z[Etc/UTC]")
public class V1GlusterfsPersistentVolumeSource
extends Object
Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionendpointsNamespace
(String endpointsNamespace) boolean
endpoints is the endpoint name that details Glusterfs topology.endpointsNamespace is the namespace that contains Glusterfs endpoint.getPath()
path is the Glusterfs volume path.readOnly here will force the Glusterfs volume to be mounted with read-only permissions.int
hashCode()
void
setEndpoints
(String endpoints) void
setEndpointsNamespace
(String endpointsNamespace) void
void
setReadOnly
(Boolean readOnly) toString()
-
Field Details
-
SERIALIZED_NAME_ENDPOINTS
- See Also:
-
SERIALIZED_NAME_ENDPOINTS_NAMESPACE
- See Also:
-
SERIALIZED_NAME_PATH
- See Also:
-
SERIALIZED_NAME_READ_ONLY
- See Also:
-
-
Constructor Details
-
V1GlusterfsPersistentVolumeSource
public V1GlusterfsPersistentVolumeSource()
-
-
Method Details
-
endpoints
-
getEndpoints
endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod- Returns:
- endpoints
-
setEndpoints
-
endpointsNamespace
-
getEndpointsNamespace
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- Returns:
- endpointsNamespace
-
setEndpointsNamespace
-
path
-
getPath
path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod- Returns:
- path
-
setPath
-
readOnly
-
getReadOnly
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- Returns:
- readOnly
-
setReadOnly
-
equals
-
hashCode
public int hashCode() -
toString
-