Documentation ¶
Overview ¶
Package configloader provides methods to load Talos config.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoConfig = errors.New("config not found")
ErrNoConfig is returned when no configuration was found in the input.
Functions ¶
func NewFromBytes ¶
NewFromBytes will take a byteslice and attempt to parse a config file from it.
func NewFromFile ¶
NewFromFile will take a filepath and attempt to parse a config file from it.
func NewFromStdin ¶
NewFromStdin initializes a config provider by reading from stdin.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.