Documentation
¶
Index ¶
Constants ¶
View Source
const LogFormatJson = "json"
View Source
const LogFormatSimple = "simple"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppConfig ¶
type AppConfig struct {
Interval int `yaml:"interval" env-default:"600"`
DebounceTime int `yaml:"debounceTime" env-default:"10"`
MaxDebounceTime int `yaml:"maxDebounceTime" env-default:"600"`
WebUI bool `yaml:"webUI" env-default:"false"`
Log LogConfig `yaml:"log"`
Zones Zones `yaml:"zones"`
DNS DNS `yaml:"dns"`
Domains Domains `yaml:"domains"`
}
func (*AppConfig) EnrichZoneSecretsFromEnv ¶ added in v0.6.0
func (c *AppConfig) EnrichZoneSecretsFromEnv()
type DomainRecord ¶
type DomainRecord struct {
Name string `yaml:"name" label:"dockdns.name"`
IP4 string `yaml:"a" label:"dockdns.a"`
IP6 string `yaml:"aaaa" label:"dockdns.aaaa"`
CName string `yaml:"cname" label:"dockdns.cname"`
TTL int `yaml:"ttl" label:"dockdns.ttl"`
Proxied bool `yaml:"proxied" label:"dockdns.proxied"`
Comment string `yaml:"comment" label:"dockdns.comment"`
}
func (DomainRecord) GetContent ¶ added in v0.3.0
func (d DomainRecord) GetContent(recordType string) string
type Domains ¶
type Domains []DomainRecord
Click to show internal directories.
Click to hide internal directories.