Documentation
¶
Index ¶
- func GetKubeConfig(ctx context.Context, provider string, clusterName string, ...) error
- func GetProviders() []string
- func RegisterKubeConfigProvider(name string, factory KubeConfigProviderFactory)
- func RegisterProvider(name string, provider ProviderFactory)
- type ExecutionContext
- type KubeConfigProvider
- type KubeConfigProviderFactory
- type Provider
- type ProviderFactory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetKubeConfig ¶
func GetProviders ¶
func GetProviders() []string
func RegisterKubeConfigProvider ¶
func RegisterKubeConfigProvider(name string, factory KubeConfigProviderFactory)
func RegisterProvider ¶
func RegisterProvider(name string, provider ProviderFactory)
Types ¶
type ExecutionContext ¶
type ExecutionContext struct {
}
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
type Provider ¶
type ProviderFactory ¶
type ProviderFactory func(conf *config.Configuration) Provider
Click to show internal directories.
Click to hide internal directories.