onprem

package
v1.8.7 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2022 License: Apache-2.0 Imports: 8 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