test

package
v0.0.58 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustMakeTestServices added in v0.0.25

func MustMakeTestServices(ctx context.Context, project, serviceName string, opts ...testServicesOption) *server

func WithErrorReportCallback added in v0.0.38

func WithErrorReportCallback(f ReportErrorFunc) testServicesOption

func WithErrorReportChannel added in v0.0.36

func WithErrorReportChannel(evs chan<- *errorreportingpb.ReportedErrorEvent) testServicesOption

Types

type FakeSetup added in v0.0.51

type FakeSetup struct {
	Servers  fakeServers
	Services gcp.Services
}

type PubSubStream added in v0.0.29

type PubSubStream struct {
	Topic        *pubsub.Topic
	Subscription *pubsub.Subscription
	// contains filtered or unexported fields
}

func NewPubSubStreamWithContext added in v0.0.29

func NewPubSubStreamWithContext(ctx context.Context, srv *pstest.Server, projectID, topicID, subscriptionID string) *PubSubStream

func (*PubSubStream) Close added in v0.0.29

func (s *PubSubStream) Close() error

Jump to

Keyboard shortcuts

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