route53

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrCredentialsInvalid is returned when client credentials are invalid.
	ErrCredentialsInvalid = errors.New("invalid credentials")
	// ErrUnknownZone is returned when the hostname is not found.
	ErrUnknownZone = errors.New("unknown zoneID")
	// ErrInvalidHostname is returned when the hostname is invalid.
	ErrInvalidHostname = errors.New("invalid hostname")
)

Functions

func New

func New(opts Options) ddns.Provider

New creates a new Route53 provider.

func ValidateOptions

func ValidateOptions(opts Options) error

ValidateOptions validates the options for the Route53 provider.

Types

type Options

type Options struct {
	ID       string `json:"id"`
	Secret   string `json:"secret"`
	ZoneID   string `json:"zoneID"`
	Hostname string `json:"hostname"`
}

Options is the set of configuration options for the Route53 provider.

type Provider

type Provider struct {
	// contains filtered or unexported fields
}

Provider implements the DNS provider interface for AWS Route 53.

func (*Provider) Update

func (p *Provider) Update(ipv4, ipv6 net.IP) error

Update implements the ddns.Provider interface for AWS Route 53.

Jump to

Keyboard shortcuts

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