configmaps

package
v0.0.0-...-a1c22f6 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

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

func GetNamespacedClusterConfigMapName(namespace string) string

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.

Jump to

Keyboard shortcuts

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