testing

package
v0.0.0-...-c52b3dd Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TestClientCreator

func TestClientCreator(value interface{}) storage.CreateFn

TestClientCreator returns a pubsub.CreateFn used to construct the test Storage client.

Types

type TestBucketData

type TestBucketData struct {
	Notifications      map[string]*Notification
	AddNotificationID  string
	NotificationsErr   error
	AddNotificationErr error
	DeleteErr          error
}

TestBucketData is the data used to configure the test Bucket.

type TestClientData

type TestClientData struct {
	CreateClientErr       error
	CreateSubscriptionErr error
	CreateTopicErr        error
	CloseErr              error
	BucketData            TestBucketData
}

TestClientData is the data used to configure the test Storage client.

Jump to

Keyboard shortcuts

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