key

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

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 HasDeleteCROnlyAnnotation

func HasDeleteCROnlyAnnotation(customResource corev1alpha1.ChartConfig) bool

HasDeleteCROnlyAnnotation returns true if the legacy chartconfig CR has the delete custom resource only annotation added by cluster-operator to signal that the migration to chart CR is complete.

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 Version

func Version(customResource v1alpha1.Chart) string

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