Interface Generated.ResourceRequirementsOrBuilder

    • 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;
      • 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;
      • 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;