quota

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 5, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL