# 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.