sizing

package
v0.80.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDefaultResourceRequirements

func GetDefaultResourceRequirements() core.ResourceRequirements

Get default resource requirement requests and limits

func GetDefaultSizeCPURAM

func GetDefaultSizeCPURAM() string

Gets the default size for CPU and RAM

func GetDefaultSizeVol

func GetDefaultSizeVol() string

Gets the default vol size

func GetDefaultVolCapacity

func GetDefaultVolCapacity() string

Get the default volume capacity

func GetResourceRequirementsForSize

func GetResourceRequirementsForSize(tShirtSize string) core.ResourceRequirements

Get resource requirements - request and limits - for a given size

func GetVolCapacityForSize

func GetVolCapacityForSize(size string) string

For a givin vol size get the capacity. Providing "" gets the default.

func IsSizeLarger

func IsSizeLarger(capacityA string, capacityB string) bool

Accepts 2 sizes. Returns true if first size is larger than second

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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