Documentation ¶
Index ¶
- type Route53Provider
- func (r *Route53Provider) AddRecord(record utils.DnsRecord) error
- func (*Route53Provider) GetName() string
- func (r *Route53Provider) GetRecords() ([]utils.DnsRecord, error)
- func (r *Route53Provider) HealthCheck() error
- func (r *Route53Provider) Init(rootDomainName string) error
- func (r *Route53Provider) RemoveRecord(record utils.DnsRecord) error
- func (r *Route53Provider) UpdateRecord(record utils.DnsRecord) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Route53Provider ¶
type Route53Provider struct {
// contains filtered or unexported fields
}
func (*Route53Provider) AddRecord ¶
func (r *Route53Provider) AddRecord(record utils.DnsRecord) error
func (*Route53Provider) GetName ¶
func (*Route53Provider) GetName() string
func (*Route53Provider) GetRecords ¶
func (r *Route53Provider) GetRecords() ([]utils.DnsRecord, error)
func (*Route53Provider) HealthCheck ¶
func (r *Route53Provider) HealthCheck() error
func (*Route53Provider) Init ¶
func (r *Route53Provider) Init(rootDomainName string) error
Init creates a Route53 client with credentials from one of these two locations in that priority order: 1) Environment variables: AWS_ACCESS_KEY, AWS_SECRET_KEY 2) EC2 IAM role
func (*Route53Provider) RemoveRecord ¶
func (r *Route53Provider) RemoveRecord(record utils.DnsRecord) error
func (*Route53Provider) UpdateRecord ¶
func (r *Route53Provider) UpdateRecord(record utils.DnsRecord) error
Click to show internal directories.
Click to hide internal directories.