 Documentation
      ¶
      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 ¶
- type MockApiOperation
- func (m *MockApiOperation) EXPECT() *MockApiOperationMockRecorder
- func (m *MockApiOperation) GetOperationRequest() *operation.OperationRequest
- func (m *MockApiOperation) GuardConcurrency(arg0 context.Context, arg1 entity.Entity) *errors.AsyncError
- func (m *MockApiOperation) InitOperation(arg0 context.Context, arg1 *operation.OperationRequest) (operation.ApiOperation, *errors.AsyncError)
- func (m *MockApiOperation) Run(arg0 context.Context) *errors.AsyncError
 
- type MockApiOperationMockRecorder
- func (mr *MockApiOperationMockRecorder) GetOperationRequest() *gomock.Call
- func (mr *MockApiOperationMockRecorder) GuardConcurrency(arg0, arg1 any) *gomock.Call
- func (mr *MockApiOperationMockRecorder) InitOperation(arg0, arg1 any) *gomock.Call
- func (mr *MockApiOperationMockRecorder) Run(arg0 any) *gomock.Call
 
- type MockEntity
- type MockEntityController
- type MockEntityControllerMockRecorder
- type MockEntityMockRecorder
- type MockReceiverInterface
- type MockReceiverInterfaceMockRecorder
- type MockSenderInterface
- type MockSenderInterfaceMockRecorder
- type MockServiceBusClientInterface
- func (m *MockServiceBusClientInterface) EXPECT() *MockServiceBusClientInterfaceMockRecorder
- func (m *MockServiceBusClientInterface) NewServiceBusReceiver(ctx context.Context, topicOrQueue string, ...) (servicebus.ReceiverInterface, error)
- func (m *MockServiceBusClientInterface) NewServiceBusSender(ctx context.Context, queue string, options *azservicebus.NewSenderOptions) (servicebus.SenderInterface, error)
 
- type MockServiceBusClientInterfaceMockRecorder
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
func (m *MockApiOperation) EXPECT() *MockApiOperationMockRecorder
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
func (m *MockApiOperation) InitOperation(arg0 context.Context, arg1 *operation.OperationRequest) (operation.ApiOperation, *errors.AsyncError)
InitOperation mocks base method.
func (*MockApiOperation) Run ¶ added in v0.0.40
func (m *MockApiOperation) Run(arg0 context.Context) *errors.AsyncError
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.
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
func (m *MockEntityController) EXPECT() *MockEntityControllerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockEntityController) GetEntity ¶ added in v0.0.40
func (m *MockEntityController) GetEntity(arg0 context.Context, arg1 *operation.OperationRequest) (entity.Entity, *errors.AsyncError)
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.
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 ¶
func (m *MockReceiverInterface) EXPECT() *MockReceiverInterfaceMockRecorder
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 ¶
func (m *MockReceiverInterface) ReceiveMessage(ctx context.Context, maxMessages int, options *azservicebus.ReceiveMessagesOptions) ([]*azservicebus.ReceivedMessage, error)
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 ¶
func (m *MockSenderInterface) EXPECT() *MockSenderInterfaceMockRecorder
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 ¶
func (m *MockServiceBusClientInterface) EXPECT() *MockServiceBusClientInterfaceMockRecorder
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 ¶
func (m *MockServiceBusClientInterface) NewServiceBusSender(ctx context.Context, queue string, options *azservicebus.NewSenderOptions) (servicebus.SenderInterface, error)
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.