factory

package
v2.1.153 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClientForProvider

func NewClientForProvider(provider string) (cluster.Client, error)

NewClientForProvider will return a provider specific cluster client or an error if the provider has no client

func NewClientFromEnv

func NewClientFromEnv() (cluster.Client, error)

NewClientFromEnv uses environment variables to detect which kind of cluster we are running inside

Types

This section is empty.

Jump to

Keyboard shortcuts

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