LimitRangeItem

io.k8s.api.core.v1.LimitRangeItem
See theLimitRangeItem companion object
final case class LimitRangeItem(`type`: String, defaultRequest: Option[Map[String, Quantity]], min: Option[Map[String, Quantity]], maxLimitRequestRatio: Option[Map[String, Quantity]], max: Option[Map[String, Quantity]], default: Option[Map[String, Quantity]])

LimitRangeItem defines a min/max usage limit for any resource that matches on kind.

Attributes

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

Members list

Value members

Concrete methods

def addDefault(newValues: (String, Quantity)*): LimitRangeItem

Adds new values to default

Adds new values to default

Attributes

Source
LimitRangeItem.scala
def addDefaultRequest(newValues: (String, Quantity)*): LimitRangeItem

Adds new values to defaultRequest

Adds new values to defaultRequest

Attributes

Source
LimitRangeItem.scala
def addMax(newValues: (String, Quantity)*): LimitRangeItem

Adds new values to max

Adds new values to max

Attributes

Source
LimitRangeItem.scala
def addMaxLimitRequestRatio(newValues: (String, Quantity)*): LimitRangeItem

Adds new values to maxLimitRequestRatio

Adds new values to maxLimitRequestRatio

Attributes

Source
LimitRangeItem.scala
def addMin(newValues: (String, Quantity)*): LimitRangeItem

Adds new values to min

Adds new values to min

Attributes

Source
LimitRangeItem.scala
def mapDefault(f: (Map[String, Quantity]) => Map[String, Quantity]): LimitRangeItem

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

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

Attributes

Source
LimitRangeItem.scala
def mapDefaultRequest(f: (Map[String, Quantity]) => Map[String, Quantity]): LimitRangeItem

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

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

Attributes

Source
LimitRangeItem.scala
def mapMax(f: (Map[String, Quantity]) => Map[String, Quantity]): LimitRangeItem

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

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

Attributes

Source
LimitRangeItem.scala
def mapMaxLimitRequestRatio(f: (Map[String, Quantity]) => Map[String, Quantity]): LimitRangeItem

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

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

Attributes

Source
LimitRangeItem.scala
def mapMin(f: (Map[String, Quantity]) => Map[String, Quantity]): LimitRangeItem

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

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

Attributes

Source
LimitRangeItem.scala
def mapType(f: String => String): LimitRangeItem

transforms type to result of function

transforms type to result of function

Attributes

Source
LimitRangeItem.scala
def withDefault(value: Map[String, Quantity]): LimitRangeItem

Returns a new data with default set to new value

Returns a new data with default set to new value

Attributes

Source
LimitRangeItem.scala
def withDefaultRequest(value: Map[String, Quantity]): LimitRangeItem

Returns a new data with defaultRequest set to new value

Returns a new data with defaultRequest set to new value

Attributes

Source
LimitRangeItem.scala
def withMax(value: Map[String, Quantity]): LimitRangeItem

Returns a new data with max set to new value

Returns a new data with max set to new value

Attributes

Source
LimitRangeItem.scala

Returns a new data with maxLimitRequestRatio set to new value

Returns a new data with maxLimitRequestRatio set to new value

Attributes

Source
LimitRangeItem.scala
def withMin(value: Map[String, Quantity]): LimitRangeItem

Returns a new data with min set to new value

Returns a new data with min set to new value

Attributes

Source
LimitRangeItem.scala
def withType(value: String): LimitRangeItem

Returns a new data with type set to new value

Returns a new data with type set to new value

Attributes

Source
LimitRangeItem.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product