jx: github.com/jenkins-x/jx/pkg/cluster/factory Index | Files

package factory

import "github.com/jenkins-x/jx/pkg/cluster/factory"

Index

Package Files

factory.go

func NewClientForProvider Uses

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 Uses

func NewClientFromEnv() (cluster.Client, error)

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

Package factory imports 6 packages (graph) and is imported by 1 packages. Updated 2020-05-27. Refresh now. Tools for package owners.