gcloud

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2020 License: Apache-2.0 Imports: 11 Imported by: 5

Documentation

Overview

Package gcloud provides methods to interact with local installed gcloud.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AccessToken

func AccessToken(ctx context.Context, r runner.Runner) (*metadata.Token, error)

AccessToken gets a fresh access token from gcloud.

func ProjectInfo

func ProjectInfo(ctx context.Context, r runner.Runner) (metadata.ProjectInfo, error)

ProjectInfo gets the project id and number from local gcloud.

Types

This section is empty.

Jump to

Keyboard shortcuts

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