Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractContainerResourceValue ¶ added in v1.7.1
func ExtractContainerResourceValue(fs *api.ResourceFieldSelector, container *api.Container) (string, error)
ExtractContainerResourceValue extracts the value of a resource in an already known container
func PodRequestsAndLimits ¶ added in v1.7.1
func PodRequestsAndLimits(pod *api.Pod) (reqs map[api.ResourceName]resource.Quantity, limits map[api.ResourceName]resource.Quantity, err error)
PodRequestsAndLimits returns a dictionary of all defined resources summed up for all containers of the pod.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.