ResourceHandle

io.k8s.api.resource.v1alpha2.ResourceHandle
See theResourceHandle companion object
final case class ResourceHandle(data: Option[String], driverName: Option[String])

ResourceHandle holds opaque resource data for processing by a specific kubelet plugin.

Attributes

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

Members list

Value members

Concrete methods

def mapData(f: String => String): ResourceHandle

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

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

Attributes

Source
ResourceHandle.scala
def mapDriverName(f: String => String): ResourceHandle

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

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

Attributes

Source
ResourceHandle.scala
def withData(value: String): ResourceHandle

Returns a new data with data set to new value

Returns a new data with data set to new value

Attributes

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

Returns a new data with driverName set to new value

Returns a new data with driverName set to new value

Attributes

Source
ResourceHandle.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product