Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Prepare ¶
Prepare resolves the config source and parses the config files.
Does NOT run the interactive prompt — that's the dedicated job of `kubeaid-cli config generate`. The earlier silent-prompt fallback here meant `cluster bootstrap` could surprise an operator with a TUI when they expected a parse failure, and the split also makes the command boundaries cleaner: `config generate` writes, `cluster bootstrap` reads.
func RelocateLogFile ¶ added in v0.31.8
RelocateLogFile moves the current run's log file into directory, creating it first. The file was opened before the run knew which cluster it concerns; the open descriptor survives the rename, so logging simply continues into the moved file. Best-effort: a failure leaves the log where it is, logged at ERROR so it reaches the terminal — WARN goes only to the log file, the very artifact that failed to move.
Types ¶
This section is empty.