co

package
v0.6.6 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateConfigMap

func CreateConfigMap(namespace string, configMapName string, data map[string]string) (err error)

func CreateSecrets

func CreateSecrets(namespace string, secretsName string, data map[string][]byte) (err error)

func DeleteConfigMap

func DeleteConfigMap(namespace string, configMapName string) (err error)

func GetConfigMap

func GetConfigMap(namespace string, configMapName string) (data map[string]string, err error)

func GetConfigMapValue

func GetConfigMapValue(namespace string, configMapName string, key string) (value string, err error)

func GetSecret

func GetSecret(namespace string, secretName string) (data map[string][]byte, err error)

func GetSecretValue

func GetSecretValue(namespace string, secretName string, key string) (value string, err error)

func GetService

func GetService(namespace string, serviceName string) (service *corev1.Service, err error)

func GetServiceWithRetries

func GetServiceWithRetries(namespace string, serviceName string, timeout time.Duration) (service *corev1.Service, err error)

func UpdateConfigMap

func UpdateConfigMap(namespace string, configMapName string, data map[string]string) (err error)

func UpdateSecrets

func UpdateSecrets(namespace string, secretsName string, data map[string][]byte) (err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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