common

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2021 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GlobalCarbonNamespace = "carbon-data"
)

Variables

View Source
var CurrentNamespace string

Functions

func CheckCarbonNamespace

func CheckCarbonNamespace(ns string) (bool, error)

func CreateGlobalCarbonNamespace

func CreateGlobalCarbonNamespace() error

func GetAllNamespaces

func GetAllNamespaces() (*apicorev1.NamespaceList, error)

func GetConfigMapHandler

func GetConfigMapHandler(namespace string) (typedcorev1.ConfigMapInterface, error)

func GetNamespaceHandler

func GetNamespaceHandler() (typedcorev1.NamespaceInterface, error)

func GetSecretHandler

func GetSecretHandler(namespace string) (typedcorev1.SecretInterface, error)

func KubeConfig

func KubeConfig() (*restclient.Config, error)

func SetNamespace

func SetNamespace(cliNS string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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