scarab

package
v0.0.0-...-3275554 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// Build e.g. `"ac9d7bd"`
	Build string
	// BuildTime e.g. `"2019-12-16T21:32:36Z"`
	BuildTime string
	// BuildVersion e.g. `"0.1.0"`
	BuildVersion string

	// Version is computed by the initalizer from the Build* values
	Version semver.Version
)

Functions

func DoDNSChange

func DoDNSChange(svc *dns.Service, project string, dnszone string, change *dns.Change) (c *dns.Change, err error)

DoDNSChange executes a DNS Change requiest if and only if the change resource has at least one insertion or at least one deletion.

func NewDNSService

func NewDNSService() *dns.Service

NewDNSService returns the GCP DNS API. See: https://godoc.org/google.golang.org/api/dns/v1

func NewService

func NewService() *compute.Service

NewService returns the GCP Compute API. See: https://godoc.org/google.golang.org/api/compute/v1

Types

This section is empty.

Jump to

Keyboard shortcuts

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