test

package
v0.6.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 15, 2017 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetHostedZones added in v0.5.0

func GetHostedZones() map[string]string

func GetOriginalState added in v0.5.0

func GetOriginalState(groupID string) map[string][]*route53.ResourceRecordSet

Types

type Client

type Client struct {
	HostedZones    map[string]string
	Current        map[string][]*route53.ResourceRecordSet
	LastUpsert     map[string][]*route53.ResourceRecordSet
	LastDelete     map[string][]*route53.ResourceRecordSet
	LastCreate     map[string][]*route53.ResourceRecordSet
	UpdateMapMutex sync.Mutex
}

func NewClient added in v0.3.0

func NewClient(groupID string, initState map[string][]*route53.ResourceRecordSet, hostedZones map[string]string) *Client

func (*Client) ChangeRecordSets

func (c *Client) ChangeRecordSets(upsert, del, create []*route53.ResourceRecordSet, zoneID string) error

func (*Client) GetCanonicalZoneIDs added in v0.5.0

func (c *Client) GetCanonicalZoneIDs(lbDNS []string) (map[string]string, error)

func (*Client) GetHostedZones added in v0.3.0

func (c *Client) GetHostedZones() (map[string]string, error)

func (*Client) ListRecordSets

func (c *Client) ListRecordSets(zoneID string) ([]*route53.ResourceRecordSet, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL