mock_pubsub

package
v0.17.1 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package mock_pubsub is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockChannel added in v0.17.0

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

MockChannel is a mock of Channel interface.

func NewMockChannel added in v0.17.0

func NewMockChannel(ctrl *gomock.Controller) *MockChannel

NewMockChannel creates a new mock instance.

func (*MockChannel) Close added in v0.17.0

func (m *MockChannel) Close() error

Close mocks base method.

func (*MockChannel) EXPECT added in v0.17.0

func (m *MockChannel) EXPECT() *MockChannelMockRecorder

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

func (*MockChannel) Read added in v0.17.0

func (m *MockChannel) Read(data interface{}) (<-chan interface{}, <-chan error)

Read mocks base method.

type MockChannelMockRecorder added in v0.17.0

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

MockChannelMockRecorder is the mock recorder for MockChannel.

func (*MockChannelMockRecorder) Close added in v0.17.0

func (mr *MockChannelMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close.

func (*MockChannelMockRecorder) Read added in v0.17.0

func (mr *MockChannelMockRecorder) Read(data interface{}) *gomock.Call

Read indicates an expected call of Read.

type MockPubSub added in v0.17.0

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

MockPubSub is a mock of PubSub interface.

func NewMockPubSub added in v0.17.0

func NewMockPubSub(ctrl *gomock.Controller) *MockPubSub

NewMockPubSub creates a new mock instance.

func (*MockPubSub) Close added in v0.17.0

func (m *MockPubSub) Close() error

Close mocks base method.

func (*MockPubSub) EXPECT added in v0.17.0

func (m *MockPubSub) EXPECT() *MockPubSubMockRecorder

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

func (*MockPubSub) Publish added in v0.17.0

func (m *MockPubSub) Publish(topic string, data interface{}) error

Publish mocks base method.

func (*MockPubSub) Subscribe added in v0.17.0

func (m *MockPubSub) Subscribe(topic string) (interface{}, error)

Subscribe mocks base method.

type MockPubSubMockRecorder added in v0.17.0

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

MockPubSubMockRecorder is the mock recorder for MockPubSub.

func (*MockPubSubMockRecorder) Close added in v0.17.0

func (mr *MockPubSubMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close.

func (*MockPubSubMockRecorder) Publish added in v0.17.0

func (mr *MockPubSubMockRecorder) Publish(topic, data interface{}) *gomock.Call

Publish indicates an expected call of Publish.

func (*MockPubSubMockRecorder) Subscribe added in v0.17.0

func (mr *MockPubSubMockRecorder) Subscribe(topic 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