Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPodResourceRequest ¶ added in v0.2.0
func GetPodResourceRequest(pod *v1.Pod) v1.ResourceList
func MaximumContainersResources ¶
func MaximumContainersResources(containers []v1.Container) v1.ResourceRequirements
MaximumContainersResources iterate resources in containers list and compute a maximum one for each resource.
func SumUpContainersResources ¶
func SumUpContainersResources(containers []v1.Container) v1.ResourceRequirements
SumUpContainersResources sum up resources aggregated from containers list.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.