util

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains(slice []string, s string) bool

Method to check if a string exists in a slice

func GetCPUAndMemoryFromAnnotation

func GetCPUAndMemoryFromAnnotation(annotations map[string]string) (int64, int64)

Method to get vCPU and memory from annotations

func GetInstanceTypeFromAnnotation

func GetInstanceTypeFromAnnotation(annotations map[string]string) string

Method to get instance type from annotation

func GetPodName

func GetPodName(annotations map[string]string) string

func GetPodNamespace

func GetPodNamespace(annotations map[string]string) string

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