route53

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsAccessDenied

func IsAccessDenied(err error) bool

IsAccessDenied returns true if the error is AccessDenied.

func IsAlreadyExists added in v0.3.1

func IsAlreadyExists(err error) bool

func IsConflict

func IsConflict(err error) bool

IsConflict returns true if the error was created by NewConflict.

func IsNotFound

func IsNotFound(err error) bool

IsNotFound returns true if the error was created by NewNotFound.

func IsSDKError

func IsSDKError(err error) (ok bool)

IsSDKError returns true if the error is of type awserr.Error.

func NewConflict

func NewConflict(msg string) error

NewConflict returns an error which indicates that the request cannot be processed due to a conflict.

func NewNotFound

func NewNotFound(msg string) error

NewNotFound returns an error which indicates that the resource of the kind and the name was not found.

func ReasonForError

func ReasonForError(err error) int

ReasonForError returns the HTTP status for a particular error.

Types

type Route53Error

type Route53Error struct {
	Code int
	// contains filtered or unexported fields
}

Route53Error is an error exposed to users of this library.

func (*Route53Error) Error

func (e *Route53Error) Error() string

Error implements the Error interface.

type Service

type Service struct {
	Route53Client           route53iface.Route53API
	Route53ResolverClient   route53resolveriface.Route53ResolverAPI
	ManagementRoute53Client route53iface.Route53API
	// contains filtered or unexported fields
}

Service holds a collection of interfaces.

func NewService

func NewService(clusterScope scope.Route53Scope, managementScope scope.ManagementRoute53Scope) *Service

NewService returns a new service given the route53 api client.

func (*Service) DeleteRoute53

func (s *Service) DeleteRoute53() error

func (*Service) ReconcileRoute53

func (s *Service) ReconcileRoute53() error

Jump to

Keyboard shortcuts

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