kube

package
v5.20.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfig added in v5.13.3

func GetConfig(kubeContext string, kubeConfigPath string) (*rest.Config, error)

GetConfig returns the current kube config with a specific context

func GetKubeClient

func GetKubeClient(kubeConfig *rest.Config) (kubernetes.Interface, error)

GetKubeClient returns a Kubernetes.Interface based on the current configuration

Types

type Kube

type Kube struct {
	Client kubernetes.Interface
}

func GetConfigInstance

func GetConfigInstance(kubeContext string, kubeConfigPath string) (*Kube, error)

GetConfigInstance returns a Pluto Kubernetes interface based on the current configuration

Jump to

Keyboard shortcuts

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