kubeconfig

package
v0.0.0-...-7527ab1 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var KubeConfig *rest.Config

Functions

func ClientSet

func ClientSet(path string) *kubernetes.Clientset

func DynamicClient

func DynamicClient(path string) dynamic.Interface

func GetKubeConfig

func GetKubeConfig(kubeconfigPath string) *rest.Config

Types

type KubernetesClient

type KubernetesClient struct {
	ClientSet     kubernetes.Interface
	DynamicClient dynamic.Interface
}

func KubernetesAPI

func KubernetesAPI(kubeconfigPath string) *KubernetesClient

Jump to

Keyboard shortcuts

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