alias

package
v1.51.1 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2025 License: MIT Imports: 5 Imported by: 3 modules, 2 packages

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

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 kyverno 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