gcputil

package
v0.36.7 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 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