Documentation
¶
Overview ¶
Package k3dgenerator provides utilities for generating K3d cluster configurations.
This package implements the Generator interface for K3d v1alpha5.SimpleConfig structures, producing YAML configuration files for K3d clusters.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Generator ¶
type Generator struct {
Marshaller marshaller.Marshaller[*v1alpha5.SimpleConfig]
}
Generator generates a k3d SimpleConfig YAML.
func NewGenerator ¶
func NewGenerator() *Generator
NewGenerator creates and returns a new Generator instance.
func (*Generator) Generate ¶
func (g *Generator) Generate( cluster *v1alpha5.SimpleConfig, opts yamlgenerator.Options, ) (string, error)
Generate creates a k3d cluster YAML configuration and writes it to the specified output.
Click to show internal directories.
Click to hide internal directories.