external

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateConfig

func ValidateConfig(args map[string]string) error

Types

type ProvisionerExternal

type ProvisionerExternal struct {
	// contains filtered or unexported fields
}

ProvisionerExternal simply wraps an existing kubernetes cluster (accessed via kubectl) and registry

func Create

func Create(args map[string]string) *ProvisionerExternal

Create returns a new ProvisionerLocalDev from the given arguments noinspection GoUnusedParameter

func (*ProvisionerExternal) CheckRegistryInsecureOK

func (provisioner *ProvisionerExternal) CheckRegistryInsecureOK() error

func (*ProvisionerExternal) EnsureCluster

func (provisioner *ProvisionerExternal) EnsureCluster() error

EnsureCluster does nothing for the external provisioner, basically by its definition

func (*ProvisionerExternal) InClusterDir

func (provisioner *ProvisionerExternal) InClusterDir(hostDir string) string

func (*ProvisionerExternal) KubectlCommand

func (provisioner *ProvisionerExternal) KubectlCommand(args ...string) (*exec.Cmd, error)

KubectlCommand for external just returns a provisioner that has KUBECONFIG pointing to the configured directory

func (*ProvisionerExternal) Registry

func (provisioner *ProvisionerExternal) Registry() (registryAddr string, registryInsecure bool, err error)

Jump to

Keyboard shortcuts

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