Documentation
¶
Index ¶
Constants ¶
View Source
const ( // LegacyConfigVersion should be set when the config for the app should not // be generated. LegacyConfigVersion = "0.0.0" ObjectHashAnnotation = "config-controller.giantswarm.io/object-hash" )
Variables ¶
This section is empty.
Functions ¶
func IsWrongType ¶
func RemoveAnnotation ¶
func ToAppCR ¶
func ToAppCR(v interface{}) (applicationv1alpha1.App, error)
func ToConfigCR ¶ added in v0.2.4
func ToConfigCR(v interface{}) (*corev1alpha1.Config, error)
func TryVersionToTag ¶
TryVersionToTag translates config version: "<major>.x.x" to tagReference: "v<major>" if possible. Otherwise returns empty string.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.