
initcmd
Package initcmd implements the `s3-orchestrator init` subcommand, which interactively walks an operator through writing a baseline config.yaml suitable for first boot.
Index
- func GenerateConfig(params *Params) (string, error)
- func Run(args []string, in io.Reader, out, errOut io.Writer) int
- func RunInteractive(configPath string, in io.Reader, out io.Writer) error
- type Backend
- type Bucket
- type Params
func GenerateConfig
GenerateConfig renders the config template with the given parameters.
func Run
Run is the CLI entry point. It parses the init flags, runs the interactive generator, and returns the process exit code.
func RunInteractive
RunInteractive drives the interactive config generation flow. Exposed for tests that want to feed canned input through the prompter.
type Backend
Backend holds a single backend’s configuration inputs.
type Bucket
Bucket holds a single virtual bucket’s configuration inputs.
type Params
Params holds the collected user inputs for config generation.
Generated by gomarkdoc