gaetesting

package
v0.0.0-...-a0a3655 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TestingContext

func TestingContext() context.Context

TestingContext returns context with base services installed:

  • go.chromium.org/gae/impl/memory (in-memory appengine services)
  • go.chromium.org/luci/server/caching (access to process cache)
  • go.chromium.org/luci/server/secrets/testsecrets (access to fake secret keys)

func TestingContextWithAppID

func TestingContextWithAppID(appID string) context.Context

TestingContextWithAppID returns context with the specified App ID and base services installed:

  • go.chromium.org/gae/impl/memory (in-memory appengine services)
  • go.chromium.org/luci/server/caching (access to process cache)
  • go.chromium.org/luci/server/secrets/testsecrets (access to fake secret keys)

Types

This section is empty.

Jump to

Keyboard shortcuts

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