mocks

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

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) Close

func (m *MockClient) Close() error

Close mocks base method.

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.

Jump to

Keyboard shortcuts

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