Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ViperKeyCloudflareAPIToken is a viper key for the cloudflare api token. ViperKeyCloudflareAPIToken string = "cloudflare.api.token" // ViperKeyDNSDomain is a viper key for the DNS Domain. ViperKeyDNSDomain string = "dns.domain" // ViperKeyFQDNFilters is a viper key for the FQDN filters. ViperKeyFQDNFilters string = "fqdn.filters" // ViperKeyFQDNIgnoreFilters is a viper key for the FQDN ignore filters. ViperKeyFQDNIgnoreFilters string = "fqdn.ignore.filters" )
View Source
const (
// GipConfigMapName is the name of the configmap resource used by gip
GipConfigMapName = "dns-tools-gip"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ChangeGlobalIP ¶
type ChangeGlobalIP struct { PreviousGlobalIPv4 string `json:"previousGlobalIPv4,omitempty"` CurrentGlobalIPv4 string `json:"currentGlobalIPv4,omitempty"` }
ChangeGlobalIP represents the changed state of the global IP
func NewChangeGlobalIP ¶
func NewChangeGlobalIP(pIP net.IP, cIP net.IP) *ChangeGlobalIP
NewChangeGlobalIP creates a ChangeGlobalIP structure
Click to show internal directories.
Click to hide internal directories.