mocks

package
v2.17.1-pre Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2023 License: MIT Imports: 4 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

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 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) 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) 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