Class GlusterfsPersistentVolumeSource

  • All Implemented Interfaces:
    com.marcnuri.yakc.model.Model

    public class GlusterfsPersistentVolumeSource
    extends java.lang.Object
    implements com.marcnuri.yakc.model.Model
    Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.
    • Constructor Detail

      • GlusterfsPersistentVolumeSource

        public GlusterfsPersistentVolumeSource​(@NonNull
                                               @NonNull java.lang.String endpoints,
                                               java.lang.String endpointsNamespace,
                                               @NonNull
                                               @NonNull java.lang.String path,
                                               java.lang.Boolean readOnly)
      • GlusterfsPersistentVolumeSource

        public GlusterfsPersistentVolumeSource()
    • Method Detail

      • getEndpoints

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

        public java.lang.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
      • getPath

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

        public java.lang.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
      • setEndpoints

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

        public void setEndpointsNamespace​(java.lang.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
      • setPath

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

        public void setReadOnly​(java.lang.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
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object