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
- Alphabetic
- By Inheritance
- RuntimeClass
- KObject
- Product
- Equals
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new RuntimeClass(handler: String, scheduling: Option[Scheduling] = None, overhead: Option[Overhead] = None, metadata: Option[ObjectMeta] = None)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
val
_resourceKind: ResourceKind
- Attributes
- protected
- Definition Classes
- RuntimeClass → KObject
-
final
lazy val
apiVersion: String
- Definition Classes
- KObject
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
foldTo[T](implicit arg0: Builder[T]): T
- Definition Classes
- RuntimeClass → KObject
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
group: String
- Definition Classes
- KObject
- val handler: String
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
lazy val
kind: String
- Definition Classes
- KObject
-
def
mapHandler(f: (String) ⇒ String): RuntimeClass
transforms handler to result of function
-
def
mapMetadata(f: (ObjectMeta) ⇒ ObjectMeta): RuntimeClass
if metadata has a value, transforms to the result of function
-
def
mapOverhead(f: (Overhead) ⇒ Overhead): RuntimeClass
if overhead has a value, transforms to the result of function
-
def
mapScheduling(f: (Scheduling) ⇒ Scheduling): RuntimeClass
if scheduling has a value, transforms to the result of function
- val metadata: Option[ObjectMeta]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val overhead: Option[Overhead]
- val scheduling: Option[Scheduling]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
lazy val
version: String
- Definition Classes
- KObject
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
withHandler(value: String): RuntimeClass
Returns a new data with handler set to new value
-
def
withMetadata(value: ObjectMeta): RuntimeClass
Returns a new data with metadata set to new value
-
def
withOverhead(value: Overhead): RuntimeClass
Returns a new data with overhead set to new value
-
def
withScheduling(value: Scheduling): RuntimeClass
Returns a new data with scheduling set to new value