ignition

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateIgnitionDataFromFile added in v0.5.0

func GenerateIgnitionDataFromFile(filePath string, config Config) ([]byte, error)

GenerateIgnitionDataFromFile renders an ignition template from a file with the given Config.

func ValidateIgnitionTemplatePath added in v0.5.0

func ValidateIgnitionTemplatePath(filePath string) error

ValidateIgnitionTemplatePath validates that the ignition template file exists and can be parsed.

Types

type Config

type Config struct {
	Image        string
	Flags        string
	SSHPublicKey string
	PasswordHash string
}

Config holds the Docker image and flags.

Jump to

Keyboard shortcuts

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