key

package
v0.10.8 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ForceHelmUpgradeAnnotationName is the name of the annotation that
	// controls whether force is used when upgrading the Helm release.
	ForceHelmUpgradeAnnotationName = "chart-operator.giantswarm.io/force-helm-upgrade"

	// ValuesMD5ChecksumAnnotationName is the name of the annotation storing
	// an MD5 checksum of the Helm release values.
	ValuesMD5ChecksumAnnotationName = "chart-operator.giantswarm.io/values-md5-checksum"
)

Variables

This section is empty.

Functions

func ChartStatus

func ChartStatus(customResource v1alpha1.Chart) v1alpha1.ChartStatus

func ConfigMapName

func ConfigMapName(customResource v1alpha1.Chart) string

func ConfigMapNamespace

func ConfigMapNamespace(customResource v1alpha1.Chart) string

func CordonReason

func CordonReason(customResource v1alpha1.Chart) string

func CordonUntil

func CordonUntil(customResource v1alpha1.Chart) string

func HasForceUpgradeAnnotation

func HasForceUpgradeAnnotation(customResource v1alpha1.Chart) bool

func IsCordoned

func IsCordoned(customResource v1alpha1.Chart) bool

func IsDeleted

func IsDeleted(customResource v1alpha1.Chart) bool

func IsEmptyValueError

func IsEmptyValueError(err error) bool

IsEmptyValueError asserts emptyValueError.

func IsWrongTypeError

func IsWrongTypeError(err error) bool

IsWrongTypeError asserts wrongTypeError.

func Namespace

func Namespace(customResource v1alpha1.Chart) string

func ReleaseName

func ReleaseName(customResource v1alpha1.Chart) string

func SecretName

func SecretName(customResource v1alpha1.Chart) string

func SecretNamespace

func SecretNamespace(customResource v1alpha1.Chart) string

func TarballURL

func TarballURL(customResource v1alpha1.Chart) string

func ToCustomResource

func ToCustomResource(v interface{}) (v1alpha1.Chart, error)

ToCustomResource converts value to v1alpha1.ChartConfig and returns it or error if type does not match.

func ValuesMD5ChecksumAnnotation

func ValuesMD5ChecksumAnnotation(customResource v1alpha1.Chart) string

ValuesMD5ChecksumAnnotation returns the annotation value to determine if the Helm release values have changed.

func VersionLabel

func VersionLabel(customResource v1alpha1.Chart) string

VersionLabel returns the label value to determine if the custom resource is supported by this version of the operatorkit resource.

Types

This section is empty.

Jump to

Keyboard shortcuts

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