providers

package
v0.3.7 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProviderImages = map[string]string{
	"aws":        "ghcr.io/pier-oliviert/providers-aws:v0.3.7",
	"azure":      "ghcr.io/pier-oliviert/providers-azure:v0.3.7",
	"cloudflare": "ghcr.io/pier-oliviert/providers-cloudflare:v0.3.7",
	"desec":      "ghcr.io/pier-oliviert/providers-desec:v0.3.7",
	"gcore":      "ghcr.io/pier-oliviert/providers-gcore:v0.3.7",
}

Functions

This section is empty.

Types

type Provider

type Provider interface {
	Configure(ctx context.Context, integration string, zones []string) error

	// Create a DNS Record
	Create(context.Context, *phonebook.DNSRecord) error

	// Delete a DNS Record
	Delete(context.Context, *phonebook.DNSRecord) error

	// Zones the Provider has authority over
	Zones() []string
}

type ProviderStore

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

func (*ProviderStore) Provider

func (ps *ProviderStore) Provider() Provider

func (*ProviderStore) Store

func (ps *ProviderStore) Store(p Provider)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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