Packages

case class RuntimeClass(metadata: Optional[ObjectMeta] = Optional.Absent, spec: RuntimeClassSpec) extends Product with Serializable

RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are (currently) manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://git.k8s.io/enhancements/keps/sig-node/585-runtime-class

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RuntimeClass
  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 RuntimeClass(metadata: Optional[ObjectMeta] = Optional.Absent, spec: RuntimeClassSpec)

Value Members

  1. def getMetadata: IO[K8sFailure, ObjectMeta]

    Gets metadata.

    Gets metadata.

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

  2. def getSpec: IO[K8sFailure, RuntimeClassSpec]

    Gets spec.

    Gets spec.

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

  3. val metadata: Optional[ObjectMeta]
  4. val spec: RuntimeClassSpec