mocks

package
v2.24.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: MIT Imports: 7 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Code generated by MockGen. DO NOT EDIT. Source: bulkcreate.go

Generated by this command:

mockgen -source=bulkcreate.go -package mocks -destination mocks/bulkcreate.mock.gen.go

Package mocks is a generated GoMock package.

Code generated by MockGen. DO NOT EDIT. Source: bulkupdate.go

Generated by this command:

mockgen -source=bulkupdate.go -package mocks -destination mocks/bulkupdate.mock.gen.go

Package mocks is a generated GoMock package.

Code generated by MockGen. DO NOT EDIT. Source: configuration.go

Generated by this command:

mockgen -source=configuration.go -package mocks -destination mocks/configuration.mock.gen.go

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBulkCreate added in v2.18.6

type MockBulkCreate[T record.Record] struct {
	// contains filtered or unexported fields
}

MockBulkCreate is a mock of BulkCreate interface.

func NewMockBulkCreate added in v2.18.6

func NewMockBulkCreate[T record.Record](ctrl *gomock.Controller) *MockBulkCreate[T]

NewMockBulkCreate creates a new mock instance.

func (*MockBulkCreate[T]) Commit added in v2.18.6

func (m *MockBulkCreate[T]) Commit() (sql.Result, errors.TracerError)

Commit mocks base method.

func (*MockBulkCreate[T]) Create added in v2.18.6

func (m *MockBulkCreate[T]) Create(objs ...T)

Create mocks base method.

func (*MockBulkCreate[T]) EXPECT added in v2.18.6

func (m *MockBulkCreate[T]) EXPECT() *MockBulkCreateMockRecorder[T]

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

func (*MockBulkCreate[T]) Reset added in v2.18.6

func (m *MockBulkCreate[T]) Reset() errors.TracerError

Reset mocks base method.

func (*MockBulkCreate[T]) Rollback added in v2.18.6

func (m *MockBulkCreate[T]) Rollback() errors.TracerError

Rollback mocks base method.

type MockBulkCreateMockRecorder added in v2.18.6

type MockBulkCreateMockRecorder[T record.Record] struct {
	// contains filtered or unexported fields
}

MockBulkCreateMockRecorder is the mock recorder for MockBulkCreate.

func (*MockBulkCreateMockRecorder[T]) Commit added in v2.18.6

func (mr *MockBulkCreateMockRecorder[T]) Commit() *gomock.Call

Commit indicates an expected call of Commit.

func (*MockBulkCreateMockRecorder[T]) Create added in v2.18.6

func (mr *MockBulkCreateMockRecorder[T]) Create(objs ...any) *gomock.Call

Create indicates an expected call of Create.

func (*MockBulkCreateMockRecorder[T]) Reset added in v2.18.6

func (mr *MockBulkCreateMockRecorder[T]) Reset() *gomock.Call

Reset indicates an expected call of Reset.

func (*MockBulkCreateMockRecorder[T]) Rollback added in v2.18.6

func (mr *MockBulkCreateMockRecorder[T]) Rollback() *gomock.Call

Rollback indicates an expected call of Rollback.

type MockBulkUpdate added in v2.18.6

type MockBulkUpdate[T record.Record] struct {
	// contains filtered or unexported fields
}

MockBulkUpdate is a mock of BulkUpdate interface.

func NewMockBulkUpdate added in v2.18.6

func NewMockBulkUpdate[T record.Record](ctrl *gomock.Controller) *MockBulkUpdate[T]

NewMockBulkUpdate creates a new mock instance.

func (*MockBulkUpdate[T]) Commit added in v2.18.6

func (m *MockBulkUpdate[T]) Commit() (sql.Result, errors.TracerError)

Commit mocks base method.

func (*MockBulkUpdate[T]) EXPECT added in v2.18.6

func (m *MockBulkUpdate[T]) EXPECT() *MockBulkUpdateMockRecorder[T]

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

func (*MockBulkUpdate[T]) Reset added in v2.18.6

func (m *MockBulkUpdate[T]) Reset() errors.TracerError

Reset mocks base method.

func (*MockBulkUpdate[T]) Rollback added in v2.18.6

func (m *MockBulkUpdate[T]) Rollback() errors.TracerError

Rollback mocks base method.

func (*MockBulkUpdate[T]) Update added in v2.18.6

func (m *MockBulkUpdate[T]) Update(objs ...T)

Update mocks base method.

type MockBulkUpdateMockRecorder added in v2.18.6

type MockBulkUpdateMockRecorder[T record.Record] struct {
	// contains filtered or unexported fields
}

MockBulkUpdateMockRecorder is the mock recorder for MockBulkUpdate.

func (*MockBulkUpdateMockRecorder[T]) Commit added in v2.18.6

func (mr *MockBulkUpdateMockRecorder[T]) Commit() *gomock.Call

Commit indicates an expected call of Commit.

func (*MockBulkUpdateMockRecorder[T]) Reset added in v2.18.6

func (mr *MockBulkUpdateMockRecorder[T]) Reset() *gomock.Call

Reset indicates an expected call of Reset.

func (*MockBulkUpdateMockRecorder[T]) Rollback added in v2.18.6

func (mr *MockBulkUpdateMockRecorder[T]) Rollback() *gomock.Call

Rollback indicates an expected call of Rollback.

func (*MockBulkUpdateMockRecorder[T]) Update added in v2.18.6

func (mr *MockBulkUpdateMockRecorder[T]) Update(objs ...any) *gomock.Call

Update indicates an expected call of Update.

type MockConfiguration

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

MockConfiguration is a mock of Configuration interface.

func NewMockConfiguration

func NewMockConfiguration(ctrl *gomock.Controller) *MockConfiguration

NewMockConfiguration creates a new mock instance.

func (*MockConfiguration) DatabaseConnection

func (m *MockConfiguration) DatabaseConnection() string

DatabaseConnection mocks base method.

func (*MockConfiguration) DatabaseDialect

func (m *MockConfiguration) DatabaseDialect() string

DatabaseDialect mocks base method.

func (*MockConfiguration) EXPECT

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

func (*MockConfiguration) LoggedSlowQueries added in v2.18.5

func (m *MockConfiguration) LoggedSlowQueries() map[string]time.Duration

LoggedSlowQueries mocks base method.

func (*MockConfiguration) Logger

func (m *MockConfiguration) Logger() log.Logger

Logger mocks base method.

func (*MockConfiguration) MaxQueryLimit

func (m *MockConfiguration) MaxQueryLimit() uint

MaxQueryLimit mocks base method.

func (*MockConfiguration) NumberOfRetries

func (m *MockConfiguration) NumberOfRetries() int

NumberOfRetries mocks base method.

func (*MockConfiguration) SlowQueryThreshold

func (m *MockConfiguration) SlowQueryThreshold() time.Duration

SlowQueryThreshold mocks base method.

func (*MockConfiguration) WaitBetweenRetries

func (m *MockConfiguration) WaitBetweenRetries() time.Duration

WaitBetweenRetries mocks base method.

type MockConfigurationMockRecorder

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

MockConfigurationMockRecorder is the mock recorder for MockConfiguration.

func (*MockConfigurationMockRecorder) DatabaseConnection

func (mr *MockConfigurationMockRecorder) DatabaseConnection() *gomock.Call

DatabaseConnection indicates an expected call of DatabaseConnection.

func (*MockConfigurationMockRecorder) DatabaseDialect

func (mr *MockConfigurationMockRecorder) DatabaseDialect() *gomock.Call

DatabaseDialect indicates an expected call of DatabaseDialect.

func (*MockConfigurationMockRecorder) LoggedSlowQueries added in v2.18.5

func (mr *MockConfigurationMockRecorder) LoggedSlowQueries() *gomock.Call

LoggedSlowQueries indicates an expected call of LoggedSlowQueries.

func (*MockConfigurationMockRecorder) Logger

Logger indicates an expected call of Logger.

func (*MockConfigurationMockRecorder) MaxQueryLimit

func (mr *MockConfigurationMockRecorder) MaxQueryLimit() *gomock.Call

MaxQueryLimit indicates an expected call of MaxQueryLimit.

func (*MockConfigurationMockRecorder) NumberOfRetries

func (mr *MockConfigurationMockRecorder) NumberOfRetries() *gomock.Call

NumberOfRetries indicates an expected call of NumberOfRetries.

func (*MockConfigurationMockRecorder) SlowQueryThreshold

func (mr *MockConfigurationMockRecorder) SlowQueryThreshold() *gomock.Call

SlowQueryThreshold indicates an expected call of SlowQueryThreshold.

func (*MockConfigurationMockRecorder) WaitBetweenRetries

func (mr *MockConfigurationMockRecorder) WaitBetweenRetries() *gomock.Call

WaitBetweenRetries indicates an expected call of WaitBetweenRetries.

Jump to

Keyboard shortcuts

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