provider

package
v0.9.2-rc4 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrUnknownProvider = errors.New("unknown provider")

Functions

func DetectProvider

func DetectProvider(ctx context.Context, k8sClient kubernetes.Interface) (string, error)

DetectProvider accepts a k8s interface and checks all registered providers for a match

Types

type IsProvider

type IsProvider func(ctx context.Context, k8sClient kubernetes.Interface) (bool, error)

IsProvider is the interface all providers need to implement

Jump to

Keyboard shortcuts

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