pkg

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: 2 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrEventChannelClosed = errors.New("events channel closed")

Functions

func SameDNSName added in v0.6.0

func SameDNSName(dnsX, dnsY string) bool

SameDNSName compares two santized dns values

func SanitizeDNSName

func SanitizeDNSName(dns string) string

SanitizeDNSName return the DNS with a trailing dot

Types

type Endpoint

type Endpoint struct {

	// The DNS name to be set by the consumer for the record.
	DNSName string

	// In case of A records, the IP address value of the record.
	IP string

	// The value of ALIAS record (preferrably) or the CNAME
	// record, in case the provider receives only a hostname for
	// the service.
	Hostname string
}

Endpoint is used to pass data from the producer to the consumer.

type RecordInfo added in v0.3.0

type RecordInfo struct {
	Target  string
	GroupID string
}

RecordInfo stores the information relevant to the record that were created mainly used to identify if the Route53 records needs to be updated

Directories

Path Synopsis
aws

Jump to

Keyboard shortcuts

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