Interface V1.NodeResourcesOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
V1.NodeResources, V1.NodeResources.Builder
Enclosing class:
V1

public static interface V1.NodeResourcesOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getCapacityCount

      int getCapacityCount()
       Capacity represents the available resources of a node
       
      map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> capacity = 1;
    • containsCapacity

      boolean containsCapacity(String key)
       Capacity represents the available resources of a node
       
      map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> capacity = 1;
    • getCapacity

      Deprecated.
      Use getCapacityMap() instead.
    • getCapacityMap

      Map<String,Resource.Quantity> getCapacityMap()
       Capacity represents the available resources of a node
       
      map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> capacity = 1;
    • getCapacityOrDefault

      Resource.Quantity getCapacityOrDefault(String key, Resource.Quantity defaultValue)
       Capacity represents the available resources of a node
       
      map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> capacity = 1;
    • getCapacityOrThrow

      Resource.Quantity getCapacityOrThrow(String key)
       Capacity represents the available resources of a node
       
      map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> capacity = 1;