client

package
v4.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfig

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

GetConfig returns the rest config for accessing a Kubernetes master. It reads the configuration from the default .kube config path.

func NewAPI

func NewAPI(config *rest.Config) (*kubernetes.Clientset, error)

NewAPI returns a client object to access a kubernetes master.

Types

This section is empty.

Jump to

Keyboard shortcuts

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