mock

package
v0.4.7 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Index

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

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

func (*MockAdminAuditLogStorage) ListAdminAuditLogs

func (m *MockAdminAuditLogStorage) ListAdminAuditLogs(ctx context.Context, whereParts []mysql.WherePart, orders []*mysql.Order, limit, offset int) ([]*auditlog.AuditLog, int, int64, error)

ListAdminAuditLogs mocks base method.

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

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

func (*MockAuditLogStorage) ListAuditLogs

func (m *MockAuditLogStorage) ListAuditLogs(ctx context.Context, whereParts []mysql.WherePart, orders []*mysql.Order, limit, offset int) ([]*auditlog.AuditLog, int, int64, error)

ListAuditLogs mocks base method.

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.

Jump to

Keyboard shortcuts

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