validation

package
v0.55.0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2026 License: Apache-2.0 Imports: 8 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const ProviderType = "google-clouddns"

ProviderType is the type code for the Google Cloud 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
	ClientEmail  string `json:"client_email"`
	PrivateKeyID string `json:"private_key_id"`
	ProjectID    string `json:"project_id"`
	TokenURI     string `json:"token_uri"`
}

LightCredentialsFile represents a minimal set of fields required for Google Cloud DNS service account credentials.

func ValidateServiceAccountJSON

func ValidateServiceAccountJSON(data []byte) (LightCredentialsFile, error)

Jump to

Keyboard shortcuts

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