com.coralogix.zio.k8s.model.core.v1
GlusterfsVolumeSource
Companion object GlusterfsVolumeSource
case class GlusterfsVolumeSource(endpoints: String, path: String, readOnly: Optional[Boolean] = Optional.Absent) extends Product with Serializable
Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.
- endpoints
EndpointsName is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
- path
Path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
- 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
- Alphabetic
- By Inheritance
- GlusterfsVolumeSource
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
GlusterfsVolumeSource(endpoints: String, path: String, readOnly: Optional[Boolean] = Optional.Absent)
- endpoints
EndpointsName is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
- path
Path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
- 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
Value Members
- val endpoints: String
-
def
getEndpoints: IO[K8sFailure, String]
EndpointsName is the endpoint name that details Glusterfs topology.
EndpointsName is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
This effect always succeeds, it is safe to use the field endpoints directly.
-
def
getPath: IO[K8sFailure, String]
Path is the Glusterfs volume path.
Path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
This effect always succeeds, it is safe to use the field path directly.
-
def
getReadOnly: IO[K8sFailure, Boolean]
ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions.
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
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
- val path: String
- val readOnly: Optional[Boolean]