Documentation ¶
Index ¶
- func GetDefaultResourceRequirements() core.ResourceRequirements
- func GetDefaultSizeCPURAM() string
- func GetDefaultSizeVol() string
- func GetDefaultVolCapacity() string
- func GetResourceRequirementsForSize(tShirtSize string) core.ResourceRequirements
- func GetVolCapacityForSize(size string) string
- func IsSizeLarger(capacityA string, capacityB string) bool
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 GetResourceRequirementsForSize ¶
func GetResourceRequirementsForSize(tShirtSize string) core.ResourceRequirements
Get resource requirements - request and limits - for a given size
func GetVolCapacityForSize ¶
For a givin vol size get the capacity. Providing "" gets the default.
func IsSizeLarger ¶
Accepts 2 sizes. Returns true if first size is larger than second
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.