alias

package
v1.27.9 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: MIT Imports: 5 Imported by: 1

Documentation

Index

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

func ConvertAnnotations(annotations map[string]string) *map[string]*string

ConvertAnnotations converts a map[string]string to a *map[string]*string

func ConvertLabels

func ConvertLabels(labels []string) (*map[string]*string, error)

func EnvVarStr

func EnvVarStr(k, v string) *k8s.EnvVar

EnvVarStr quick shortcut for string/string key/value var

func ShortDur

func ShortDur(d time.Duration) *string

ShortDur is a helper method for kube-janitor duration format

Types

This section is empty.

Jump to

Keyboard shortcuts

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