Documentation ¶
Index ¶
- type Consumer
- type GoogleConsumer
- func (gc *GoogleConsumer) Records(computeZones []string) (interface{}, error)
- func (gc *GoogleConsumer) Sync(computeZones []string, endpoints []*pkg.Endpoint) error
- func (gc *GoogleConsumer) SyncBulk(computeZones []string, endpoints []*pkg.Endpoint) error
- func (gc *GoogleConsumer) SyncOne(computeZones []string, endpoints []*pkg.Endpoint) error
- type RecordGroup
- type SyncedConsumer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Consumer ¶
type Consumer interface { Sync(computeZones []string, endpoints []*pkg.Endpoint) error Records(computeZones []string) (interface{}, error) }
Consumer consumer provided endpoints
type GoogleConsumer ¶
type GoogleConsumer struct {
// contains filtered or unexported fields
}
GoogleConsumer synchronizes google cloud DNS
func NewGoogleConsumer ¶
func NewGoogleConsumer() (*GoogleConsumer, error)
NewGoogleConsumer creates a new GoogleConsumer
func (*GoogleConsumer) Records ¶
func (gc *GoogleConsumer) Records(computeZones []string) (interface{}, error)
Records current records managed by buddy
func (*GoogleConsumer) Sync ¶
func (gc *GoogleConsumer) Sync(computeZones []string, endpoints []*pkg.Endpoint) error
type RecordGroup ¶
type RecordGroup struct { DNSName string `json:"dnsName,omitempty"` DNSZone string `json:"dnsZone,omitempty"` IPs []string `json:"ips,omitempty"` TTL int64 `json:"ttl,omitempty"` Labels []string `json:"labels,omitempty"` }
RecordGroup contains data from A and TXT record for the DNS name
Click to show internal directories.
Click to hide internal directories.