Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderImages = map[string]string{ "aws": fmt.Sprintf("ghcr.io/pier-oliviert/providers-aws:v%s", ProviderVersion), "azure": fmt.Sprintf("ghcr.io/pier-oliviert/providers-azure:v%s", ProviderVersion), "cloudflare": fmt.Sprintf("ghcr.io/pier-oliviert/providers-cloudflare:v%s", ProviderVersion), "desec": fmt.Sprintf("ghcr.io/pier-oliviert/providers-desec:v%s", ProviderVersion), "gcore": fmt.Sprintf("ghcr.io/pier-oliviert/providers-gcore:v%s", ProviderVersion), }
View Source
var ProviderVersion = "0.0.0"
This constant needs to be configured through a build flag when Phonebook is released
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, phonebook.StagingUpdater) error // Delete a DNS Record Delete(context.Context, phonebook.DNSRecord, phonebook.StagingUpdater) 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)
Click to show internal directories.
Click to hide internal directories.