kind

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2026 License: Apache-2.0 Imports: 22 Imported by: ? 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 KindLoggerFromLogr added in v0.8.1

func KindLoggerFromLogr(logrLogger *logr.Logger) *kindLogger

KindLoggerFromLogr is a wrapper of logr.Logger made specifically for kind's InfoLogger. https://github.com/kubernetes-sigs/kind/blob/1a8f0473a0785e0975e26739524513e8ee696be3/pkg/log/types.go

Types

type Cluster

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

func NewCluster

func NewCluster(name, kubeVersion, kubeConfigPath, kindConfigPath, extraPortsMapping string, registryConfig []string, cfg v1alpha1.BuildCustomizationSpec, cliLogger logr.Logger) (*Cluster, error)

func (*Cluster) Exists

func (c *Cluster) Exists() (bool, error)

func (*Cluster) ExportKubeConfig

func (c *Cluster) ExportKubeConfig(name string, internal bool) error

func (*Cluster) Reconcile

func (c *Cluster) Reconcile(ctx context.Context, recreate bool) error

type HttpClient added in v0.9.0

type HttpClient interface {
	Get(url string) (resp *http.Response, err error)
}

type IProvider added in v0.3.0

type IProvider interface {
	List() ([]string, error)
	ListNodes(string) ([]nodes.Node, error)
	CollectLogs(string, string) error
	Delete(string, string) error
	Create(string, ...cluster.CreateOption) error
	ExportKubeConfig(string, string, bool) error
}

type PortMapping added in v0.1.0

type PortMapping struct {
	HostPort      string
	ContainerPort string
}

type TemplateConfig added in v0.3.0

type TemplateConfig struct {
	v1alpha1.BuildCustomizationSpec
	KubernetesVersion string
	ExtraPortsMapping []PortMapping
	RegistryConfig    string
	RegistryCertsDir  string
}

Jump to

Keyboard shortcuts

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