Class GlusterfsPersistentVolumeSource

    • Constructor Detail

      • GlusterfsPersistentVolumeSource

        public GlusterfsPersistentVolumeSource()
        No args constructor for use in serialization
      • GlusterfsPersistentVolumeSource

        public GlusterfsPersistentVolumeSource​(String endpoints,
                                               String endpointsNamespace,
                                               String path,
                                               Boolean readOnly)
    • Method Detail

      • getEndpoints

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

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

        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
      • setEndpointsNamespace

        public void setEndpointsNamespace​(String endpointsNamespace)
        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
      • getPath

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

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

        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
      • setReadOnly

        public void setReadOnly​(Boolean readOnly)
        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
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)