ResourceQuotaSpec

io.k8s.api.core.v1.ResourceQuotaSpec
See theResourceQuotaSpec companion object
final case class ResourceQuotaSpec(hard: Option[Map[String, Quantity]], scopeSelector: Option[ScopeSelector], scopes: Option[Seq[String]])

ResourceQuotaSpec defines the desired hard limits to enforce for Quota.

Attributes

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

Members list

Value members

Concrete methods

def addHard(newValues: (String, Quantity)*): ResourceQuotaSpec

Adds new values to hard

Adds new values to hard

Attributes

Source
ResourceQuotaSpec.scala
def addScopes(newValues: String*): ResourceQuotaSpec

Appends new values to scopes

Appends new values to scopes

Attributes

Source
ResourceQuotaSpec.scala

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

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

Attributes

Source
ResourceQuotaSpec.scala

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

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

Attributes

Source
ResourceQuotaSpec.scala

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

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

Attributes

Source
ResourceQuotaSpec.scala

Returns a new data with hard set to new value

Returns a new data with hard set to new value

Attributes

Source
ResourceQuotaSpec.scala

Returns a new data with scopeSelector set to new value

Returns a new data with scopeSelector set to new value

Attributes

Source
ResourceQuotaSpec.scala

Returns a new data with scopes set to new value

Returns a new data with scopes set to new value

Attributes

Source
ResourceQuotaSpec.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product