gcloud

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2026 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteWorkstation

func DeleteWorkstation(ctx context.Context, cfg *types.Config) error

func IsWSL

func IsWSL() bool

func Login

func Login(ctx context.Context, cfg *types.Config) (oauth2.TokenSource, error)

func StartWorkstation

func StartWorkstation(ctx context.Context, cfg *types.Config) error

func StopWorkstation

func StopWorkstation(ctx context.Context, cfg *types.Config) error

func TCPTunnelWithPassphrase added in v0.2.3

func TCPTunnelWithPassphrase(ctx context.Context, cfg *types.Config, port int, passphrase string) error

Types

type TokenSourceWithRefreshCheck

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

func (*TokenSourceWithRefreshCheck) Stop

func (ts *TokenSourceWithRefreshCheck) Stop()

Stop stops the periodic check.

func (*TokenSourceWithRefreshCheck) Token

Jump to

Keyboard shortcuts

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