Documentation
¶
Index ¶
Constants ¶
View Source
const ProviderType = "gdch-dns"
ProviderType is the type code for the GDC-ag DNS provider.
Variables ¶
This section is empty.
Functions ¶
func NewAdapter ¶
func NewAdapter() provider.DNSHandlerAdapter
NewAdapter creates a new DNSHandlerAdapter for the Google Cloud DNS provider.
Types ¶
type LightCredentialsFile ¶
type LightCredentialsFile struct {
Type string `json:"type"`
// Service Account fields
Name string `json:"name"`
PrivateKeyID string `json:"private_key_id"`
PrivateKey string `json:"private_key"`
Project string `json:"project"`
}
LightCredentialsFile represents a minimal set of fields required for GDC-ag DNS service account credentials.
func ValidateServiceAccountJSON ¶
func ValidateServiceAccountJSON(data []byte) (LightCredentialsFile, error)
Click to show internal directories.
Click to hide internal directories.