Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockPubSub
- func (m *MockPubSub) Close() error
- func (m *MockPubSub) EXPECT() *MockPubSubMockRecorder
- func (m *MockPubSub) Features() []pubsub.Feature
- func (m *MockPubSub) Init(arg0 pubsub.Metadata) error
- func (m *MockPubSub) Publish(arg0 *pubsub.PublishRequest) error
- func (m *MockPubSub) Subscribe(arg0 pubsub.SubscribeRequest, arg1 pubsub.Handler) error
- type MockPubSubMockRecorder
- func (mr *MockPubSubMockRecorder) Close() *gomock.Call
- func (mr *MockPubSubMockRecorder) Features() *gomock.Call
- func (mr *MockPubSubMockRecorder) Init(arg0 interface{}) *gomock.Call
- func (mr *MockPubSubMockRecorder) Publish(arg0 interface{}) *gomock.Call
- func (mr *MockPubSubMockRecorder) Subscribe(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockPubSub ¶
type MockPubSub struct {
// contains filtered or unexported fields
}
MockPubSub is a mock of PubSub interface.
func NewMockPubSub ¶
func NewMockPubSub(ctrl *gomock.Controller) *MockPubSub
NewMockPubSub creates a new mock instance.
func (*MockPubSub) EXPECT ¶
func (m *MockPubSub) EXPECT() *MockPubSubMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPubSub) Features ¶
func (m *MockPubSub) Features() []pubsub.Feature
Features mocks base method.
func (*MockPubSub) Init ¶
func (m *MockPubSub) Init(arg0 pubsub.Metadata) error
Init mocks base method.
func (*MockPubSub) Publish ¶
func (m *MockPubSub) Publish(arg0 *pubsub.PublishRequest) error
Publish mocks base method.
func (*MockPubSub) Subscribe ¶
func (m *MockPubSub) Subscribe(arg0 pubsub.SubscribeRequest, arg1 pubsub.Handler) error
Subscribe mocks base method.
type MockPubSubMockRecorder ¶
type MockPubSubMockRecorder struct {
// contains filtered or unexported fields
}
MockPubSubMockRecorder is the mock recorder for MockPubSub.
func (*MockPubSubMockRecorder) Close ¶
func (mr *MockPubSubMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockPubSubMockRecorder) Features ¶
func (mr *MockPubSubMockRecorder) Features() *gomock.Call
Features indicates an expected call of Features.
func (*MockPubSubMockRecorder) Init ¶
func (mr *MockPubSubMockRecorder) Init(arg0 interface{}) *gomock.Call
Init indicates an expected call of Init.
func (*MockPubSubMockRecorder) Publish ¶
func (mr *MockPubSubMockRecorder) Publish(arg0 interface{}) *gomock.Call
Publish indicates an expected call of Publish.
func (*MockPubSubMockRecorder) Subscribe ¶
func (mr *MockPubSubMockRecorder) Subscribe(arg0, arg1 interface{}) *gomock.Call
Subscribe indicates an expected call of Subscribe.
Click to show internal directories.
Click to hide internal directories.