testing

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2021 License: MIT Imports: 9 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAppChannel

type MockAppChannel struct {
	mock.Mock
}

MockAppChannel is an autogenerated mock type for the MockAppChannel type

func (*MockAppChannel) GetBaseAddress added in v0.6.0

func (_m *MockAppChannel) GetBaseAddress() string

GetBaseAddress provides a mock function with given fields:

func (*MockAppChannel) InvokeMethod

InvokeMethod provides a mock function with given fields: ctx, req

type MockServer added in v1.0.0

type MockServer struct {
	Error                    error
	Subscriptions            []*runtimev1pb.TopicSubscription
	Bindings                 []string
	BindingEventResponse     runtimev1pb.BindingEventResponse
	TopicEventResponseStatus runtimev1pb.TopicEventResponse_TopicEventResponseStatus
}

MockServer implementation of fake user app server

func (*MockServer) ListInputBindings added in v1.0.0

func (*MockServer) ListTopicSubscriptions added in v1.0.0

func (m *MockServer) ListTopicSubscriptions(ctx context.Context, in *emptypb.Empty) (*runtimev1pb.ListTopicSubscriptionsResponse, error)

func (*MockServer) OnBindingEvent added in v1.0.0

func (*MockServer) OnInvoke added in v1.0.0

func (*MockServer) OnTopicEvent added in v1.0.0

Jump to

Keyboard shortcuts

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