final case class LimitRangeItem(type: String, defaultRequest: Option[Map[String, Quantity]] = None, min: Option[Map[String, Quantity]] = None, maxLimitRequestRatio: Option[Map[String, Quantity]] = None, max: Option[Map[String, Quantity]] = None, default: Option[Map[String, Quantity]] = None) extends Product with Serializable
LimitRangeItem defines a min/max usage limit for any resource that matches on kind.
- Source
- LimitRangeItem.scala
- Alphabetic
- By Inheritance
- LimitRangeItem
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
addDefault(newValues: (String, Quantity)*): LimitRangeItem
Adds new values to default
-
def
addDefaultRequest(newValues: (String, Quantity)*): LimitRangeItem
Adds new values to defaultRequest
-
def
addMax(newValues: (String, Quantity)*): LimitRangeItem
Adds new values to max
-
def
addMaxLimitRequestRatio(newValues: (String, Quantity)*): LimitRangeItem
Adds new values to maxLimitRequestRatio
-
def
addMin(newValues: (String, Quantity)*): LimitRangeItem
Adds new values to min
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
- val default: Option[Map[String, Quantity]]
- val defaultRequest: Option[Map[String, Quantity]]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
mapDefault(f: (Map[String, Quantity]) ⇒ Map[String, Quantity]): LimitRangeItem
if default has a value, transforms to the result of function
-
def
mapDefaultRequest(f: (Map[String, Quantity]) ⇒ Map[String, Quantity]): LimitRangeItem
if defaultRequest has a value, transforms to the result of function
-
def
mapMax(f: (Map[String, Quantity]) ⇒ Map[String, Quantity]): LimitRangeItem
if max has a value, transforms to the result of function
-
def
mapMaxLimitRequestRatio(f: (Map[String, Quantity]) ⇒ Map[String, Quantity]): LimitRangeItem
if maxLimitRequestRatio has a value, transforms to the result of function
-
def
mapMin(f: (Map[String, Quantity]) ⇒ Map[String, Quantity]): LimitRangeItem
if min has a value, transforms to the result of function
-
def
mapType(f: (String) ⇒ String): LimitRangeItem
transforms
type
to result of function - val max: Option[Map[String, Quantity]]
- val maxLimitRequestRatio: Option[Map[String, Quantity]]
- val min: Option[Map[String, Quantity]]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val type: String
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
withDefault(value: Map[String, Quantity]): LimitRangeItem
Returns a new data with default set to new value
-
def
withDefaultRequest(value: Map[String, Quantity]): LimitRangeItem
Returns a new data with defaultRequest set to new value
-
def
withMax(value: Map[String, Quantity]): LimitRangeItem
Returns a new data with max set to new value
-
def
withMaxLimitRequestRatio(value: Map[String, Quantity]): LimitRangeItem
Returns a new data with maxLimitRequestRatio set to new value
-
def
withMin(value: Map[String, Quantity]): LimitRangeItem
Returns a new data with min set to new value
-
def
withType(value: String): LimitRangeItem
Returns a new data with
type
set to new value