Class IoK8sApiCoreV1GlusterfsPersistentVolumeSource


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]")
    public class IoK8sApiCoreV1GlusterfsPersistentVolumeSource
    extends Object
    Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.
    • Constructor Detail

      • IoK8sApiCoreV1GlusterfsPersistentVolumeSource

        public IoK8sApiCoreV1GlusterfsPersistentVolumeSource()
    • Method Detail

      • getEndpoints

        public String getEndpoints()
        EndpointsName is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
        Returns:
        endpoints
      • setEndpoints

        public void setEndpoints​(String endpoints)
      • getEndpointsNamespace

        @Nullable
        public String 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

        public void setEndpointsNamespace​(String endpointsNamespace)
      • getPath

        public String getPath()
        Path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
        Returns:
        path
      • setPath

        public void setPath​(String path)
      • getReadOnly

        @Nullable
        public Boolean 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

        public void setReadOnly​(Boolean readOnly)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object