public static interface V1.NodeResourcesOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsCapacity(String key)
Capacity represents the available resources of a node
|
Map<String,Resource.Quantity> |
getCapacity()
Deprecated.
|
int |
getCapacityCount()
Capacity represents the available resources of a node
|
Map<String,Resource.Quantity> |
getCapacityMap()
Capacity represents the available resources of a node
|
Resource.Quantity |
getCapacityOrDefault(String key,
Resource.Quantity defaultValue)
Capacity represents the available resources of a node
|
Resource.Quantity |
getCapacityOrThrow(String key)
Capacity represents the available resources of a node
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofint getCapacityCount()
Capacity represents the available resources of a node
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> capacity = 1;boolean containsCapacity(String key)
Capacity represents the available resources of a node
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> capacity = 1;@Deprecated Map<String,Resource.Quantity> getCapacity()
getCapacityMap() instead.Map<String,Resource.Quantity> getCapacityMap()
Capacity represents the available resources of a node
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> capacity = 1;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;Resource.Quantity getCapacityOrThrow(String key)
Capacity represents the available resources of a node
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> capacity = 1;Copyright © 2018. All rights reserved.