kube

package
v0.0.0-...-84d1506 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2021 License: MIT Imports: 11 Imported by: 0

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.

Jump to

Keyboard shortcuts

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