final case class ResourceSlice(driverName: String, nodeName: Option[String] = None, namedResources: Option[NamedResourcesResources] = None, metadata: Option[ObjectMeta] = None) extends KObject with Product with Serializable

ResourceSlice provides information about available resources on individual nodes.

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

Instance Constructors

  1. new ResourceSlice(driverName: String, nodeName: Option[String] = None, namedResources: Option[NamedResourcesResources] = 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
    ResourceSliceKObject
  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( ... ) @native() @HotSpotIntrinsicCandidate()
  8. val driverName: String
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def foldTo[T](implicit arg0: Builder[T]): T
    Definition Classes
    ResourceSliceKObject
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. final def group: String
    Definition Classes
    KObject
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final lazy val kind: String
    Definition Classes
    KObject
  15. def mapDriverName(f: (String) ⇒ String): ResourceSlice

    transforms driverName to result of function

  16. def mapMetadata(f: (ObjectMeta) ⇒ ObjectMeta): ResourceSlice

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

  17. def mapNamedResources(f: (NamedResourcesResources) ⇒ NamedResourcesResources): ResourceSlice

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

  18. def mapNodeName(f: (String) ⇒ String): ResourceSlice

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

  19. val metadata: Option[ObjectMeta]
  20. val namedResources: Option[NamedResourcesResources]
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. val nodeName: Option[String]
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  26. final lazy val version: String
    Definition Classes
    KObject
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. def withDriverName(value: String): ResourceSlice

    Returns a new data with driverName set to new value

  31. def withMetadata(value: ObjectMeta): ResourceSlice

    Returns a new data with metadata set to new value

  32. def withNamedResources(value: NamedResourcesResources): ResourceSlice

    Returns a new data with namedResources set to new value

  33. def withNodeName(value: String): ResourceSlice

    Returns a new data with nodeName set to new value

Deprecated Value Members

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

Inherited from KObject

Inherited from Product

Inherited from Equals

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped