ignition

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package ignition implements an enricher for Ignition configs.

Index

Constants

View Source
const (
	// FormatIgnition is the format for Ignition.
	FormatIgnition = "ignition"
)

Variables

This section is empty.

Functions

func RenderNetworkConfigData

func RenderNetworkConfigData(data []types.NetworkConfigData) (map[string][]byte, error)

RenderNetworkConfigData renders network-config data into systemd-networkd unit files.

Types

type Enricher

type Enricher struct {
	BootstrapData     []byte
	Hostname          string
	InstanceID        string
	ProviderID        string
	Network           []types.NetworkConfigData
	KubernetesVersion string
}

Enricher is responsible for enriching the Ignition config with additional data.

func (*Enricher) Enrich

func (e *Enricher) Enrich() ([]byte, string, error)

Enrich enriches the Ignition config with additional data.

Jump to

Keyboard shortcuts

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