kube

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

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

Go to latest
Published: Dec 21, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// These are currently "magic" numbers that we are using to set the QPS and Burst for the Kubernetes client.
	// They allow for better performance relative to the default values, but with the cost of potentially
	// overloading the Kubernetes API server.
	// More info about these can be found in https://kubernetes.io/docs/reference/config-api/apiserver-eventratelimit.v1alpha1/
	K8sClientDefaultQPS   = 100
	K8sClientDefaultBurst = 100
)

Variables

This section is empty.

Functions

func SetDefaultClient

func SetDefaultClient(client *Client)

Types

type Client

var DefaultClient *Client

func CreateClient

func CreateClient(kubeConfig string, kContext string) (*Client, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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