package
4.0.0+incompatible
Repository: https://github.com/phenixblue/client-go.git
Documentation: pkg.go.dev
# Functions
ExtractContainerResourceValue extracts the value of a resource in an already known container.
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.
finds and returns the request for a specific resource.
MergeContainerResourceLimits checks if a limit is applied for the container, and if not, it sets the limit to the passed resource list.
PodRequestsAndLimits returns a dictionary of all defined resources summed up for all containers of the pod.