kubeconfig

package
v0.0.0-...-8b28c38 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadKubeClient

func LoadKubeClient(path string) (*kubernetes.Clientset, error)

LoadKubeClient accepts a path to a kubeconfig to load and returns the clientset

func LoadKubeconfig

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

LoadKubeconfig attempts to load a kubeconfig based on default locations. If a path is passed in then only that path is checked and will error if not found

Types

This section is empty.

Jump to

Keyboard shortcuts

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