ResourceSlice

io.k8s.api.resource.v1alpha2.ResourceSlice
See theResourceSlice companion object
final case class ResourceSlice(driverName: String, nodeName: Option[String], namedResources: Option[NamedResourcesResources], metadata: Option[ObjectMeta]) extends KObject

ResourceSlice provides information about available resources on individual nodes.

Attributes

Companion
object
Source
ResourceSlice.scala
Graph
Supertypes
trait KObject
trait Product
trait Equals
trait Serializable
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def foldTo[T : Builder]: T

Attributes

Definition Classes
Source
ResourceSlice.scala
def mapDriverName(f: String => String): ResourceSlice

transforms driverName to result of function

transforms driverName to result of function

Attributes

Source
ResourceSlice.scala

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

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

Attributes

Source
ResourceSlice.scala

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

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

Attributes

Source
ResourceSlice.scala
def mapNodeName(f: String => String): ResourceSlice

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

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

Attributes

Source
ResourceSlice.scala
def withDriverName(value: String): ResourceSlice

Returns a new data with driverName set to new value

Returns a new data with driverName set to new value

Attributes

Source
ResourceSlice.scala

Returns a new data with metadata set to new value

Returns a new data with metadata set to new value

Attributes

Source
ResourceSlice.scala

Returns a new data with namedResources set to new value

Returns a new data with namedResources set to new value

Attributes

Source
ResourceSlice.scala
def withNodeName(value: String): ResourceSlice

Returns a new data with nodeName set to new value

Returns a new data with nodeName set to new value

Attributes

Source
ResourceSlice.scala

Inherited methods

final def group: String

Attributes

Inherited from:
KObject
Source
ResourceKind.scala
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Inherited fields

final lazy val apiVersion: String

Attributes

Inherited from:
KObject
Source
ResourceKind.scala
final lazy val kind: String

Attributes

Inherited from:
KObject
Source
ResourceKind.scala
final lazy val version: String

Attributes

Inherited from:
KObject
Source
ResourceKind.scala