plugins

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetKubeConfig

func GetKubeConfig(ctx context.Context, provider string, clusterName string, kubeconfigPath string) error

func RegisterKubeConfigProvider

func RegisterKubeConfigProvider(name string, factory KubeConfigProviderFactory)

Types

type KubeConfigProvider

type KubeConfigProvider interface {
	ExportKubeConfig(ctx context.Context, clusterName string, kubeConfigPath string) error
}

func GetKubeConfigProvider

func GetKubeConfigProvider(ctx context.Context, name string) (KubeConfigProvider, bool)

type KubeConfigProviderFactory

type KubeConfigProviderFactory func(conf *config.Configuration) KubeConfigProvider

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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