mock_repositorych

package
v0.52.0 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock_repositorych is a generated GoMock package.

Package mock_repositorych is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockConn added in v0.52.0

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

MockConn is a mock of Conn interface.

func NewMockConn added in v0.52.0

func NewMockConn(ctrl *gomock.Controller) *MockConn

NewMockConn creates a new mock instance.

func (*MockConn) AsyncInsert added in v0.52.0

func (m *MockConn) AsyncInsert(ctx context.Context, query string, wait bool, args ...any) error

AsyncInsert mocks base method.

func (*MockConn) Close added in v0.52.0

func (m *MockConn) Close() error

Close mocks base method.

func (*MockConn) Contributors added in v0.52.0

func (m *MockConn) Contributors() []string

Contributors mocks base method.

func (*MockConn) EXPECT added in v0.52.0

func (m *MockConn) EXPECT() *MockConnMockRecorder

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

func (*MockConn) Exec added in v0.52.0

func (m *MockConn) Exec(ctx context.Context, query string, args ...any) error

Exec mocks base method.

func (*MockConn) Ping added in v0.52.0

func (m *MockConn) Ping(arg0 context.Context) error

Ping mocks base method.

func (*MockConn) PrepareBatch added in v0.52.0

func (m *MockConn) PrepareBatch(ctx context.Context, query string, opts ...driver.PrepareBatchOption) (driver.Batch, error)

PrepareBatch mocks base method.

func (*MockConn) Query added in v0.52.0

func (m *MockConn) Query(ctx context.Context, query string, args ...any) (driver.Rows, error)

Query mocks base method.

func (*MockConn) QueryRow added in v0.52.0

func (m *MockConn) QueryRow(ctx context.Context, query string, args ...any) driver.Row

QueryRow mocks base method.

func (*MockConn) Select added in v0.52.0

func (m *MockConn) Select(ctx context.Context, dest any, query string, args ...any) error

Select mocks base method.

func (*MockConn) ServerVersion added in v0.52.0

func (m *MockConn) ServerVersion() (*driver.ServerVersion, error)

ServerVersion mocks base method.

func (*MockConn) Stats added in v0.52.0

func (m *MockConn) Stats() driver.Stats

Stats mocks base method.

type MockConnMockRecorder added in v0.52.0

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

MockConnMockRecorder is the mock recorder for MockConn.

func (*MockConnMockRecorder) AsyncInsert added in v0.52.0

func (mr *MockConnMockRecorder) AsyncInsert(ctx, query, wait any, args ...any) *gomock.Call

AsyncInsert indicates an expected call of AsyncInsert.

func (*MockConnMockRecorder) Close added in v0.52.0

func (mr *MockConnMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close.

func (*MockConnMockRecorder) Contributors added in v0.52.0

func (mr *MockConnMockRecorder) Contributors() *gomock.Call

Contributors indicates an expected call of Contributors.

func (*MockConnMockRecorder) Exec added in v0.52.0

func (mr *MockConnMockRecorder) Exec(ctx, query any, args ...any) *gomock.Call

Exec indicates an expected call of Exec.

func (*MockConnMockRecorder) Ping added in v0.52.0

func (mr *MockConnMockRecorder) Ping(arg0 any) *gomock.Call

Ping indicates an expected call of Ping.

func (*MockConnMockRecorder) PrepareBatch added in v0.52.0

func (mr *MockConnMockRecorder) PrepareBatch(ctx, query any, opts ...any) *gomock.Call

PrepareBatch indicates an expected call of PrepareBatch.

func (*MockConnMockRecorder) Query added in v0.52.0

func (mr *MockConnMockRecorder) Query(ctx, query any, args ...any) *gomock.Call

Query indicates an expected call of Query.

func (*MockConnMockRecorder) QueryRow added in v0.52.0

func (mr *MockConnMockRecorder) QueryRow(ctx, query any, args ...any) *gomock.Call

QueryRow indicates an expected call of QueryRow.

func (*MockConnMockRecorder) Select added in v0.52.0

func (mr *MockConnMockRecorder) Select(ctx, dest, query any, args ...any) *gomock.Call

Select indicates an expected call of Select.

func (*MockConnMockRecorder) ServerVersion added in v0.52.0

func (mr *MockConnMockRecorder) ServerVersion() *gomock.Call

ServerVersion indicates an expected call of ServerVersion.

func (*MockConnMockRecorder) Stats added in v0.52.0

func (mr *MockConnMockRecorder) Stats() *gomock.Call

Stats indicates an expected call of Stats.

type MockRepository

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

MockRepository is a mock of Repository interface.

func NewMockRepository

func NewMockRepository(ctrl *gomock.Controller) *MockRepository

NewMockRepository creates a new mock instance.

func (*MockRepository) DiffByReleases added in v0.52.0

func (m *MockRepository) DiffByReleases(arg0 context.Context, arg1 types.DiffByReleasesRequest) ([]types.DiffGroup, error)

DiffByReleases mocks base method.

func (*MockRepository) DiffByReleasesTotal added in v0.52.0

func (m *MockRepository) DiffByReleasesTotal(arg0 context.Context, arg1 types.DiffByReleasesRequest) (uint64, error)

DiffByReleasesTotal mocks base method.

func (*MockRepository) EXPECT

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

func (*MockRepository) GetErrorCounts

GetErrorCounts mocks base method.

func (*MockRepository) GetErrorDetails

GetErrorDetails mocks base method.

func (*MockRepository) GetErrorGroups

func (m *MockRepository) GetErrorGroups(arg0 context.Context, arg1 types.GetErrorGroupsRequest) ([]types.ErrorGroup, error)

GetErrorGroups mocks base method.

func (*MockRepository) GetErrorGroupsCount

func (m *MockRepository) GetErrorGroupsCount(arg0 context.Context, arg1 types.GetErrorGroupsRequest) (uint64, error)

GetErrorGroupsCount mocks base method.

func (*MockRepository) GetErrorHist

GetErrorHist mocks base method.

func (*MockRepository) GetErrorReleases

func (m *MockRepository) GetErrorReleases(arg0 context.Context, arg1 types.GetErrorGroupReleasesRequest) ([]string, error)

GetErrorReleases mocks base method.

func (*MockRepository) GetNewErrorGroups added in v0.52.0

func (m *MockRepository) GetNewErrorGroups(arg0 context.Context, arg1 types.GetErrorGroupsRequest) ([]types.ErrorGroup, error)

GetNewErrorGroups mocks base method.

func (*MockRepository) GetNewErrorGroupsCount added in v0.52.0

func (m *MockRepository) GetNewErrorGroupsCount(arg0 context.Context, arg1 types.GetErrorGroupsRequest) (uint64, error)

GetNewErrorGroupsCount mocks base method.

func (*MockRepository) GetServices

func (m *MockRepository) GetServices(arg0 context.Context, arg1 types.GetServicesRequest) ([]string, error)

GetServices mocks base method.

type MockRepositoryMockRecorder

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

MockRepositoryMockRecorder is the mock recorder for MockRepository.

func (*MockRepositoryMockRecorder) DiffByReleases added in v0.52.0

func (mr *MockRepositoryMockRecorder) DiffByReleases(arg0, arg1 any) *gomock.Call

DiffByReleases indicates an expected call of DiffByReleases.

func (*MockRepositoryMockRecorder) DiffByReleasesTotal added in v0.52.0

func (mr *MockRepositoryMockRecorder) DiffByReleasesTotal(arg0, arg1 any) *gomock.Call

DiffByReleasesTotal indicates an expected call of DiffByReleasesTotal.

func (*MockRepositoryMockRecorder) GetErrorCounts

func (mr *MockRepositoryMockRecorder) GetErrorCounts(arg0, arg1 any) *gomock.Call

GetErrorCounts indicates an expected call of GetErrorCounts.

func (*MockRepositoryMockRecorder) GetErrorDetails

func (mr *MockRepositoryMockRecorder) GetErrorDetails(arg0, arg1 any) *gomock.Call

GetErrorDetails indicates an expected call of GetErrorDetails.

func (*MockRepositoryMockRecorder) GetErrorGroups

func (mr *MockRepositoryMockRecorder) GetErrorGroups(arg0, arg1 any) *gomock.Call

GetErrorGroups indicates an expected call of GetErrorGroups.

func (*MockRepositoryMockRecorder) GetErrorGroupsCount

func (mr *MockRepositoryMockRecorder) GetErrorGroupsCount(arg0, arg1 any) *gomock.Call

GetErrorGroupsCount indicates an expected call of GetErrorGroupsCount.

func (*MockRepositoryMockRecorder) GetErrorHist

func (mr *MockRepositoryMockRecorder) GetErrorHist(arg0, arg1 any) *gomock.Call

GetErrorHist indicates an expected call of GetErrorHist.

func (*MockRepositoryMockRecorder) GetErrorReleases

func (mr *MockRepositoryMockRecorder) GetErrorReleases(arg0, arg1 any) *gomock.Call

GetErrorReleases indicates an expected call of GetErrorReleases.

func (*MockRepositoryMockRecorder) GetNewErrorGroups added in v0.52.0

func (mr *MockRepositoryMockRecorder) GetNewErrorGroups(arg0, arg1 any) *gomock.Call

GetNewErrorGroups indicates an expected call of GetNewErrorGroups.

func (*MockRepositoryMockRecorder) GetNewErrorGroupsCount added in v0.52.0

func (mr *MockRepositoryMockRecorder) GetNewErrorGroupsCount(arg0, arg1 any) *gomock.Call

GetNewErrorGroupsCount indicates an expected call of GetNewErrorGroupsCount.

func (*MockRepositoryMockRecorder) GetServices

func (mr *MockRepositoryMockRecorder) GetServices(arg0, arg1 any) *gomock.Call

GetServices indicates an expected call of GetServices.

type MockRow added in v0.52.0

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

MockRow is a mock of Row interface.

func NewMockRow added in v0.52.0

func NewMockRow(ctrl *gomock.Controller) *MockRow

NewMockRow creates a new mock instance.

func (*MockRow) EXPECT added in v0.52.0

func (m *MockRow) EXPECT() *MockRowMockRecorder

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

func (*MockRow) Err added in v0.52.0

func (m *MockRow) Err() error

Err mocks base method.

func (*MockRow) Scan added in v0.52.0

func (m *MockRow) Scan(dest ...any) error

Scan mocks base method.

func (*MockRow) ScanStruct added in v0.52.0

func (m *MockRow) ScanStruct(dest any) error

ScanStruct mocks base method.

type MockRowMockRecorder added in v0.52.0

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

MockRowMockRecorder is the mock recorder for MockRow.

func (*MockRowMockRecorder) Err added in v0.52.0

func (mr *MockRowMockRecorder) Err() *gomock.Call

Err indicates an expected call of Err.

func (*MockRowMockRecorder) Scan added in v0.52.0

func (mr *MockRowMockRecorder) Scan(dest ...any) *gomock.Call

Scan indicates an expected call of Scan.

func (*MockRowMockRecorder) ScanStruct added in v0.52.0

func (mr *MockRowMockRecorder) ScanStruct(dest any) *gomock.Call

ScanStruct indicates an expected call of ScanStruct.

type MockRows added in v0.52.0

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

MockRows is a mock of Rows interface.

func NewMockRows added in v0.52.0

func NewMockRows(ctrl *gomock.Controller) *MockRows

NewMockRows creates a new mock instance.

func (*MockRows) Close added in v0.52.0

func (m *MockRows) Close() error

Close mocks base method.

func (*MockRows) ColumnTypes added in v0.52.0

func (m *MockRows) ColumnTypes() []driver.ColumnType

ColumnTypes mocks base method.

func (*MockRows) Columns added in v0.52.0

func (m *MockRows) Columns() []string

Columns mocks base method.

func (*MockRows) EXPECT added in v0.52.0

func (m *MockRows) EXPECT() *MockRowsMockRecorder

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

func (*MockRows) Err added in v0.52.0

func (m *MockRows) Err() error

Err mocks base method.

func (*MockRows) Next added in v0.52.0

func (m *MockRows) Next() bool

Next mocks base method.

func (*MockRows) Scan added in v0.52.0

func (m *MockRows) Scan(dest ...any) error

Scan mocks base method.

func (*MockRows) ScanStruct added in v0.52.0

func (m *MockRows) ScanStruct(dest any) error

ScanStruct mocks base method.

func (*MockRows) Totals added in v0.52.0

func (m *MockRows) Totals(dest ...any) error

Totals mocks base method.

type MockRowsMockRecorder added in v0.52.0

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

MockRowsMockRecorder is the mock recorder for MockRows.

func (*MockRowsMockRecorder) Close added in v0.52.0

func (mr *MockRowsMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close.

func (*MockRowsMockRecorder) ColumnTypes added in v0.52.0

func (mr *MockRowsMockRecorder) ColumnTypes() *gomock.Call

ColumnTypes indicates an expected call of ColumnTypes.

func (*MockRowsMockRecorder) Columns added in v0.52.0

func (mr *MockRowsMockRecorder) Columns() *gomock.Call

Columns indicates an expected call of Columns.

func (*MockRowsMockRecorder) Err added in v0.52.0

func (mr *MockRowsMockRecorder) Err() *gomock.Call

Err indicates an expected call of Err.

func (*MockRowsMockRecorder) Next added in v0.52.0

func (mr *MockRowsMockRecorder) Next() *gomock.Call

Next indicates an expected call of Next.

func (*MockRowsMockRecorder) Scan added in v0.52.0

func (mr *MockRowsMockRecorder) Scan(dest ...any) *gomock.Call

Scan indicates an expected call of Scan.

func (*MockRowsMockRecorder) ScanStruct added in v0.52.0

func (mr *MockRowsMockRecorder) ScanStruct(dest any) *gomock.Call

ScanStruct indicates an expected call of ScanStruct.

func (*MockRowsMockRecorder) Totals added in v0.52.0

func (mr *MockRowsMockRecorder) Totals(dest ...any) *gomock.Call

Totals indicates an expected call of Totals.

Jump to

Keyboard shortcuts

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