Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AzUpdater ¶
type AzUpdater struct { Builder // contains filtered or unexported fields }
AzUpdater holds the information necessary to successfully run update requests
type Builder ¶
type Builder struct { Zone string ClientID string ClientSecret string TenantID string SubscriptionID string ResourceGroup string HTTPClient *http.Client }
func (*Builder) InitFromViper ¶
InitFromViper initializes Builder with properties retrieved from Viper.
type DNSUpdater ¶
type DNSUpdater interface { RemoveRR(name, recordType string) (err error) AddRR(record hookTypes.DNSRecord, ttl time.Duration) (err error) UpdateRR(record hookTypes.DNSRecord, ttl time.Duration) (err error) }
DNSUpdater defines an interface to communicate with DNS Server via update commands
Click to show internal directories.
Click to hide internal directories.