# Functions
ConvertFromCoreV1ResourceList convert the kubernetes core resource list to common resource list.
ConvertToCoreV1ResourceList convert the resource list in tke to kubernetes core resource list.
IsExtendedResourceName returns true if: 1.
IsIntegerResourceName returns true if the resource is measured in integer values.
IsNativeResource returns true if the resource name is in the *kubernetes.io/ namespace.
IsQuotaHugePageResourceName returns true if the resource name has the quota related huge page resource prefix.
IsStandardQuotaResourceName returns true if the resource is known to the quota tracking system.
IsStandardResourceName returns true if the resource is known to the system.
ValidateAllocatableResources is used to verify whether the resource quota to be allocated meets the total resource quota minus the condition of the used resource.
ValidateNonnegativeQuantity that a Quantity is not negative.
ValidateResourceQuantityValue enforces that specified quantity is valid for specified resource.
ValidateResourceQuotaResourceName resource names that can go in a resource quota Refer to docs/design/resources.md for more details.
ValidateUpdateResource is used to verify that the adjusted quota when updating the resource quota cannot be less than the used one.
# Constants
No description provided by the author
ConfigMaps, number.
CPU, in cores.
DefaultNamespacePrefix namespace prefix.
Default resource requests prefix.
Local ephemeral storage, in bytes.
HugePagesPrefix is huge pages prefix.
CPU limit, in cores.
Local ephemeral storage limit, in bytes.
Memory limit, in bytes.
Memory, in bytes.
PersistentVolumeClaims, number.
Pods, number.
No description provided by the author
Quotas, number.
ReplicationControllers, number.
CPU request, in cores.
Local ephemeral storage request, in bytes.
RequestsHugePagesPrefix request, in bytes.
Memory request, in bytes.
Storage request, in bytes.
Secrets, number.
Services, number.
ServicesLoadBalancers, number.
ServicesNodePorts, number.
Volume size, in bytes (e,g.
No description provided by the author
# Type aliases
Name is the name identifying various resources in a ResourceList.