dnsprovider

package
v0.0.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GlesysProvider

type GlesysProvider struct {
	provider.BaseProvider
	Client glesys.Client
	DryRun bool
}

func NewGlesysProvider

func NewGlesysProvider(dryRun bool, version string) (*GlesysProvider, error)

func (*GlesysProvider) ApplyChanges

func (p *GlesysProvider) ApplyChanges(ctx context.Context, planChanges *plan.Changes) error

ApplyChanges Records returns the list of records in a given zone.

func (*GlesysProvider) Records

func (p *GlesysProvider) Records(ctx context.Context) ([]*endpoint.Endpoint, error)

Records returns the list of records in a given zone.

func (*GlesysProvider) ZoneRecords

func (p *GlesysProvider) ZoneRecords(ctx context.Context) ([]glesys.DNSDomainRecord, error)

func (*GlesysProvider) Zones

func (p *GlesysProvider) Zones(ctx context.Context) ([]glesys.DNSDomain, error)

Jump to

Keyboard shortcuts

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