case class HostPathVolumeSource(path: String, type: Optional[String] = Optional.Absent) extends Product with Serializable
Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling.
- path
Path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
- type
Type for HostPath Volume Defaults to "" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
- Alphabetic
- By Inheritance
- HostPathVolumeSource
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
HostPathVolumeSource(path: String, type: Optional[String] = Optional.Absent)
- path
Path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
- type
Type for HostPath Volume Defaults to "" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
Value Members
-
def
getPath: IO[K8sFailure, String]
Path of the directory on the host.
Path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
This effect always succeeds, it is safe to use the field path directly.
-
def
getType: IO[K8sFailure, String]
Type for HostPath Volume Defaults to "" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
Type for HostPath Volume Defaults to "" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
- val path: String
- val type: Optional[String]