route53provider

package
v0.4.13 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Overview

Package route53provider provides a driver implementation that advertises DNS-SD service instances on domain names hosted by Amazon Route 53.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct {
	Client      *route53.Client
	PartitionID string
	Logger      logr.Logger
}

Provider is an implementation of provider.Provider that advertises DNS-SD services on domains hosted by Amazon Route 53.

func (*Provider) AdvertiserByDomain

func (p *Provider) AdvertiserByDomain(
	ctx context.Context,
	domain string,
) (provider.Advertiser, bool, error)

AdvertiserByDomain returns the Advertiser used to advertise services on the given domain.

ok is false if this provider does not manage the given domain.

func (*Provider) AdvertiserByID

func (p *Provider) AdvertiserByID(
	ctx context.Context,
	id map[string]any,
) (provider.Advertiser, error)

AdvertiserByID returns the Advertiser with the given ID.

func (*Provider) Describe

func (p *Provider) Describe() string

Describe returns a human-readable description of the provider.

func (*Provider) ID

func (p *Provider) ID() string

ID returns a short unique identifier for the provider.

Jump to

Keyboard shortcuts

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