Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetClient ¶
func GetClient(path string) (*kubernetes.Clientset, error)
GetClient returns a Kubernetes client (clientset) from the supplied kubeconfig path, the KUBECONFIG environment variable, the default config file location ($HOME/.kube/config) or from the in-cluster service account environment.
func NewNamespaceWatcher ¶
func NewNamespaceWatcher(client kubernetes.Interface, metrics metrics.PrometheusInterface, annotations []string) *namespaceWatcher
func NewPodWatcher ¶
func NewPodWatcher(client kubernetes.Interface, metrics metrics.PrometheusInterface, annotations []string) *podWatcher
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.