route53

package
v1.33.3 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package route53 provides functionality to manipulate route53 primitives.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrDomainHostedZoneNotFound added in v1.14.0

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

ErrDomainHostedZoneNotFound occurs when the domain hosted zone is not found.

func (*ErrDomainHostedZoneNotFound) Error added in v1.14.0

func (err *ErrDomainHostedZoneNotFound) Error() string

type ErrDomainNotFound added in v1.14.0

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

ErrDomainNotFound occurs when the domain is not found in the account.

func (*ErrDomainNotFound) Error added in v1.14.0

func (err *ErrDomainNotFound) Error() string

type ErrUnmatchedNSRecords added in v1.25.0

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

ErrUnmatchedNSRecords occurs when the NS records associated with the domain do not match the name server records in the route53 hosted zone.

func (*ErrUnmatchedNSRecords) Error added in v1.25.0

func (err *ErrUnmatchedNSRecords) Error() string

func (*ErrUnmatchedNSRecords) RecommendActions added in v1.25.0

func (err *ErrUnmatchedNSRecords) RecommendActions() string

RecommendActions implements the main.actionRecommender interface.

type Route53

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

Route53 wraps an Route53 client.

func New

func New(s *session.Session) *Route53

New returns a Route53 struct configured against the input session.

func (*Route53) PublicDomainHostedZoneID added in v1.32.0

func (r53 *Route53) PublicDomainHostedZoneID(domainName string) (string, error)

PublicDomainHostedZoneID returns the public Hosted Zone ID of a domain.

func (*Route53) ValidateDomainOwnership added in v1.25.0

func (r53 *Route53) ValidateDomainOwnership(domainName string) error

ValidateDomainOwnership returns nil if the NS records associated with the domain name matches the NS records of the route53 hosted zone for the domain. If there are missing NS records returns ErrUnmatchedNSRecords.

Directories

Path Synopsis
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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