kindgenerator

package
v5.26.0 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package kindgenerator provides utilities for generating Kind cluster configurations.

This package implements the Generator interface for Kind v1alpha4.Cluster structures, producing YAML configuration files for Kind clusters.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KindGenerator

type KindGenerator struct {
	Marshaller marshaller.Marshaller[*v1alpha4.Cluster]
}

KindGenerator generates a kind Cluster YAML.

func NewKindGenerator

func NewKindGenerator() *KindGenerator

NewKindGenerator creates and returns a new KindGenerator instance.

func (*KindGenerator) Generate

func (g *KindGenerator) Generate(
	cfg *v1alpha4.Cluster,
	opts yamlgenerator.Options,
) (string, error)

Generate creates a kind cluster YAML configuration and writes it to the specified output.

Jump to

Keyboard shortcuts

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