Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AWSClient ¶
type AWSClient interface { ListRecordSets(zoneID string) ([]*route53.ResourceRecordSet, error) ChangeRecordSets(upsert, del, create []*route53.ResourceRecordSet, zoneID string) error GetCanonicalZoneIDs(lbDNS []string) (map[string]string, error) //get hosted zone ids for the LBs GetHostedZones() (map[string]string, error) //get all route53 hosted zones for the account }
AWSClient interface
type Consumer ¶
type Consumer interface { Sync([]*pkg.Endpoint) error Consume(<-chan *pkg.Endpoint, chan<- error, <-chan struct{}, *sync.WaitGroup) Process(*pkg.Endpoint) error }
Consumer interface
func NewAWSRoute53Consumer ¶ added in v0.6.0
NewAWSRoute53Consumer reates a Consumer instance to sync and process DNS entries in AWS Route53.
func NewGoogleCloudDNSConsumer ¶ added in v0.6.0
NewGoogleCloudDNSConsumer creates
func NewStdoutConsumer ¶ added in v0.6.0
func NewSynchronizedConsumer ¶ added in v0.6.0
NewSynchronizedConsumer provides a consumer that can execute only one operation at a time, and blocks concurrent operations until the current one finishes.
type SynchronizedConsumer ¶ added in v0.6.0
Click to show internal directories.
Click to hide internal directories.