kubernetes

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2021 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	InClusterClient *kubernetes.Clientset
)

Functions

This section is empty.

Types

type Kubernetes

type Kubernetes struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func (*Kubernetes) CreateClient

func (k *Kubernetes) CreateClient(clusterName string) error

func (*Kubernetes) GetCacheClients

func (k *Kubernetes) GetCacheClients() map[string]*k8sclient.K8sClient

func (*Kubernetes) GetClient

func (k *Kubernetes) GetClient(clusterName string) (*k8sclient.K8sClient, error)

func (*Kubernetes) GetInClusterClient

func (k *Kubernetes) GetInClusterClient() (*kubernetes.Clientset, error)

func (*Kubernetes) RemoveClient

func (k *Kubernetes) RemoveClient(clusterName string)

func (*Kubernetes) UpdateClient

func (k *Kubernetes) UpdateClient(clusterName string) error

Jump to

Keyboard shortcuts

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