Packages

case class VolumeMount(mountPath: String, mountPropagation: Optional[String] = Optional.Absent, name: String, readOnly: Optional[Boolean] = Optional.Absent, subPath: Optional[String] = Optional.Absent, subPathExpr: Optional[String] = Optional.Absent) extends Product with Serializable

VolumeMount describes a mounting of a Volume within a container.

mountPath

Path within the container at which the volume should be mounted. Must not contain ':'.

mountPropagation

mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10.

name

This must match the Name of a Volume.

readOnly

Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.

subPath

Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root).

subPathExpr

Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to SubPath but environment variable references $$(VAR_NAME) are expanded using the container's environment. Defaults to "" (volume's root). SubPathExpr and SubPath are mutually exclusive.

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. VolumeMount
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new VolumeMount(mountPath: String, mountPropagation: Optional[String] = Optional.Absent, name: String, readOnly: Optional[Boolean] = Optional.Absent, subPath: Optional[String] = Optional.Absent, subPathExpr: Optional[String] = Optional.Absent)

    mountPath

    Path within the container at which the volume should be mounted. Must not contain ':'.

    mountPropagation

    mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10.

    name

    This must match the Name of a Volume.

    readOnly

    Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.

    subPath

    Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root).

    subPathExpr

    Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to SubPath but environment variable references $$(VAR_NAME) are expanded using the container's environment. Defaults to "" (volume's root). SubPathExpr and SubPath are mutually exclusive.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  8. def getMountPath: IO[K8sFailure, String]

    Path within the container at which the volume should be mounted.

    Path within the container at which the volume should be mounted. Must not contain ':'.

    This effect always succeeds, it is safe to use the field mountPath directly.

  9. def getMountPropagation: IO[K8sFailure, String]

    mountPropagation determines how mounts are propagated from the host to container and the other way around.

    mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10.

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  10. def getName: IO[K8sFailure, String]

    This must match the Name of a Volume.

    This must match the Name of a Volume.

    This effect always succeeds, it is safe to use the field name directly.

  11. def getReadOnly: IO[K8sFailure, Boolean]

    Mounted read-only if true, read-write otherwise (false or unspecified).

    Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  12. def getSubPath: IO[K8sFailure, String]

    Path within the volume from which the container's volume should be mounted.

    Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root).

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  13. def getSubPathExpr: IO[K8sFailure, String]

    Expanded path within the volume from which the container's volume should be mounted.

    Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to SubPath but environment variable references $$(VAR_NAME) are expanded using the container's environment. Defaults to "" (volume's root). SubPathExpr and SubPath are mutually exclusive.

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. val mountPath: String
  16. val mountPropagation: Optional[String]
  17. val name: String
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. val readOnly: Optional[Boolean]
  22. val subPath: Optional[String]
  23. val subPathExpr: Optional[String]
  24. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped