setup

package
v0.25.0 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2026 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Prepare

func Prepare(ctx context.Context) (func(), error)

Prepare resolves the config source and parses the config files. Returns a cleanup function the caller runs at process finalization to remove temp config dirs created for stdin-based configs.

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.

Types

This section is empty.

Jump to

Keyboard shortcuts

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