kind

package
v1.0.0-rc07 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2026 License: Apache-2.0 Imports: 10 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildEnvironment

func BuildEnvironment(runtime string) map[string]string

BuildEnvironment constructs the environment required for Kind CLI invocations.

func ResolveRuntime

func ResolveRuntime(value string) string

ResolveRuntime normalizes the Kind runtime selection. Precedence: explicit value, CONTAINER_RUNTIME, KIND_EXPERIMENTAL_PROVIDER, docker.

Types

type Provider

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

Provider manages Kind cluster lifecycle operations through the kind and kubectl CLIs.

func NewProvider

func NewProvider() *Provider

func NewProviderWithRunner

func NewProviderWithRunner(runner commandRunner) *Provider

func (*Provider) APIReady

func (p *Provider) APIReady(ctx context.Context, kubeconfigPath string) (bool, string, error)

func (*Provider) ClusterExists

func (p *Provider) ClusterExists(ctx context.Context, clusterName string, env map[string]string) (bool, error)

func (*Provider) CreateCluster

func (p *Provider) CreateCluster(ctx context.Context, clusterName, configPath string, env map[string]string) error

func (*Provider) DeleteCluster

func (p *Provider) DeleteCluster(ctx context.Context, clusterName string, env map[string]string) error

func (*Provider) ExportKubeconfig

func (p *Provider) ExportKubeconfig(ctx context.Context, clusterName, kubeconfigPath string, env map[string]string) error

func (*Provider) WaitReady

func (p *Provider) WaitReady(ctx context.Context, kubeconfigPath string) (string, error)

Jump to

Keyboard shortcuts

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