k8s

package
v1.0.3-alpha Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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