public static interface V1.ResourceRequirementsOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsLimits(String key)
Limits describes the maximum amount of compute resources allowed.
|
boolean |
containsRequests(String key)
Requests describes the minimum amount of compute resources required.
|
Map<String,Resource.Quantity> |
getLimits()
Deprecated.
|
int |
getLimitsCount()
Limits describes the maximum amount of compute resources allowed.
|
Map<String,Resource.Quantity> |
getLimitsMap()
Limits describes the maximum amount of compute resources allowed.
|
Resource.Quantity |
getLimitsOrDefault(String key,
Resource.Quantity defaultValue)
Limits describes the maximum amount of compute resources allowed.
|
Resource.Quantity |
getLimitsOrThrow(String key)
Limits describes the maximum amount of compute resources allowed.
|
Map<String,Resource.Quantity> |
getRequests()
Deprecated.
|
int |
getRequestsCount()
Requests describes the minimum amount of compute resources required.
|
Map<String,Resource.Quantity> |
getRequestsMap()
Requests describes the minimum amount of compute resources required.
|
Resource.Quantity |
getRequestsOrDefault(String key,
Resource.Quantity defaultValue)
Requests describes the minimum amount of compute resources required.
|
Resource.Quantity |
getRequestsOrThrow(String key)
Requests describes the minimum amount of compute resources required.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofint getLimitsCount()
Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> limits = 1;boolean containsLimits(String key)
Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> limits = 1;@Deprecated Map<String,Resource.Quantity> getLimits()
getLimitsMap() instead.Map<String,Resource.Quantity> getLimitsMap()
Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> limits = 1;Resource.Quantity getLimitsOrDefault(String key, Resource.Quantity defaultValue)
Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> limits = 1;Resource.Quantity getLimitsOrThrow(String key)
Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> limits = 1;int getRequestsCount()
Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> requests = 2;boolean containsRequests(String key)
Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> requests = 2;@Deprecated Map<String,Resource.Quantity> getRequests()
getRequestsMap() instead.Map<String,Resource.Quantity> getRequestsMap()
Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> requests = 2;Resource.Quantity getRequestsOrDefault(String key, Resource.Quantity defaultValue)
Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> requests = 2;Resource.Quantity getRequestsOrThrow(String key)
Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> requests = 2;Copyright © 2019. All rights reserved.