kubernetes

package
v0.0.0-...-2a06ba9 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GoogleAuthPlugin = "google_watcher" // so that this is different than "gcp" that's already in client-go tree.
)

Variables

This section is empty.

Functions

func NewClientSets

func NewClientSets(clusterConfig ClusterConfigMap) (map[string]kubernetes.Interface, error)

func NewScheme

func NewScheme() (*runtime.Scheme, error)

Types

type ClusterConfigMap

type ClusterConfigMap map[string]*rest.Config

func CreateClusterConfigMap

func CreateClusterConfigMap(tenant string, clusters []string, staticClusters []StaticCluster) (ClusterConfigMap, error)

type StaticCluster

type StaticCluster struct {
	Name  string
	Host  string
	Token string
}

func (*StaticCluster) EnvDecode

func (c *StaticCluster) EnvDecode(value string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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