gcloud

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Tool

type Tool struct {
	// Default defines the default Tool implementation
	base.Default
	// Source defines the source of the tool in cloud.google.com/storage
	Source *storage.Source
}

Tool manages the installation, upgrade and removal of the 'gcloud' tool

func New

func New() (*Tool, error)

New initializes a new 'gcloud' tool

func (*Tool) Install

func (t *Tool) Install() error

Install installs a new gcloud tool on the local system

func (*Tool) LatestVersion

func (t *Tool) LatestVersion() (string, error)

LatestVersion determines the latest version of the tool available for install

Jump to

Keyboard shortcuts

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