gcputil

package
v0.35.2 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNoCredentials = errors.New("empty credentials: set `google_application_credentials` env variable")

Functions

func Credentials

func Credentials(ctx context.Context, jsonData string, allowHostAccess bool) (*google.Credentials, error)

func ProjectID

func ProjectID(credentials *google.Credentials) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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