k8s

package
v1.0.4-alpha Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Scheme = runtime.NewScheme()

Scheme consists of kubernetes and cyclone scheme.

Functions

func GetClient

func GetClient(kubeConfigPath string) (clientset.Interface, error)

GetClient creates a client for k8s cluster

func GetRateLimitClient added in v0.9.8

func GetRateLimitClient(kubeConfigPath string, qps float32, burst int) (clientset.Interface, error)

GetRateLimitClient creates a client for k8s cluster with custom defined qps and burst.

Types

This section is empty.

Jump to

Keyboard shortcuts

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