case class NFSVolumeSource(path: String, readOnly: Optional[Boolean] = Optional.Absent, server: String) extends Product with Serializable
Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling.
- path
Path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
- readOnly
ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
- server
Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
- Alphabetic
- By Inheritance
- NFSVolumeSource
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
NFSVolumeSource(path: String, readOnly: Optional[Boolean] = Optional.Absent, server: String)
- path
Path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
- readOnly
ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
- server
Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
Value Members
-
def
getPath: IO[K8sFailure, String]
Path that is exported by the NFS server.
Path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
This effect always succeeds, it is safe to use the field path directly.
-
def
getReadOnly: IO[K8sFailure, Boolean]
ReadOnly here will force the NFS export to be mounted with read-only permissions.
ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getServer: IO[K8sFailure, String]
Server is the hostname or IP address of the NFS server.
Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
This effect always succeeds, it is safe to use the field server directly.
- val path: String
- val readOnly: Optional[Boolean]
- val server: String