beam: Index | Files

package gcpopts

import ""

Package gcpopts contains shared options for Google Cloud Platform.


Package Files



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

func GetProject Uses

func GetProject(ctx context.Context) string

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

Package gcpopts imports 3 packages (graph) and is imported by 2 packages. Updated 2018-04-12. Refresh now. Tools for package owners.