Documentation ¶
Index ¶
- Constants
- func ChartStatus(customResource v1alpha1.Chart) v1alpha1.ChartStatus
- func ConfigMapName(customResource v1alpha1.Chart) string
- func ConfigMapNamespace(customResource v1alpha1.Chart) string
- func CordonReason(customResource v1alpha1.Chart) string
- func CordonUntil(customResource v1alpha1.Chart) string
- func HasForceUpgradeAnnotation(customResource v1alpha1.Chart) bool
- func IsCordoned(customResource v1alpha1.Chart) bool
- func IsDeleted(customResource v1alpha1.Chart) bool
- func IsEmptyValueError(err error) bool
- func IsWrongTypeError(err error) bool
- func Namespace(customResource v1alpha1.Chart) string
- func ReleaseName(customResource v1alpha1.Chart) string
- func SecretName(customResource v1alpha1.Chart) string
- func SecretNamespace(customResource v1alpha1.Chart) string
- func TarballURL(customResource v1alpha1.Chart) string
- func ToCustomResource(v interface{}) (v1alpha1.Chart, error)
- func ValuesMD5ChecksumAnnotation(customResource v1alpha1.Chart) string
- func VersionLabel(customResource v1alpha1.Chart) string
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 ConfigMapNamespace ¶
func CordonReason ¶
func CordonUntil ¶
func IsCordoned ¶
func IsEmptyValueError ¶
IsEmptyValueError asserts emptyValueError.
func IsWrongTypeError ¶
IsWrongTypeError asserts wrongTypeError.
func ReleaseName ¶
func SecretName ¶
func SecretNamespace ¶
func TarballURL ¶
func ToCustomResource ¶
ToCustomResource converts value to v1alpha1.ChartConfig and returns it or error if type does not match.
func ValuesMD5ChecksumAnnotation ¶
ValuesMD5ChecksumAnnotation returns the annotation value to determine if the Helm release values have changed.
func VersionLabel ¶
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.
Click to show internal directories.
Click to hide internal directories.