route53

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2022 License: Apache-2.0 Imports: 7 Imported by: 2

Documentation

Overview

Package route53 implements a simple DNS record reader and writer using AWS Route 53.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RecordReadWriter

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

func New

func New(awsSession *session.Session, hostedZoneId string,
	logger log.DebugLogger) (*RecordReadWriter, error)

New creates a *RecordReadWriter. The logger is used for logging messages.

func (*RecordReadWriter) DeleteRecords

func (rrw *RecordReadWriter) DeleteRecords(fqdn, recType string) error

func (*RecordReadWriter) ReadRecords

func (rrw *RecordReadWriter) ReadRecords(fqdn, recType string) (
	[]string, time.Duration, error)

func (*RecordReadWriter) WriteRecords

func (rrw *RecordReadWriter) WriteRecords(fqdn, recType string,
	records []string, ttl time.Duration, wait bool) error

Jump to

Keyboard shortcuts

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