kube

package
v5.18.4 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2023 License: Apache-2.0 Imports: 6 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) (*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) (*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