Documentation ¶
Index ¶
- Constants
- func GetAksAppConfigMapName(aksapp deployerv1.AksApp) string
- func GetNamespacedClusterConfigMapName(namespace string) string
- func ParseConfig(logger *logrus.Entry, scheme *runtime.Scheme, configData string) ([]runtime.Object, error)
- func ParseConfigToUnstructured(logger *logrus.Entry, configData string) ([]*unstructured.Unstructured, error)
Constants ¶
View Source
const ( // ClusterConfigMapName is cluster configuration ConfigMap name ClusterConfigMapName = "cluster-config" // ConfigDataKey is configuration ConfigMap key ConfigDataKey = "config" // ConfigAnnotationKey is configuration blob URL key ConfigAnnotationKey = "blob-url" // DefaultDeployerNamespace is deployer's default namespace DefaultDeployerNamespace = "deployer" )
Variables ¶
This section is empty.
Functions ¶
func GetAksAppConfigMapName ¶
func GetAksAppConfigMapName(aksapp deployerv1.AksApp) string
GetAksAppConfigMapName returns AksApp ConfigMap name
func GetNamespacedClusterConfigMapName ¶
GetNamespacedClusterConfigMapName returns namespaced cluster ConfigMap name
func ParseConfig ¶
func ParseConfig(logger *logrus.Entry, scheme *runtime.Scheme, configData string) ([]runtime.Object, error)
ParseConfig parses configuration data and return a list of runtime.Object
func ParseConfigToUnstructured ¶
func ParseConfigToUnstructured(logger *logrus.Entry, configData string) ([]*unstructured.Unstructured, error)
ParseConfigToUnstructured parses configuration data and return a list of unstructured.Unstructured
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.