Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) Close() error
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) PublishFailed(taskId, exception, traceback string) error
- func (m *MockClient) PublishReceived(taskName, args, rootId, taskId string) error
- func (m *MockClient) PublishStarted(taskId string) error
- func (m *MockClient) PublishSucceeded(taskId, result string) error
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) Close() *gomock.Call
- func (mr *MockClientMockRecorder) PublishFailed(taskId, exception, traceback any) *gomock.Call
- func (mr *MockClientMockRecorder) PublishReceived(taskName, args, rootId, taskId any) *gomock.Call
- func (mr *MockClientMockRecorder) PublishStarted(taskId any) *gomock.Call
- func (mr *MockClientMockRecorder) PublishSucceeded(taskId, result any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface.
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance.
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClient) PublishFailed ¶
func (m *MockClient) PublishFailed(taskId, exception, traceback string) error
PublishFailed mocks base method.
func (*MockClient) PublishReceived ¶
func (m *MockClient) PublishReceived(taskName, args, rootId, taskId string) error
PublishReceived mocks base method.
func (*MockClient) PublishStarted ¶
func (m *MockClient) PublishStarted(taskId string) error
PublishStarted mocks base method.
func (*MockClient) PublishSucceeded ¶
func (m *MockClient) PublishSucceeded(taskId, result string) error
PublishSucceeded mocks base method.
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient.
func (*MockClientMockRecorder) Close ¶
func (mr *MockClientMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockClientMockRecorder) PublishFailed ¶
func (mr *MockClientMockRecorder) PublishFailed(taskId, exception, traceback any) *gomock.Call
PublishFailed indicates an expected call of PublishFailed.
func (*MockClientMockRecorder) PublishReceived ¶
func (mr *MockClientMockRecorder) PublishReceived(taskName, args, rootId, taskId any) *gomock.Call
PublishReceived indicates an expected call of PublishReceived.
func (*MockClientMockRecorder) PublishStarted ¶
func (mr *MockClientMockRecorder) PublishStarted(taskId any) *gomock.Call
PublishStarted indicates an expected call of PublishStarted.
func (*MockClientMockRecorder) PublishSucceeded ¶
func (mr *MockClientMockRecorder) PublishSucceeded(taskId, result any) *gomock.Call
PublishSucceeded indicates an expected call of PublishSucceeded.