config

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load() (*model.PrebootConfig, error)

func LoadFrom

func LoadFrom(customPath string) (*model.PrebootConfig, error)

LoadFrom loads a single named config file when --config is specified. When customPath is empty it falls back to the standard two-file merge via Load.

func MergeDefaults

func MergeDefaults(c *model.PrebootConfig)

this function is to ensure that the system always has defaults to fallback to

func ValidateConfig

func ValidateConfig(cfg *model.PrebootConfig) error

ValidateConfig acts as the runtime firewall, ensuring the unmarshaled YAML data strictly conforms to our domain types and business rules.

Types

This section is empty.

Jump to

Keyboard shortcuts

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