testutil

package
v0.2.9 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2015 License: Apache-2.0, MIT Imports: 8 Imported by: 0

Documentation

Overview

Package testutil contains helper functions for writing tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Context

func Context(scopes ...string) context.Context

TODO(djd): Delete this function when it's no longer used.

func NoAuthContext

func NoAuthContext() context.Context

TODO(djd): Delete this function when it's no longer used.

func ProjID added in v0.2.8

func ProjID() string

func TokenSource added in v0.2.8

func TokenSource(ctx context.Context, scopes ...string) oauth2.TokenSource

Types

This section is empty.

Jump to

Keyboard shortcuts

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