Documentation ¶
Index ¶
- Constants
- Variables
- func CheckCarbonNamespace(ns string) (bool, error)
- func CreateGlobalCarbonNamespace() error
- func GetAllNamespaces() (*apicorev1.NamespaceList, error)
- func GetConfigMapHandler(namespace string) (typedcorev1.ConfigMapInterface, error)
- func GetNamespaceHandler() (typedcorev1.NamespaceInterface, error)
- func GetSecretHandler(namespace string) (typedcorev1.SecretInterface, error)
- func KubeCmdFactory(ns string) (cmdutil.Factory, genericclioptions.IOStreams)
- func KubeConfig() (*restclient.Config, error)
- func SetNamespace(cliNS string) error
Constants ¶
View Source
const (
GlobalCarbonNamespace = "carbon-data"
)
Variables ¶
View Source
var CurrentNamespace string
Functions ¶
func CheckCarbonNamespace ¶
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 KubeCmdFactory ¶
func KubeCmdFactory(ns string) (cmdutil.Factory, genericclioptions.IOStreams)
func KubeConfig ¶
func KubeConfig() (*restclient.Config, error)
func SetNamespace ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.