alias

package
v0.33.0 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2023 License: MIT Imports: 5 Imported by: 2 modules, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 added in v0.32.9

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 Num

func Num(value float64) *float64

func ShortDur

func ShortDur(d time.Duration) *string

ShortDur is a helper method for kube-janitor duration format

func Str

func Str(value string) *string

Types

This section is empty.

Jump to

Keyboard shortcuts

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