CounterSet

io.k8s.api.resource.v1beta1.CounterSet
See theCounterSet companion object
final case class CounterSet(counters: Map[String, Counter], name: String)

CounterSet defines a named set of counters that are available to be used by devices defined in the ResourceSlice.

The counters are not allocatable by themselves, but can be referenced by devices. When a device is allocated, the portion of counters it uses will no longer be available for use by other devices.

Attributes

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

Members list

Value members

Concrete methods

Adds new values to counters

Adds new values to counters

Attributes

Source
CounterSet.scala

transforms counters to result of function

transforms counters to result of function

Attributes

Source
CounterSet.scala

transforms name to result of function

transforms name to result of function

Attributes

Source
CounterSet.scala

Returns a new data with counters set to new value

Returns a new data with counters set to new value

Attributes

Source
CounterSet.scala

Returns a new data with name set to new value

Returns a new data with name set to new value

Attributes

Source
CounterSet.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product