Versions in this module Expand all Collapse all v1 v1.0.0 Nov 22, 2024 Changes in this version + var ModulesOrder = []string + func GenerateDefaultAnswerFile() error + func ReadAnswerFile(answerFile string, conf *Config) error + func ValidateConfig(conf Config) (errors []error) + type Config struct + General General + Icinga2 Icinga2 + func GetControlDefaultObject() Config + type General struct + AnswerFile string + CommandTimeout time.Duration + DetailedCollection bool + DisabledModules []string + EnabledModules []string + ExtraObfuscators []string + OutputFile string + type Icinga2 struct + Endpoints []icingaapi.Endpoint + type Wizard struct + Arguments []argument + Scanner *bufio.Scanner + func NewWizard() Wizard + func (w *Wizard) AddBoolVar(callback *bool, name string, defaultValue bool, usage string, ...) + func (w *Wizard) AddIcingaEndpoints(callback *[]icingaapi.Endpoint, name, usage string, dependency func() bool) + func (w *Wizard) AddSliceVarFromString(callback *[]string, name string, defaultValue []string, usage string, ...) + func (w *Wizard) AddStringSliceVar(callback *[]string, name string, defaultValue bool, initialPrompt string, ...) + func (w *Wizard) AddStringVar(callback *string, name, defaultValue, usage string, required bool, ...) + func (w *Wizard) Parse(availableModules string)