client

package
v0.0.0-...-5a9355e Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfig

func GetConfig() (*rest.Config, error)

GetConfig creates a *rest.Config for talking to a Kubernetes apiserver.

Config precedence

* KUBECONFIG environment variable pointing at a file * In-cluster config if running in cluster * $HOME/.kube/config if exists

func GetInClusterConfig

func GetInClusterConfig() (*rest.Config, error)

Types

type Clients

type Clients struct {
	Kube            *kubeset.Clientset
	ConfigClientSet *configclientset.Clientset
	ConfigV1Client  *configv1client.ConfigV1Client
	Tuned           *tunedset.Clientset
	MC              *mcfgclientset.Clientset
	Core            *coreset.CoreV1Client
	Apps            *appsset.AppsV1Client
	ManagementKube  *kubeset.Clientset
}

Jump to

Keyboard shortcuts

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