case class RuntimeClassStrategyOptions(allowedRuntimeClassNames: Vector[String], defaultRuntimeClassName: Optional[String] = Optional.Absent) extends Product with Serializable

RuntimeClassStrategyOptions define the strategy that will dictate the allowable RuntimeClasses for a pod.

allowedRuntimeClassNames

allowedRuntimeClassNames is an allowlist of RuntimeClass names that may be specified on a pod. A value of "*" means that any RuntimeClass name is allowed, and must be the only item in the list. An empty list requires the RuntimeClassName field to be unset.

defaultRuntimeClassName

defaultRuntimeClassName is the default RuntimeClassName to set on the pod. The default MUST be allowed by the allowedRuntimeClassNames list. A value of nil does not mutate the Pod.

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RuntimeClassStrategyOptions
  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 RuntimeClassStrategyOptions(allowedRuntimeClassNames: Vector[String], defaultRuntimeClassName: Optional[String] = Optional.Absent)

    allowedRuntimeClassNames

    allowedRuntimeClassNames is an allowlist of RuntimeClass names that may be specified on a pod. A value of "*" means that any RuntimeClass name is allowed, and must be the only item in the list. An empty list requires the RuntimeClassName field to be unset.

    defaultRuntimeClassName

    defaultRuntimeClassName is the default RuntimeClassName to set on the pod. The default MUST be allowed by the allowedRuntimeClassNames list. A value of nil does not mutate the Pod.

Value Members

  1. val allowedRuntimeClassNames: Vector[String]
  2. val defaultRuntimeClassName: Optional[String]
  3. def getAllowedRuntimeClassNames: IO[K8sFailure, Vector[String]]

    allowedRuntimeClassNames is an allowlist of RuntimeClass names that may be specified on a pod.

    allowedRuntimeClassNames is an allowlist of RuntimeClass names that may be specified on a pod. A value of "*" means that any RuntimeClass name is allowed, and must be the only item in the list. An empty list requires the RuntimeClassName field to be unset.

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

  4. def getDefaultRuntimeClassName: IO[K8sFailure, String]

    defaultRuntimeClassName is the default RuntimeClassName to set on the pod.

    defaultRuntimeClassName is the default RuntimeClassName to set on the pod. The default MUST be allowed by the allowedRuntimeClassNames list. A value of nil does not mutate the Pod.

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