route53

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2025 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AwsClient

type AwsClient interface {
	GetRegion() ptypes.AwsRegion
	GetAccountID() ptypes.AwsAccountID
	Route53() *route53.Client
}

type HostedZone

type HostedZone struct {
	service.AbstractResource
	types.HostedZone
	Tags []types.Tag
}

func NewHostedZone

func NewHostedZone(client AwsClient, hostedZone types.HostedZone, tags []types.Tag) HostedZone

func (HostedZone) GetName

func (e HostedZone) GetName() string

func (HostedZone) GetTagValue

func (e HostedZone) GetTagValue(tag string) string

func (HostedZone) GetTags

func (e HostedZone) GetTags() map[string]string

type HostedZoneList

type HostedZoneList struct {
	Items []HostedZone
}

type Route53Repository

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

func NewRoute53Repository

func NewRoute53Repository(ctx context.Context, client AwsClient) *Route53Repository

func (*Route53Repository) GetHostedZoneTags

func (r *Route53Repository) GetHostedZoneTags(hostedZone types.HostedZone) []types.Tag

func (*Route53Repository) GetRegion

func (r *Route53Repository) GetRegion() ptypes.AwsRegion

func (*Route53Repository) ListHostedZonesAll

func (r *Route53Repository) ListHostedZonesAll() ([]HostedZone, error)

func (*Route53Repository) ListHostedZonesByInput

func (r *Route53Repository) ListHostedZonesByInput(query *route53.ListHostedZonesInput) ([]HostedZone, error)

Jump to

Keyboard shortcuts

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