testing

package
v1.0.1-0...-f351835 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2021 License: MIT Imports: 9 Imported by: 0

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

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

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

func (*MockServer) ListTopicSubscriptions

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

func (*MockServer) OnInvoke

func (*MockServer) OnTopicEvent

Jump to

Keyboard shortcuts

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