mocks

package
v0.0.40 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

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 MockApiOperation added in v0.0.40

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

MockApiOperation is a mock of ApiOperation interface.

func NewMockApiOperation added in v0.0.40

func NewMockApiOperation(ctrl *gomock.Controller) *MockApiOperation

NewMockApiOperation creates a new mock instance.

func (*MockApiOperation) EXPECT added in v0.0.40

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

func (*MockApiOperation) GetOperationRequest added in v0.0.40

func (m *MockApiOperation) GetOperationRequest() *operation.OperationRequest

GetOperationRequest mocks base method.

func (*MockApiOperation) GuardConcurrency added in v0.0.40

func (m *MockApiOperation) GuardConcurrency(arg0 context.Context, arg1 entity.Entity) *errors.AsyncError

GuardConcurrency mocks base method.

func (*MockApiOperation) InitOperation added in v0.0.40

InitOperation mocks base method.

func (*MockApiOperation) Run added in v0.0.40

Run mocks base method.

type MockApiOperationMockRecorder added in v0.0.40

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

MockApiOperationMockRecorder is the mock recorder for MockApiOperation.

func (*MockApiOperationMockRecorder) GetOperationRequest added in v0.0.40

func (mr *MockApiOperationMockRecorder) GetOperationRequest() *gomock.Call

GetOperationRequest indicates an expected call of GetOperationRequest.

func (*MockApiOperationMockRecorder) GuardConcurrency added in v0.0.40

func (mr *MockApiOperationMockRecorder) GuardConcurrency(arg0, arg1 any) *gomock.Call

GuardConcurrency indicates an expected call of GuardConcurrency.

func (*MockApiOperationMockRecorder) InitOperation added in v0.0.40

func (mr *MockApiOperationMockRecorder) InitOperation(arg0, arg1 any) *gomock.Call

InitOperation indicates an expected call of InitOperation.

func (*MockApiOperationMockRecorder) Run added in v0.0.40

Run indicates an expected call of Run.

type MockEntity added in v0.0.40

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

MockEntity is a mock of Entity interface.

func NewMockEntity added in v0.0.40

func NewMockEntity(ctrl *gomock.Controller) *MockEntity

NewMockEntity creates a new mock instance.

func (*MockEntity) EXPECT added in v0.0.40

func (m *MockEntity) EXPECT() *MockEntityMockRecorder

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

func (*MockEntity) GetLatestOperationID added in v0.0.40

func (m *MockEntity) GetLatestOperationID() string

GetLatestOperationID mocks base method.

type MockEntityController added in v0.0.40

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

MockEntityController is a mock of EntityController interface.

func NewMockEntityController added in v0.0.40

func NewMockEntityController(ctrl *gomock.Controller) *MockEntityController

NewMockEntityController creates a new mock instance.

func (*MockEntityController) EXPECT added in v0.0.40

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

func (*MockEntityController) GetEntity added in v0.0.40

GetEntity mocks base method.

type MockEntityControllerMockRecorder added in v0.0.40

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

MockEntityControllerMockRecorder is the mock recorder for MockEntityController.

func (*MockEntityControllerMockRecorder) GetEntity added in v0.0.40

func (mr *MockEntityControllerMockRecorder) GetEntity(arg0, arg1 any) *gomock.Call

GetEntity indicates an expected call of GetEntity.

type MockEntityMockRecorder added in v0.0.40

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

MockEntityMockRecorder is the mock recorder for MockEntity.

func (*MockEntityMockRecorder) GetLatestOperationID added in v0.0.40

func (mr *MockEntityMockRecorder) GetLatestOperationID() *gomock.Call

GetLatestOperationID indicates an expected call of GetLatestOperationID.

type MockReceiverInterface

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

MockReceiverInterface is a mock of ReceiverInterface interface.

func NewMockReceiverInterface

func NewMockReceiverInterface(ctrl *gomock.Controller) *MockReceiverInterface

NewMockReceiverInterface creates a new mock instance.

func (*MockReceiverInterface) EXPECT

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

func (*MockReceiverInterface) GetAzureReceiver added in v0.0.29

func (m *MockReceiverInterface) GetAzureReceiver() (*azservicebus.Receiver, error)

GetAzureReceiver mocks base method.

func (*MockReceiverInterface) ReceiveMessage

ReceiveMessage mocks base method.

type MockReceiverInterfaceMockRecorder

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

MockReceiverInterfaceMockRecorder is the mock recorder for MockReceiverInterface.

func (*MockReceiverInterfaceMockRecorder) GetAzureReceiver added in v0.0.29

func (mr *MockReceiverInterfaceMockRecorder) GetAzureReceiver() *gomock.Call

GetAzureReceiver indicates an expected call of GetAzureReceiver.

func (*MockReceiverInterfaceMockRecorder) ReceiveMessage

func (mr *MockReceiverInterfaceMockRecorder) ReceiveMessage(ctx, maxMessages, options any) *gomock.Call

ReceiveMessage indicates an expected call of ReceiveMessage.

type MockSenderInterface

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

MockSenderInterface is a mock of SenderInterface interface.

func NewMockSenderInterface

func NewMockSenderInterface(ctrl *gomock.Controller) *MockSenderInterface

NewMockSenderInterface creates a new mock instance.

func (*MockSenderInterface) EXPECT

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

func (*MockSenderInterface) GetAzureSender added in v0.0.29

func (m *MockSenderInterface) GetAzureSender() (*azservicebus.Sender, error)

GetAzureSender mocks base method.

func (*MockSenderInterface) SendMessage

func (m *MockSenderInterface) SendMessage(ctx context.Context, message *azservicebus.Message) error

SendMessage mocks base method.

type MockSenderInterfaceMockRecorder

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

MockSenderInterfaceMockRecorder is the mock recorder for MockSenderInterface.

func (*MockSenderInterfaceMockRecorder) GetAzureSender added in v0.0.29

func (mr *MockSenderInterfaceMockRecorder) GetAzureSender() *gomock.Call

GetAzureSender indicates an expected call of GetAzureSender.

func (*MockSenderInterfaceMockRecorder) SendMessage

func (mr *MockSenderInterfaceMockRecorder) SendMessage(ctx, message any) *gomock.Call

SendMessage indicates an expected call of SendMessage.

type MockServiceBusClientInterface

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

MockServiceBusClientInterface is a mock of ServiceBusClientInterface interface.

func NewMockServiceBusClientInterface

func NewMockServiceBusClientInterface(ctrl *gomock.Controller) *MockServiceBusClientInterface

NewMockServiceBusClientInterface creates a new mock instance.

func (*MockServiceBusClientInterface) EXPECT

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

func (*MockServiceBusClientInterface) NewServiceBusReceiver

func (m *MockServiceBusClientInterface) NewServiceBusReceiver(ctx context.Context, topicOrQueue string, options *azservicebus.ReceiverOptions) (servicebus.ReceiverInterface, error)

NewServiceBusReceiver mocks base method.

func (*MockServiceBusClientInterface) NewServiceBusSender

NewServiceBusSender mocks base method.

type MockServiceBusClientInterfaceMockRecorder

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

MockServiceBusClientInterfaceMockRecorder is the mock recorder for MockServiceBusClientInterface.

func (*MockServiceBusClientInterfaceMockRecorder) NewServiceBusReceiver

func (mr *MockServiceBusClientInterfaceMockRecorder) NewServiceBusReceiver(ctx, topicOrQueue, options any) *gomock.Call

NewServiceBusReceiver indicates an expected call of NewServiceBusReceiver.

func (*MockServiceBusClientInterfaceMockRecorder) NewServiceBusSender

func (mr *MockServiceBusClientInterfaceMockRecorder) NewServiceBusSender(ctx, queue, options any) *gomock.Call

NewServiceBusSender indicates an expected call of NewServiceBusSender.

Jump to

Keyboard shortcuts

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