Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Index ¶
- type MockAdminAuditLogStorage
- func (m *MockAdminAuditLogStorage) CreateAdminAuditLogs(ctx context.Context, auditLogs []*domain.AuditLog) error
- func (m *MockAdminAuditLogStorage) EXPECT() *MockAdminAuditLogStorageMockRecorder
- func (m *MockAdminAuditLogStorage) ListAdminAuditLogs(ctx context.Context, whereParts []mysql.WherePart, orders []*mysql.Order, ...) ([]*auditlog.AuditLog, int, int64, error)
- type MockAdminAuditLogStorageMockRecorder
- type MockAuditLogStorage
- func (m *MockAuditLogStorage) CreateAuditLogs(ctx context.Context, auditLogs []*domain.AuditLog) error
- func (m *MockAuditLogStorage) EXPECT() *MockAuditLogStorageMockRecorder
- func (m *MockAuditLogStorage) ListAuditLogs(ctx context.Context, whereParts []mysql.WherePart, orders []*mysql.Order, ...) ([]*auditlog.AuditLog, int, int64, error)
- type MockAuditLogStorageMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAdminAuditLogStorage ¶
type MockAdminAuditLogStorage struct {
// contains filtered or unexported fields
}
MockAdminAuditLogStorage is a mock of AdminAuditLogStorage interface.
func NewMockAdminAuditLogStorage ¶
func NewMockAdminAuditLogStorage(ctrl *gomock.Controller) *MockAdminAuditLogStorage
NewMockAdminAuditLogStorage creates a new mock instance.
func (*MockAdminAuditLogStorage) CreateAdminAuditLogs ¶
func (m *MockAdminAuditLogStorage) CreateAdminAuditLogs(ctx context.Context, auditLogs []*domain.AuditLog) error
CreateAdminAuditLogs mocks base method.
func (*MockAdminAuditLogStorage) EXPECT ¶
func (m *MockAdminAuditLogStorage) EXPECT() *MockAdminAuditLogStorageMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockAdminAuditLogStorageMockRecorder ¶
type MockAdminAuditLogStorageMockRecorder struct {
// contains filtered or unexported fields
}
MockAdminAuditLogStorageMockRecorder is the mock recorder for MockAdminAuditLogStorage.
func (*MockAdminAuditLogStorageMockRecorder) CreateAdminAuditLogs ¶
func (mr *MockAdminAuditLogStorageMockRecorder) CreateAdminAuditLogs(ctx, auditLogs any) *gomock.Call
CreateAdminAuditLogs indicates an expected call of CreateAdminAuditLogs.
func (*MockAdminAuditLogStorageMockRecorder) ListAdminAuditLogs ¶
func (mr *MockAdminAuditLogStorageMockRecorder) ListAdminAuditLogs(ctx, whereParts, orders, limit, offset any) *gomock.Call
ListAdminAuditLogs indicates an expected call of ListAdminAuditLogs.
type MockAuditLogStorage ¶
type MockAuditLogStorage struct {
// contains filtered or unexported fields
}
MockAuditLogStorage is a mock of AuditLogStorage interface.
func NewMockAuditLogStorage ¶
func NewMockAuditLogStorage(ctrl *gomock.Controller) *MockAuditLogStorage
NewMockAuditLogStorage creates a new mock instance.
func (*MockAuditLogStorage) CreateAuditLogs ¶
func (m *MockAuditLogStorage) CreateAuditLogs(ctx context.Context, auditLogs []*domain.AuditLog) error
CreateAuditLogs mocks base method.
func (*MockAuditLogStorage) EXPECT ¶
func (m *MockAuditLogStorage) EXPECT() *MockAuditLogStorageMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockAuditLogStorageMockRecorder ¶
type MockAuditLogStorageMockRecorder struct {
// contains filtered or unexported fields
}
MockAuditLogStorageMockRecorder is the mock recorder for MockAuditLogStorage.
func (*MockAuditLogStorageMockRecorder) CreateAuditLogs ¶
func (mr *MockAuditLogStorageMockRecorder) CreateAuditLogs(ctx, auditLogs any) *gomock.Call
CreateAuditLogs indicates an expected call of CreateAuditLogs.
func (*MockAuditLogStorageMockRecorder) ListAuditLogs ¶
func (mr *MockAuditLogStorageMockRecorder) ListAuditLogs(ctx, whereParts, orders, limit, offset any) *gomock.Call
ListAuditLogs indicates an expected call of ListAuditLogs.