Documentation ¶
Index ¶
- func ContainerResources(reqCPU, reqMEM, limCPU, limMEM string) *k8s.ResourceRequirements
- func ConvertAnnotations(annotations map[string]string) *map[string]*string
- func ConvertLabels(labels []string) (*map[string]*string, error)
- func EnvVarStr(k, v string) *k8s.EnvVar
- func Num(value float64) *float64
- func ShortDur(d time.Duration) *string
- func Str(value string) *string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainerResources ¶
func ContainerResources(reqCPU, reqMEM, limCPU, limMEM string) *k8s.ResourceRequirements
ContainerResources container resource requirements
func ConvertAnnotations ¶
ConvertAnnotations converts a map[string]string to a *map[string]*string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.