cloudtesting

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package cloudtesting provides testing utilities.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithIncomingTraceContext

func WithIncomingTraceContext(ctx context.Context, traceContext cloudtrace.Context) context.Context

WithIncomingTraceContext returns a new context with the specified trace.

func WithLogger

func WithLogger(ctx context.Context, t *testing.T, opts ...zaptest.LoggerOption) context.Context

WithLogger returns a new context with a test logger.

Types

This section is empty.

Jump to

Keyboard shortcuts

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