plugins

package
v0.3.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetKubeConfig

func GetKubeConfig(ctx context.Context, k8sSettings map[string]any, stk *stack.Stack, componentName string, kubeConfigPath string) error

func RegisterKubeConfigProvider

func RegisterKubeConfigProvider(name string, factory KubeConfigProviderFactory)

Types

type KubeConfigProvider

type KubeConfigProvider interface {
	ExportKubeConfig(ctx context.Context, stk *stack.Stack, providerStackSettings map[string]any, kubeConfigPath string) error
}

func GetKubeConfigProvider

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

type KubeConfigProviderFactory

type KubeConfigProviderFactory func(conf *v1.ConfigSpec) (KubeConfigProvider, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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