Package io.fabric8.kubernetes.api.model
Class GlusterfsVolumeSource
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.GlusterfsVolumeSource
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<GlusterfsVolumeSourceBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class GlusterfsVolumeSource extends Object implements io.fabric8.kubernetes.api.builder.Editable<GlusterfsVolumeSourceBuilder>, KubernetesResource
Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GlusterfsVolumeSource()No args constructor for use in serializationGlusterfsVolumeSource(String endpoints, String path, Boolean readOnly)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GlusterfsVolumeSourceBuilderedit()Map<String,Object>getAdditionalProperties()StringgetEndpoints()endpoints is the endpoint name that details Glusterfs topology.StringgetPath()path is the Glusterfs volume path.BooleangetReadOnly()readOnly here will force the Glusterfs volume to be mounted with read-only permissions.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetEndpoints(String endpoints)endpoints is the endpoint name that details Glusterfs topology.voidsetPath(String path)path is the Glusterfs volume path.voidsetReadOnly(Boolean readOnly)readOnly here will force the Glusterfs volume to be mounted with read-only permissions.GlusterfsVolumeSourceBuildertoBuilder()
-
-
-
Method Detail
-
getEndpoints
public String getEndpoints()
endpoints is the endpoint name that details Glusterfs topology.
-
setEndpoints
public void setEndpoints(String endpoints)
endpoints is the endpoint name that details Glusterfs topology.
-
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
-
edit
public GlusterfsVolumeSourceBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<GlusterfsVolumeSourceBuilder>
-
toBuilder
public GlusterfsVolumeSourceBuilder toBuilder()
-
-