Documentation
¶
Index ¶
Constants ¶
View Source
const NamespaceEnv = "POD_NAMESPACE"
NamespaceEnv is the environment variable for setting the k8s namespace
Variables ¶
This section is empty.
Functions ¶
func GetNamespaceFromEnv ¶
func GetNamespaceFromEnv() string
GetNamespaceFromEnv gets the Kubernetes namespace from the environment
func GetRestConfig ¶
GetRestConfig returns the Kubernetes REST API configuration
func GetRestConfigOrDie ¶
GetRestConfigOrDie returns the Kubernetes REST API configuration
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.