gcpopts

package
v2.23.0-RC2+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package gcpopts contains shared options for Google Cloud Platform.

Index

Constants

This section is empty.

Variables

View Source
var (
	// Project is the Google Cloud Platform project ID.
	Project = flag.String("project", "", "Google Cloud Platform project ID.")
)

Functions

func GetProject

func GetProject(ctx context.Context) string

GetProject returns the project, if non empty and exits otherwise. Convenience function.

Types

This section is empty.

Jump to

Keyboard shortcuts

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