package
1.7.0-alpha.1
Repository: https://github.com/aliyuncontainerservice/kubernetes.git
Documentation: pkg.go.dev

# Functions

ExtractContainerResourceValue extracts the value of a resource in an already known container.
ExtractFieldPathAsString extracts the field from the given object and returns it as a string.
TODO: move the functions below to pkg/api/util/resources ExtractResourceValueByContainerName extracts the value of a resource by providing container name.
ExtractResourceValueByContainerNameAndNodeAllocatable extracts the value of a resource by providing container name and node allocatable.
FormatMap formats map[string]string to a string.
TODO: remove this duplicate InternalExtractContainerResourceValue extracts the value of a resource in an already known container.
MergeContainerResourceLimits checks if a limit is applied for the container, and if not, it sets the limit to the passed resource list.