Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockConfiguration
- func (m *MockConfiguration) DatabaseConnection() string
- func (m *MockConfiguration) DatabaseDialect() string
- func (m *MockConfiguration) EXPECT() *MockConfigurationMockRecorder
- func (m *MockConfiguration) Logger() log.Logger
- func (m *MockConfiguration) MaxQueryLimit() uint
- func (m *MockConfiguration) NumberOfRetries() int
- func (m *MockConfiguration) SlowQueryThreshold() time.Duration
- func (m *MockConfiguration) WaitBetweenRetries() time.Duration
- type MockConfigurationMockRecorder
- func (mr *MockConfigurationMockRecorder) DatabaseConnection() *gomock.Call
- func (mr *MockConfigurationMockRecorder) DatabaseDialect() *gomock.Call
- func (mr *MockConfigurationMockRecorder) Logger() *gomock.Call
- func (mr *MockConfigurationMockRecorder) MaxQueryLimit() *gomock.Call
- func (mr *MockConfigurationMockRecorder) NumberOfRetries() *gomock.Call
- func (mr *MockConfigurationMockRecorder) SlowQueryThreshold() *gomock.Call
- func (mr *MockConfigurationMockRecorder) WaitBetweenRetries() *gomock.Call
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 ¶
func (m *MockConfiguration) EXPECT() *MockConfigurationMockRecorder
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 ¶
func (mr *MockConfigurationMockRecorder) Logger() *gomock.Call
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.