Documentation
¶
Index ¶
- type DNSxLCfg
- type SBLookupCfg
- func (cfg *SBLookupCfg) BindViper(v *viper.Viper, prefix string)
- func (cfg SBLookupCfg) Dump() string
- func (cfg SBLookupCfg) Empty() bool
- func (cfg *SBLookupCfg) FromViper(v *viper.Viper, prefix string)
- func (cfg *SBLookupCfg) SetPFlags(short bool, prefix string)
- func (cfg SBLookupCfg) Validate() error
- type XLGetCfg
- type XListCfg
- type XListCheckAPICfg
- func (cfg *XListCheckAPICfg) BindViper(v *viper.Viper, prefix string)
- func (cfg XListCheckAPICfg) Dump() string
- func (cfg XListCheckAPICfg) Empty() bool
- func (cfg *XListCheckAPICfg) FromViper(v *viper.Viper, prefix string)
- func (cfg *XListCheckAPICfg) SetPFlags(short bool, prefix string)
- func (cfg XListCheckAPICfg) Validate() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DNSxLCfg ¶
DNSxLCfg stores dnsxl module preferences
func (*DNSxLCfg) BindViper ¶
BindViper setups posix flags for commandline configuration and bind to viper
type SBLookupCfg ¶
SBLookupCfg stores sblookupxl module preferences
func (*SBLookupCfg) BindViper ¶
func (cfg *SBLookupCfg) BindViper(v *viper.Viper, prefix string)
BindViper setups posix flags for commandline configuration and bind to viper
func (SBLookupCfg) Empty ¶
func (cfg SBLookupCfg) Empty() bool
Empty returns true if configuration is empty
func (*SBLookupCfg) FromViper ¶
func (cfg *SBLookupCfg) FromViper(v *viper.Viper, prefix string)
FromViper fill values from viper
func (*SBLookupCfg) SetPFlags ¶
func (cfg *SBLookupCfg) SetPFlags(short bool, prefix string)
SetPFlags setups posix flags for commandline configuration
func (SBLookupCfg) Validate ¶
func (cfg SBLookupCfg) Validate() error
Validate checks that configuration is ok
type XLGetCfg ¶
type XLGetCfg struct { SourceDirs []string SourceFiles []string OutputDir string CacheDir string StatusDir string }
XLGetCfg stores xlget preferences
func (*XLGetCfg) BindViper ¶
BindViper setups posix flags for commandline configuration and bind to viper
type XListCfg ¶
type XListCfg struct { //service configuration ServiceDirs []string ServiceFiles []string //generic build opts DataDir string CertsDir string }
XListCfg stores lists config paths and builder prefs
func (*XListCfg) BindViper ¶
BindViper setups posix flags for commandline configuration and bind to viper
type XListCheckAPICfg ¶
XListCheckAPICfg stores check service preferences
func (*XListCheckAPICfg) BindViper ¶
func (cfg *XListCheckAPICfg) BindViper(v *viper.Viper, prefix string)
BindViper setups posix flags for commandline configuration and bind to viper
func (XListCheckAPICfg) Empty ¶
func (cfg XListCheckAPICfg) Empty() bool
Empty returns true if configuration is empty
func (*XListCheckAPICfg) FromViper ¶
func (cfg *XListCheckAPICfg) FromViper(v *viper.Viper, prefix string)
FromViper fill values from viper
func (*XListCheckAPICfg) SetPFlags ¶
func (cfg *XListCheckAPICfg) SetPFlags(short bool, prefix string)
SetPFlags setups posix flags for commandline configuration
func (XListCheckAPICfg) Validate ¶
func (cfg XListCheckAPICfg) Validate() error
Validate checks that configuration is ok