cluster

package
v1.39.18 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	FindMinikubeBinary = minikubeBinary

	GetCurrentVersionFunc = getCurrentVersion
)

To override during tests

View Source
var (
	GetClient = getClient
)

Functions

This section is empty.

Types

type Client

type Client interface {
	// IsMinikube returns true if the given kubeContext maps to a minikube cluster
	IsMinikube(ctx context.Context, kubeContext string) bool
	// MinikubeExec returns the Cmd struct to execute minikube with given arguments
	MinikubeExec(ctx context.Context, arg ...string) (*exec.Cmd, error)
}

Jump to

Keyboard shortcuts

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