onprem

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewOnPremBuiltin

func NewOnPremBuiltin(kubeConfigFile string) *starlark.Builtin

NewOnPremBuiltin creates a new OnPrem built-in.

Types

type OnPrem

type OnPrem struct {
	*cloud.AbstractKubeVendor
	// contains filtered or unexported fields
}

OnPrem represents a on-premise cluster.

func (*OnPrem) KubeConfig

func (o *OnPrem) KubeConfig(ctx context.Context) (*rest.Config, error)

KubeConfig is part of the cloud.KubernetesVendor interface.

Jump to

Keyboard shortcuts

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