hetzner

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2021 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 HetznerChanges

type HetznerChanges struct {
	Action            string
	ZoneID            string
	ZoneName          string
	ResourceRecordSet hclouddns.HCloudRecord
}

type HetznerProvider

type HetznerProvider struct {
	provider.BaseProvider
	Client hclouddns.HCloudClientAdapter

	DryRun bool
	// contains filtered or unexported fields
}

func NewHetznerProvider

func NewHetznerProvider(ctx context.Context, domainFilter endpoint.DomainFilter, dryRun bool) (*HetznerProvider, error)

func (*HetznerProvider) ApplyChanges

func (p *HetznerProvider) ApplyChanges(ctx context.Context, changes *plan.Changes) error

func (*HetznerProvider) Records

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

Jump to

Keyboard shortcuts

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