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.
Click to show internal directories.
Click to hide internal directories.