gcloud

package
v0.0.166 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2023 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var UseHostGCloudBinary = false

Functions

func Credentials

func Credentials(ctx context.Context) (*credential, error)

func Run

func Run(ctx context.Context, io rtypes.IO, args ...string) error

Types

type ConfigHelper

type ConfigHelper struct {
	Credential credential `json:"credential"`
}

func Helper

func Helper(ctx context.Context) (*ConfigHelper, error)

type TokenSource

type TokenSource struct {
	// contains filtered or unexported fields
}

func NewTokenSource

func NewTokenSource(ctx context.Context) *TokenSource

func (*TokenSource) Token

func (ts *TokenSource) Token() (*oauth2.Token, error)

Jump to

Keyboard shortcuts

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