Documentation ¶
Index ¶
- Variables
- type Client
- func (c *Client) ChangeRecordSets(upsert, del, create []*route53.ResourceRecordSet, zoneID string) error
- func (c *Client) GetCanonicalZoneIDs(lbDNS []string) (map[string]string, error)
- func (c *Client) GetHostedZones() (map[string]string, error)
- func (c *Client) ListRecordSets(zoneID string) ([]*route53.ResourceRecordSet, error)
- type LoadBalancer
- type Logger
- type Options
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidAWSResponse = errors.New("invalid AWS response")
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) ChangeRecordSets ¶
func (c *Client) ChangeRecordSets(upsert, del, create []*route53.ResourceRecordSet, zoneID string) error
ChangeRecordSets creates and submits the record set change against the AWS API
func (*Client) GetCanonicalZoneIDs ¶ added in v0.5.0
GetCanonicalZoneIDs returns the map of LB (ALB + ELB classic) mapped to its CanonicalHostedZoneId
func (*Client) GetHostedZones ¶ added in v0.3.0
GetHostedZones returns the map hosted zone domain name -> zone id
func (*Client) ListRecordSets ¶
func (c *Client) ListRecordSets(zoneID string) ([]*route53.ResourceRecordSet, error)
ListRecordSets retrieve all records existing in the specified hosted zone
type LoadBalancer ¶ added in v0.2.0
LoadBalancer struct to aggregate ELB and ALB with extracted DNSName and its canonical hosted zone id
Click to show internal directories.
Click to hide internal directories.