CapacityRequestPolicyRange

io.k8s.api.resource.v1.CapacityRequestPolicyRange
See theCapacityRequestPolicyRange companion object

CapacityRequestPolicyRange defines a valid range for consumable capacity values.

  • If the requested amount is less than Min, it is rounded up to the Min value.

  • If Step is set and the requested amount is between Min and Max but not aligned with Step, it will be rounded up to the next value equal to Min + (n * Step).

  • If Step is not set, the requested amount is used as-is if it falls within the range Min to Max (if set).

  • If the requested or rounded amount exceeds Max (if set), the request does not satisfy the policy, and the device cannot be allocated.

Attributes

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

Members list

Value members

Concrete methods

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

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

Attributes

Source
CapacityRequestPolicyRange.scala

transforms min to result of function

transforms min to result of function

Attributes

Source
CapacityRequestPolicyRange.scala

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

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

Attributes

Source
CapacityRequestPolicyRange.scala

Returns a new data with max set to new value

Returns a new data with max set to new value

Attributes

Source
CapacityRequestPolicyRange.scala

Returns a new data with min set to new value

Returns a new data with min set to new value

Attributes

Source
CapacityRequestPolicyRange.scala

Returns a new data with step set to new value

Returns a new data with step set to new value

Attributes

Source
CapacityRequestPolicyRange.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product