beam: github.com/apache/beam/sdks/go/pkg/beam/options/gcpopts Index | Files

package gcpopts

import "github.com/apache/beam/sdks/go/pkg/beam/options/gcpopts"

Package gcpopts contains shared options for Google Cloud Platform.

Index

Package Files

options.go

Variables

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.