configmaps

package
v0.0.20 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateConfigMapObject

func CreateConfigMapObject(namespace string, configData map[string]string) *v1.ConfigMap

CreateConfigMapObject creates a *v1.Configmap object from given parameters

func DeleteFromConfigMapGlobally

func DeleteFromConfigMapGlobally(clientset kubernetes.Interface, service *v1.Service)

DeleteFromConfigMapGlobally generates configmap key from given service, and removes that key from xposer configmap from all namespaces

func DeleteFromConfigMapLocally

func DeleteFromConfigMapLocally(clientset kubernetes.Interface, service *v1.Service)

DeleteFromConfigMapLocally generates configmap key from given service, and removes that key from xposer configmap in service's namespace

func PopulateConfigMapGlobally

func PopulateConfigMapGlobally(clientset kubernetes.Interface, newServiceObject *v1.Service, ingressHost string)

PopulateConfigMapGlobally creates a new/update existing xposer configmap in all namespaces

func PopulateConfigMapLocally

func PopulateConfigMapLocally(clientset kubernetes.Interface, newServiceObject *v1.Service, ingressHost string)

PopulateConfigMapLocally creates a new/update existing xposer configmap in service's namespace

Types

This section is empty.

Jump to

Keyboard shortcuts

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