package
0.0.0-20170824060325-cf23810f2098
Repository: https://github.com/sttts/kubernetes.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.