google

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: 22 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 (
	// ServiceAccountJSONField is the field in a secret where the service account JSON is stored at.
	ServiceAccountJSONField = "serviceaccount.json"
)
View Source
const TYPE_CODE = validation.ProviderType

Variables

View Source
var Factory = provider.NewDNSHandlerFactory(NewHandler, validation.NewAdapter()).
	SetGenericFactoryOptionDefaults(provider.GenericFactoryOptionDefaults.SetRateLimiterOptions(rateLimiterDefaults))

Functions

func NewHandler

func NewHandler(config *provider.DNSHandlerConfig) (provider.DNSHandler, error)

func SplitZoneID added in v0.8.2

func SplitZoneID(id string) (string, string)

SplitZoneID splits the zone id into project id and zone name

Types

type Execution

type Execution struct {
	logger.LogContext
	// contains filtered or unexported fields
}

func NewExecution

func NewExecution(logger logger.LogContext, h *Handler, zone provider.DNSHostedZone) *Execution

type Handler

type Handler struct {
	provider.DefaultDNSHandler
	// contains filtered or unexported fields
}

func (*Handler) ExecuteRequests

func (h *Handler) ExecuteRequests(logger logger.LogContext, zone provider.DNSHostedZone, state provider.DNSZoneState, reqs []*provider.ChangeRequest) error

func (*Handler) GetZoneState

func (h *Handler) GetZoneState(zone provider.DNSHostedZone) (provider.DNSZoneState, error)

func (*Handler) GetZones

func (h *Handler) GetZones() (provider.DNSHostedZones, error)

func (*Handler) Release

func (h *Handler) Release()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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