kind

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package kind provides a typed wrapper for helm/kind-action.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Kind

type Kind struct {
	// Version of kind to use (e.g., v0.20.0)
	Version string `yaml:"version,omitempty"`

	// Path to kind config file
	Config string `yaml:"config,omitempty"`

	// Name of the kind cluster
	ClusterName string `yaml:"cluster_name,omitempty"`

	// How long to wait for control plane to become ready (default: 5m)
	WaitDuration string `yaml:"wait,omitempty"`

	// Log verbosity level for kind (0-9)
	Verbosity int `yaml:"verbosity,omitempty"`

	// Path to write kubeconfig file
	Kubeconfig string `yaml:"kubeconfig,omitempty"`

	// Enable local registry for the cluster
	Registry bool `yaml:"registry,omitempty"`

	// Version of kubectl to install
	KubectlVersion string `yaml:"kubectl_version,omitempty"`

	// Only install kind without creating cluster
	InstallOnly bool `yaml:"install_only,omitempty"`

	// Ignore cluster cleanup failures
	IgnoreFailedClean bool `yaml:"ignore_failed_clean,omitempty"`
}

Kind wraps the helm/kind-action@v1 action. Creates a Kubernetes cluster using kind (Kubernetes IN Docker).

func (Kind) Action

func (a Kind) Action() string

Action returns the action reference.

func (Kind) Inputs

func (a Kind) Inputs() map[string]any

Inputs returns the action inputs as a map.

Jump to

Keyboard shortcuts

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