Uses of Class
io.fabric8.kubernetes.api.model.Quantity
-
Packages that use Quantity Package Description io.fabric8.kubernetes.api.model -
-
Uses of Quantity in io.fabric8.kubernetes.api.model
Methods in io.fabric8.kubernetes.api.model that return Quantity Modifier and Type Method Description QuantityQuantity. add(Quantity y)Add the provided quantity to the current value.QuantityQuantityBuilder. build()QuantityResourceFieldSelectorFluent. buildDivisor()QuantityEmptyDirVolumeSourceFluent. buildSizeLimit()QuantityQuantity.Deserializer. deserialize(com.fasterxml.jackson.core.JsonParser jsonParser, com.fasterxml.jackson.databind.DeserializationContext ctxt)static QuantityQuantity. fromNumericalAmount(BigDecimal amountInBytes, String desiredFormat)Constructs a new Quantity from the provided amountInBytes.QuantityResourceFieldSelector. getDivisor()ResourceFieldSelector represents container resources (cpu, memory) and their output formatQuantityEmptyDirVolumeSource. getSizeLimit()Represents an empty directory for a pod.QuantityQuantity. multiply(int multiplicand)Multiplies the quantity by the specified scalar multiplicand.static QuantityQuantity. parse(String quantityAsString)QuantityQuantity. subtract(Quantity y)Subtract the provided quantity from the current value.Methods in io.fabric8.kubernetes.api.model that return types with arguments of type Quantity Modifier and Type Method Description Map<String,Quantity>NodeStatus. getAllocatable()Allocatable represents the resources of a node that are available for scheduling.Map<String,Quantity>NodeStatusFluent. getAllocatable()Map<String,Quantity>ContainerStatus. getAllocatedResources()AllocatedResources represents the compute resources allocated for this container by the node.Map<String,Quantity>ContainerStatusFluent. getAllocatedResources()Map<String,Quantity>PersistentVolumeClaimStatus. getAllocatedResources()allocatedResources tracks the resources allocated to a PVC including its capacity.Map<String,Quantity>PersistentVolumeClaimStatusFluent. getAllocatedResources()Map<String,Quantity>NodeStatus. getCapacity()Capacity represents the total resources of a node.Map<String,Quantity>NodeStatusFluent. getCapacity()Map<String,Quantity>PersistentVolumeClaimStatus. getCapacity()capacity represents the actual resources of the underlying volume.Map<String,Quantity>PersistentVolumeClaimStatusFluent. getCapacity()Map<String,Quantity>PersistentVolumeSpec. getCapacity()capacity is the description of the persistent volume's resources and capacity.Map<String,Quantity>PersistentVolumeSpecFluent. getCapacity()Map<String,Quantity>LimitRangeItem. getDefault()Default resource requirement limit value by resource name if resource limit is omitted.Map<String,Quantity>LimitRangeItemFluent. getDefault()Map<String,Quantity>LimitRangeItem. getDefaultRequest()DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.Map<String,Quantity>LimitRangeItemFluent. getDefaultRequest()Map<String,Quantity>ResourceQuotaSpec. getHard()hard is the set of desired hard limits for each named resource.Map<String,Quantity>ResourceQuotaSpecFluent. getHard()Map<String,Quantity>ResourceQuotaStatus. getHard()Hard is the set of enforced hard limits for each named resource.Map<String,Quantity>ResourceQuotaStatusFluent. getHard()Map<String,Quantity>ResourceRequirements. getLimits()Limits describes the maximum amount of compute resources allowed.Map<String,Quantity>ResourceRequirementsFluent. getLimits()Map<String,Quantity>VolumeResourceRequirements. getLimits()Limits describes the maximum amount of compute resources allowed.Map<String,Quantity>VolumeResourceRequirementsFluent. getLimits()Map<String,Quantity>LimitRangeItem. getMax()Max usage constraints on this kind by resource name.Map<String,Quantity>LimitRangeItemFluent. getMax()Map<String,Quantity>LimitRangeItem. getMaxLimitRequestRatio()MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.Map<String,Quantity>LimitRangeItemFluent. getMaxLimitRequestRatio()Map<String,Quantity>LimitRangeItem. getMin()Min usage constraints on this kind by resource name.Map<String,Quantity>LimitRangeItemFluent. getMin()Map<String,Quantity>PodSpec. getOverhead()Overhead represents the resource overhead associated with running a pod for a given RuntimeClass.Map<String,Quantity>PodSpecFluent. getOverhead()Map<String,Quantity>ResourceRequirements. getRequests()Requests describes the minimum amount of compute resources required.Map<String,Quantity>ResourceRequirementsFluent. getRequests()Map<String,Quantity>VolumeResourceRequirements. getRequests()Requests describes the minimum amount of compute resources required.Map<String,Quantity>VolumeResourceRequirementsFluent. getRequests()Map<String,Quantity>ResourceQuotaStatus. getUsed()Used is the current observed total usage of the resource in the namespace.Map<String,Quantity>ResourceQuotaStatusFluent. getUsed()Methods in io.fabric8.kubernetes.api.model with parameters of type Quantity Modifier and Type Method Description QuantityQuantity. add(Quantity y)Add the provided quantity to the current value.ANodeStatusFluent. addToAllocatable(String key, Quantity value)AContainerStatusFluent. addToAllocatedResources(String key, Quantity value)APersistentVolumeClaimStatusFluent. addToAllocatedResources(String key, Quantity value)ANodeStatusFluent. addToCapacity(String key, Quantity value)APersistentVolumeClaimStatusFluent. addToCapacity(String key, Quantity value)APersistentVolumeSpecFluent. addToCapacity(String key, Quantity value)ALimitRangeItemFluent. addToDefault(String key, Quantity value)ALimitRangeItemFluent. addToDefaultRequest(String key, Quantity value)AResourceQuotaSpecFluent. addToHard(String key, Quantity value)AResourceQuotaStatusFluent. addToHard(String key, Quantity value)AResourceRequirementsFluent. addToLimits(String key, Quantity value)AVolumeResourceRequirementsFluent. addToLimits(String key, Quantity value)ALimitRangeItemFluent. addToMax(String key, Quantity value)ALimitRangeItemFluent. addToMaxLimitRequestRatio(String key, Quantity value)ALimitRangeItemFluent. addToMin(String key, Quantity value)APodSpecFluent. addToOverhead(String key, Quantity value)AResourceRequirementsFluent. addToRequests(String key, Quantity value)AVolumeResourceRequirementsFluent. addToRequests(String key, Quantity value)AResourceQuotaStatusFluent. addToUsed(String key, Quantity value)intQuantity. compareTo(Quantity o)Compares the numerical amounts of these quantities.protected voidQuantityFluent. copyInstance(Quantity instance)ResourceFieldSelectorFluent.DivisorNested<A>ResourceFieldSelectorFluent. editOrNewDivisorLike(Quantity item)EmptyDirVolumeSourceFluent.SizeLimitNested<A>EmptyDirVolumeSourceFluent. editOrNewSizeLimitLike(Quantity item)static BigDecimalQuantity. getAmountInBytes(Quantity quantity)If the quantity is a memory Quantity, the result will represent bytes.
If the quantity is a cpu Quantity, the result will represent cores.voidQuantity.Serializer. serialize(Quantity value, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider)voidResourceFieldSelector. setDivisor(Quantity divisor)ResourceFieldSelector represents container resources (cpu, memory) and their output formatvoidEmptyDirVolumeSource. setSizeLimit(Quantity sizeLimit)Represents an empty directory for a pod.QuantityQuantity. subtract(Quantity y)Subtract the provided quantity from the current value.AResourceFieldSelectorFluent. withDivisor(Quantity divisor)ResourceFieldSelectorFluent.DivisorNested<A>ResourceFieldSelectorFluent. withNewDivisorLike(Quantity item)EmptyDirVolumeSourceFluent.SizeLimitNested<A>EmptyDirVolumeSourceFluent. withNewSizeLimitLike(Quantity item)AEmptyDirVolumeSourceFluent. withSizeLimit(Quantity sizeLimit)Method parameters in io.fabric8.kubernetes.api.model with type arguments of type Quantity Modifier and Type Method Description ANodeStatusFluent. addToAllocatable(Map<String,Quantity> map)AContainerStatusFluent. addToAllocatedResources(Map<String,Quantity> map)APersistentVolumeClaimStatusFluent. addToAllocatedResources(Map<String,Quantity> map)ANodeStatusFluent. addToCapacity(Map<String,Quantity> map)APersistentVolumeClaimStatusFluent. addToCapacity(Map<String,Quantity> map)APersistentVolumeSpecFluent. addToCapacity(Map<String,Quantity> map)ALimitRangeItemFluent. addToDefault(Map<String,Quantity> map)ALimitRangeItemFluent. addToDefaultRequest(Map<String,Quantity> map)AResourceQuotaSpecFluent. addToHard(Map<String,Quantity> map)AResourceQuotaStatusFluent. addToHard(Map<String,Quantity> map)AResourceRequirementsFluent. addToLimits(Map<String,Quantity> map)AVolumeResourceRequirementsFluent. addToLimits(Map<String,Quantity> map)ALimitRangeItemFluent. addToMax(Map<String,Quantity> map)ALimitRangeItemFluent. addToMaxLimitRequestRatio(Map<String,Quantity> map)ALimitRangeItemFluent. addToMin(Map<String,Quantity> map)APodSpecFluent. addToOverhead(Map<String,Quantity> map)AResourceRequirementsFluent. addToRequests(Map<String,Quantity> map)AVolumeResourceRequirementsFluent. addToRequests(Map<String,Quantity> map)AResourceQuotaStatusFluent. addToUsed(Map<String,Quantity> map)ANodeStatusFluent. removeFromAllocatable(Map<String,Quantity> map)AContainerStatusFluent. removeFromAllocatedResources(Map<String,Quantity> map)APersistentVolumeClaimStatusFluent. removeFromAllocatedResources(Map<String,Quantity> map)ANodeStatusFluent. removeFromCapacity(Map<String,Quantity> map)APersistentVolumeClaimStatusFluent. removeFromCapacity(Map<String,Quantity> map)APersistentVolumeSpecFluent. removeFromCapacity(Map<String,Quantity> map)ALimitRangeItemFluent. removeFromDefault(Map<String,Quantity> map)ALimitRangeItemFluent. removeFromDefaultRequest(Map<String,Quantity> map)AResourceQuotaSpecFluent. removeFromHard(Map<String,Quantity> map)AResourceQuotaStatusFluent. removeFromHard(Map<String,Quantity> map)AResourceRequirementsFluent. removeFromLimits(Map<String,Quantity> map)AVolumeResourceRequirementsFluent. removeFromLimits(Map<String,Quantity> map)ALimitRangeItemFluent. removeFromMax(Map<String,Quantity> map)ALimitRangeItemFluent. removeFromMaxLimitRequestRatio(Map<String,Quantity> map)ALimitRangeItemFluent. removeFromMin(Map<String,Quantity> map)APodSpecFluent. removeFromOverhead(Map<String,Quantity> map)AResourceRequirementsFluent. removeFromRequests(Map<String,Quantity> map)AVolumeResourceRequirementsFluent. removeFromRequests(Map<String,Quantity> map)AResourceQuotaStatusFluent. removeFromUsed(Map<String,Quantity> map)voidNodeStatus. setAllocatable(Map<String,Quantity> allocatable)Allocatable represents the resources of a node that are available for scheduling.voidContainerStatus. setAllocatedResources(Map<String,Quantity> allocatedResources)AllocatedResources represents the compute resources allocated for this container by the node.voidPersistentVolumeClaimStatus. setAllocatedResources(Map<String,Quantity> allocatedResources)allocatedResources tracks the resources allocated to a PVC including its capacity.voidNodeStatus. setCapacity(Map<String,Quantity> capacity)Capacity represents the total resources of a node.voidPersistentVolumeClaimStatus. setCapacity(Map<String,Quantity> capacity)capacity represents the actual resources of the underlying volume.voidPersistentVolumeSpec. setCapacity(Map<String,Quantity> capacity)capacity is the description of the persistent volume's resources and capacity.voidLimitRangeItem. setDefault(Map<String,Quantity> _default)Default resource requirement limit value by resource name if resource limit is omitted.voidLimitRangeItem. setDefaultRequest(Map<String,Quantity> defaultRequest)DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.voidResourceQuotaSpec. setHard(Map<String,Quantity> hard)hard is the set of desired hard limits for each named resource.voidResourceQuotaStatus. setHard(Map<String,Quantity> hard)Hard is the set of enforced hard limits for each named resource.voidResourceRequirements. setLimits(Map<String,Quantity> limits)Limits describes the maximum amount of compute resources allowed.voidVolumeResourceRequirements. setLimits(Map<String,Quantity> limits)Limits describes the maximum amount of compute resources allowed.voidLimitRangeItem. setMax(Map<String,Quantity> max)Max usage constraints on this kind by resource name.voidLimitRangeItem. setMaxLimitRequestRatio(Map<String,Quantity> maxLimitRequestRatio)MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.voidLimitRangeItem. setMin(Map<String,Quantity> min)Min usage constraints on this kind by resource name.voidPodSpec. setOverhead(Map<String,Quantity> overhead)Overhead represents the resource overhead associated with running a pod for a given RuntimeClass.voidResourceRequirements. setRequests(Map<String,Quantity> requests)Requests describes the minimum amount of compute resources required.voidVolumeResourceRequirements. setRequests(Map<String,Quantity> requests)Requests describes the minimum amount of compute resources required.voidResourceQuotaStatus. setUsed(Map<String,Quantity> used)Used is the current observed total usage of the resource in the namespace.<K,V>
ANodeStatusFluent. withAllocatable(Map<String,Quantity> allocatable)<K,V>
AContainerStatusFluent. withAllocatedResources(Map<String,Quantity> allocatedResources)<K,V>
APersistentVolumeClaimStatusFluent. withAllocatedResources(Map<String,Quantity> allocatedResources)<K,V>
ANodeStatusFluent. withCapacity(Map<String,Quantity> capacity)<K,V>
APersistentVolumeClaimStatusFluent. withCapacity(Map<String,Quantity> capacity)<K,V>
APersistentVolumeSpecFluent. withCapacity(Map<String,Quantity> capacity)<K,V>
ALimitRangeItemFluent. withDefault(Map<String,Quantity> _default)<K,V>
ALimitRangeItemFluent. withDefaultRequest(Map<String,Quantity> defaultRequest)<K,V>
AResourceQuotaSpecFluent. withHard(Map<String,Quantity> hard)<K,V>
AResourceQuotaStatusFluent. withHard(Map<String,Quantity> hard)<K,V>
AResourceRequirementsFluent. withLimits(Map<String,Quantity> limits)<K,V>
AVolumeResourceRequirementsFluent. withLimits(Map<String,Quantity> limits)<K,V>
ALimitRangeItemFluent. withMax(Map<String,Quantity> max)<K,V>
ALimitRangeItemFluent. withMaxLimitRequestRatio(Map<String,Quantity> maxLimitRequestRatio)<K,V>
ALimitRangeItemFluent. withMin(Map<String,Quantity> min)<K,V>
APodSpecFluent. withOverhead(Map<String,Quantity> overhead)<K,V>
AResourceRequirementsFluent. withRequests(Map<String,Quantity> requests)<K,V>
AVolumeResourceRequirementsFluent. withRequests(Map<String,Quantity> requests)<K,V>
AResourceQuotaStatusFluent. withUsed(Map<String,Quantity> used)Constructors in io.fabric8.kubernetes.api.model with parameters of type Quantity Constructor Description EmptyDirVolumeSource(String medium, Quantity sizeLimit)QuantityBuilder(Quantity instance)QuantityBuilder(QuantityFluent<?> fluent, Quantity instance)QuantityFluent(Quantity instance)ResourceFieldSelector(String containerName, Quantity divisor, String resource)
-