gaetesting

package
v0.0.0-...-4a11b79 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2020 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/luci/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/luci/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