Packages

final case class RuntimeClass(handler: String, scheduling: Option[Scheduling] = None, overhead: Option[Overhead] = None, metadata: Option[ObjectMeta] = None) extends KObject with 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 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://kubernetes.io/docs/concepts/containers/runtime-class/

Source
RuntimeClass.scala
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RuntimeClass
  2. KObject
  3. Product
  4. Equals
  5. Serializable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new RuntimeClass(handler: String, scheduling: Option[Scheduling] = None, overhead: Option[Overhead] = None, metadata: Option[ObjectMeta] = None)

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. val _resourceKind: ResourceKind
    Attributes
    protected
    Definition Classes
    RuntimeClassKObject
  5. final lazy val apiVersion: String
    Definition Classes
    KObject
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  10. def foldTo[T](implicit arg0: Builder[T]): T
    Definition Classes
    RuntimeClassKObject
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. final def group: String
    Definition Classes
    KObject
  13. val handler: String
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final lazy val kind: String
    Definition Classes
    KObject
  16. def mapHandler(f: (String) => String): RuntimeClass

    transforms handler to result of function

  17. def mapMetadata(f: (ObjectMeta) => ObjectMeta): RuntimeClass

    if metadata has a value, transforms to the result of function

  18. def mapOverhead(f: (Overhead) => Overhead): RuntimeClass

    if overhead has a value, transforms to the result of function

  19. def mapScheduling(f: (Scheduling) => Scheduling): RuntimeClass

    if scheduling has a value, transforms to the result of function

  20. val metadata: Option[ObjectMeta]
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. val overhead: Option[Overhead]
  25. def productElementNames: Iterator[String]
    Definition Classes
    Product
  26. val scheduling: Option[Scheduling]
  27. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  28. final lazy val version: String
    Definition Classes
    KObject
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  32. def withHandler(value: String): RuntimeClass

    Returns a new data with handler set to new value

  33. def withMetadata(value: ObjectMeta): RuntimeClass

    Returns a new data with metadata set to new value

  34. def withOverhead(value: Overhead): RuntimeClass

    Returns a new data with overhead set to new value

  35. def withScheduling(value: Scheduling): RuntimeClass

    Returns a new data with scheduling set to new value

Inherited from KObject

Inherited from Product

Inherited from Equals

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped