Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- 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 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) ([]byte, 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 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 []byte) 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.