googlecloud

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: MIT Imports: 6 Imported by: 1

Documentation

Overview

Package googlecloud adapts the libdns Google Cloud DNS provider for Casket. Importing this package plugs it in.

Index

Constants

View Source
const (
	EnvServiceAccount = envNamespace + "SERVICE_ACCOUNT"
	EnvProject        = envNamespace + "PROJECT"
)

Variables

This section is empty.

Functions

func NewDNSProvider

func NewDNSProvider(c *casket.Controller) (certmagic.ACMEDNSProvider, error)

NewDNSProvider returns a new Google Cloud DNS challenge provider. The credentials are interpreted as follows:

len(0): use credentials from environment len(1): credentials[0] = project_id len(2): credentials[0] = project_id ------- credentials[1] = service_account_json_path

Types

This section is empty.

Jump to

Keyboard shortcuts

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