key

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// LegacyConfigVersion should be set when the config for the app should not
	// be generated.
	LegacyConfigVersion = "0.0.0"
)

Variables

This section is empty.

Functions

func IsWrongType

func IsWrongType(err error) bool

func RemoveAnnotation

func RemoveAnnotation(annotations map[string]string, key string) map[string]string

func ToAppCR

func ToAppCR(v interface{}) (v1alpha1.App, error)

func TryVersionToTag

func TryVersionToTag(version string) string

TryVersionToTag translates config version: "<major>.x.x" to tagReference: "v<major>" if possible. Otherwise returns empty string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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