test_pubsub

package
v0.1.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2023 License: Apache-2.0, MIT Imports: 4 Imported by: 0

Documentation

Overview

Package test_pubsub is a generated GoMock package.

Package test_pubsub is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockJoinServer

type MockJoinServer struct {
	// contains filtered or unexported fields
}

MockJoinServer is a mock of JoinServer interface.

func NewMockJoinServer

func NewMockJoinServer(ctrl *gomock.Controller) *MockJoinServer

NewMockJoinServer creates a new mock instance.

func (*MockJoinServer) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockJoinServer) Join

func (m *MockJoinServer) Join(arg0 context.Context, arg1 pubsub.Router_join) error

Join mocks base method.

type MockJoinServerMockRecorder

type MockJoinServerMockRecorder struct {
	// contains filtered or unexported fields
}

MockJoinServerMockRecorder is the mock recorder for MockJoinServer.

func (*MockJoinServerMockRecorder) Join

func (mr *MockJoinServerMockRecorder) Join(arg0, arg1 interface{}) *gomock.Call

Join indicates an expected call of Join.

type MockTopicServer

type MockTopicServer struct {
	// contains filtered or unexported fields
}

MockTopicServer is a mock of TopicServer interface.

func NewMockTopicServer

func NewMockTopicServer(ctrl *gomock.Controller) *MockTopicServer

NewMockTopicServer creates a new mock instance.

func (*MockTopicServer) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockTopicServer) Name

func (m *MockTopicServer) Name(arg0 context.Context, arg1 pubsub.Topic_name) error

Name mocks base method.

func (*MockTopicServer) Publish

func (m *MockTopicServer) Publish(arg0 context.Context, arg1 pubsub.Topic_publish) error

Publish mocks base method.

func (*MockTopicServer) Subscribe

func (m *MockTopicServer) Subscribe(arg0 context.Context, arg1 pubsub.Topic_subscribe) error

Subscribe mocks base method.

type MockTopicServerMockRecorder

type MockTopicServerMockRecorder struct {
	// contains filtered or unexported fields
}

MockTopicServerMockRecorder is the mock recorder for MockTopicServer.

func (*MockTopicServerMockRecorder) Name

func (mr *MockTopicServerMockRecorder) Name(arg0, arg1 interface{}) *gomock.Call

Name indicates an expected call of Name.

func (*MockTopicServerMockRecorder) Publish

func (mr *MockTopicServerMockRecorder) Publish(arg0, arg1 interface{}) *gomock.Call

Publish indicates an expected call of Publish.

func (*MockTopicServerMockRecorder) Subscribe

func (mr *MockTopicServerMockRecorder) Subscribe(arg0, arg1 interface{}) *gomock.Call

Subscribe indicates an expected call of Subscribe.

Jump to

Keyboard shortcuts

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