Package k8s.io.api.core.v1
Interface Generated.ResourceRequirementsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Generated.ResourceRequirements,Generated.ResourceRequirements.Builder
- Enclosing class:
- Generated
public static interface Generated.ResourceRequirementsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsLimits(String key)Limits describes the maximum amount of compute resources allowed.booleancontainsRequests(String key)Requests describes the minimum amount of compute resources required.Generated.ResourceClaimgetClaims(int index)Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container.intgetClaimsCount()Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container.List<Generated.ResourceClaim>getClaimsList()Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container.Generated.ResourceClaimOrBuildergetClaimsOrBuilder(int index)Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container.List<? extends Generated.ResourceClaimOrBuilder>getClaimsOrBuilderList()Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container.Map<String,Generated.Quantity>getLimits()Deprecated.intgetLimitsCount()Limits describes the maximum amount of compute resources allowed.Map<String,Generated.Quantity>getLimitsMap()Limits describes the maximum amount of compute resources allowed.Generated.QuantitygetLimitsOrDefault(String key, Generated.Quantity defaultValue)Limits describes the maximum amount of compute resources allowed.Generated.QuantitygetLimitsOrThrow(String key)Limits describes the maximum amount of compute resources allowed.Map<String,Generated.Quantity>getRequests()Deprecated.intgetRequestsCount()Requests describes the minimum amount of compute resources required.Map<String,Generated.Quantity>getRequestsMap()Requests describes the minimum amount of compute resources required.Generated.QuantitygetRequestsOrDefault(String key, Generated.Quantity defaultValue)Requests describes the minimum amount of compute resources required.Generated.QuantitygetRequestsOrThrow(String key)Requests describes the minimum amount of compute resources required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getLimitsCount
int getLimitsCount()
Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> limits = 1;
-
containsLimits
boolean containsLimits(String key)
Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> limits = 1;
-
getLimits
@Deprecated Map<String,Generated.Quantity> getLimits()
Deprecated.UsegetLimitsMap()instead.
-
getLimitsMap
Map<String,Generated.Quantity> getLimitsMap()
Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> limits = 1;
-
getLimitsOrDefault
Generated.Quantity getLimitsOrDefault(String key, Generated.Quantity defaultValue)
Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> limits = 1;
-
getLimitsOrThrow
Generated.Quantity getLimitsOrThrow(String key)
Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> limits = 1;
-
getRequestsCount
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. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> requests = 2;
-
containsRequests
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. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> requests = 2;
-
getRequests
@Deprecated Map<String,Generated.Quantity> getRequests()
Deprecated.UsegetRequestsMap()instead.
-
getRequestsMap
Map<String,Generated.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. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> requests = 2;
-
getRequestsOrDefault
Generated.Quantity getRequestsOrDefault(String key, Generated.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. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> requests = 2;
-
getRequestsOrThrow
Generated.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. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> requests = 2;
-
getClaimsList
List<Generated.ResourceClaim> getClaimsList()
Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. This field is immutable. It can only be set for containers. +listType=map +listMapKey=name +featureGate=DynamicResourceAllocation +optional
repeated .k8s.io.api.core.v1.ResourceClaim claims = 3;
-
getClaims
Generated.ResourceClaim getClaims(int index)
Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. This field is immutable. It can only be set for containers. +listType=map +listMapKey=name +featureGate=DynamicResourceAllocation +optional
repeated .k8s.io.api.core.v1.ResourceClaim claims = 3;
-
getClaimsCount
int getClaimsCount()
Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. This field is immutable. It can only be set for containers. +listType=map +listMapKey=name +featureGate=DynamicResourceAllocation +optional
repeated .k8s.io.api.core.v1.ResourceClaim claims = 3;
-
getClaimsOrBuilderList
List<? extends Generated.ResourceClaimOrBuilder> getClaimsOrBuilderList()
Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. This field is immutable. It can only be set for containers. +listType=map +listMapKey=name +featureGate=DynamicResourceAllocation +optional
repeated .k8s.io.api.core.v1.ResourceClaim claims = 3;
-
getClaimsOrBuilder
Generated.ResourceClaimOrBuilder getClaimsOrBuilder(int index)
Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. This field is immutable. It can only be set for containers. +listType=map +listMapKey=name +featureGate=DynamicResourceAllocation +optional
repeated .k8s.io.api.core.v1.ResourceClaim claims = 3;
-
-