Documentation
¶
Index ¶
- type ArchiveDNSAPICfg
- func (cfg *ArchiveDNSAPICfg) BindViper(v *viper.Viper, prefix string)
- func (cfg ArchiveDNSAPICfg) Dump() string
- func (cfg ArchiveDNSAPICfg) Empty() bool
- func (cfg *ArchiveDNSAPICfg) FromViper(v *viper.Viper, prefix string)
- func (cfg *ArchiveDNSAPICfg) SetPFlags(short bool, prefix string)
- func (cfg ArchiveDNSAPICfg) Validate() error
- type ArchiveEventAPICfg
- func (cfg *ArchiveEventAPICfg) BindViper(v *viper.Viper, prefix string)
- func (cfg ArchiveEventAPICfg) Dump() string
- func (cfg ArchiveEventAPICfg) Empty() bool
- func (cfg *ArchiveEventAPICfg) FromViper(v *viper.Viper, prefix string)
- func (cfg *ArchiveEventAPICfg) SetPFlags(short bool, prefix string)
- func (cfg ArchiveEventAPICfg) Validate() error
- type ArchiveTLSAPICfg
- func (cfg *ArchiveTLSAPICfg) BindViper(v *viper.Viper, prefix string)
- func (cfg ArchiveTLSAPICfg) Dump() string
- func (cfg ArchiveTLSAPICfg) Empty() bool
- func (cfg *ArchiveTLSAPICfg) FromViper(v *viper.Viper, prefix string)
- func (cfg *ArchiveTLSAPICfg) SetPFlags(short bool, prefix string)
- func (cfg ArchiveTLSAPICfg) Validate() error
- type ArchiverCfg
- func (cfg *ArchiverCfg) BindViper(v *viper.Viper, prefix string)
- func (cfg ArchiverCfg) Dump() string
- func (cfg ArchiverCfg) Empty() bool
- func (cfg *ArchiverCfg) FromViper(v *viper.Viper, prefix string)
- func (cfg *ArchiverCfg) SetPFlags(short bool, prefix string)
- func (cfg ArchiverCfg) Validate() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArchiveDNSAPICfg ¶
ArchiveDNSAPICfg stores archive service preferences
func (*ArchiveDNSAPICfg) BindViper ¶
func (cfg *ArchiveDNSAPICfg) BindViper(v *viper.Viper, prefix string)
BindViper setups posix flags for commandline configuration and bind to viper
func (ArchiveDNSAPICfg) Empty ¶
func (cfg ArchiveDNSAPICfg) Empty() bool
Empty returns true if configuration is empty
func (*ArchiveDNSAPICfg) FromViper ¶
func (cfg *ArchiveDNSAPICfg) FromViper(v *viper.Viper, prefix string)
FromViper fill values from viper
func (*ArchiveDNSAPICfg) SetPFlags ¶
func (cfg *ArchiveDNSAPICfg) SetPFlags(short bool, prefix string)
SetPFlags setups posix flags for commandline configuration
func (ArchiveDNSAPICfg) Validate ¶
func (cfg ArchiveDNSAPICfg) Validate() error
Validate checks that configuration is ok
type ArchiveEventAPICfg ¶
ArchiveEventAPICfg stores archive service preferences
func (*ArchiveEventAPICfg) BindViper ¶
func (cfg *ArchiveEventAPICfg) BindViper(v *viper.Viper, prefix string)
BindViper setups posix flags for commandline configuration and bind to viper
func (ArchiveEventAPICfg) Empty ¶
func (cfg ArchiveEventAPICfg) Empty() bool
Empty returns true if configuration is empty
func (*ArchiveEventAPICfg) FromViper ¶
func (cfg *ArchiveEventAPICfg) FromViper(v *viper.Viper, prefix string)
FromViper fill values from viper
func (*ArchiveEventAPICfg) SetPFlags ¶
func (cfg *ArchiveEventAPICfg) SetPFlags(short bool, prefix string)
SetPFlags setups posix flags for commandline configuration
func (ArchiveEventAPICfg) Validate ¶
func (cfg ArchiveEventAPICfg) Validate() error
Validate checks that configuration is ok
type ArchiveTLSAPICfg ¶
ArchiveTLSAPICfg stores archive service preferences
func (*ArchiveTLSAPICfg) BindViper ¶
func (cfg *ArchiveTLSAPICfg) BindViper(v *viper.Viper, prefix string)
BindViper setups posix flags for commandline configuration and bind to viper
func (ArchiveTLSAPICfg) Empty ¶
func (cfg ArchiveTLSAPICfg) Empty() bool
Empty returns true if configuration is empty
func (*ArchiveTLSAPICfg) FromViper ¶
func (cfg *ArchiveTLSAPICfg) FromViper(v *viper.Viper, prefix string)
FromViper fill values from viper
func (*ArchiveTLSAPICfg) SetPFlags ¶
func (cfg *ArchiveTLSAPICfg) SetPFlags(short bool, prefix string)
SetPFlags setups posix flags for commandline configuration
func (ArchiveTLSAPICfg) Validate ¶
func (cfg ArchiveTLSAPICfg) Validate() error
Validate checks that configuration is ok
type ArchiverCfg ¶
type ArchiverCfg struct {
BackendDirs []string
BackendFiles []string
ServiceDirs []string
ServiceFiles []string
}
ArchiverCfg stores archiver preferences
func (*ArchiverCfg) BindViper ¶
func (cfg *ArchiverCfg) BindViper(v *viper.Viper, prefix string)
BindViper setups posix flags for commandline configuration and bind to viper
func (ArchiverCfg) Empty ¶
func (cfg ArchiverCfg) Empty() bool
Empty returns true if configuration is empty
func (*ArchiverCfg) FromViper ¶
func (cfg *ArchiverCfg) FromViper(v *viper.Viper, prefix string)
FromViper fill values from viper
func (*ArchiverCfg) SetPFlags ¶
func (cfg *ArchiverCfg) SetPFlags(short bool, prefix string)
SetPFlags setups posix flags for commandline configuration
func (ArchiverCfg) Validate ¶
func (cfg ArchiverCfg) Validate() error
Validate checks that configuration is ok