mocks

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BrokerConfig

type BrokerConfig struct {
	mock.Mock
}

BrokerConfig is an autogenerated mock type for the BrokerConfig type

func (*BrokerConfig) GetMaxMessageQueueSize

func (_m *BrokerConfig) GetMaxMessageQueueSize() uint

GetMaxMessageQueueSize provides a mock function with given fields:

func (*BrokerConfig) GetMaxRetry

func (_m *BrokerConfig) GetMaxRetry() uint8

GetMaxRetry provides a mock function with given fields:

func (*BrokerConfig) GetMaxWorkers

func (_m *BrokerConfig) GetMaxWorkers() uint

GetMaxWorkers provides a mock function with given fields:

func (*BrokerConfig) GetRationalDelay

func (_m *BrokerConfig) GetRationalDelay() time.Duration

GetRationalDelay provides a mock function with given fields:

func (*BrokerConfig) GetRetriggerBaseEndpoint

func (_m *BrokerConfig) GetRetriggerBaseEndpoint() string

GetRetriggerBaseEndpoint provides a mock function with given fields:

func (*BrokerConfig) GetRetryBackoffDelays

func (_m *BrokerConfig) GetRetryBackoffDelays() []time.Duration

GetRetryBackoffDelays provides a mock function with given fields:

func (*BrokerConfig) IsPriorityDispatcherEnabled

func (_m *BrokerConfig) IsPriorityDispatcherEnabled() bool

IsPriorityDispatcherEnabled provides a mock function with given fields:

func (*BrokerConfig) IsRecoveryWorkersEnabled

func (_m *BrokerConfig) IsRecoveryWorkersEnabled() bool

IsRecoveryWorkersEnabled provides a mock function with given fields:

type ConsumerConnectionConfig

type ConsumerConnectionConfig struct {
	mock.Mock
}

ConsumerConnectionConfig is an autogenerated mock type for the ConsumerConnectionConfig type

func (*ConsumerConnectionConfig) GetConnectionTimeout

func (_m *ConsumerConnectionConfig) GetConnectionTimeout() time.Duration

GetConnectionTimeout provides a mock function with given fields:

func (*ConsumerConnectionConfig) GetTokenRequestHeaderName

func (_m *ConsumerConnectionConfig) GetTokenRequestHeaderName() string

GetTokenRequestHeaderName provides a mock function with given fields:

func (*ConsumerConnectionConfig) GetUserAgent

func (_m *ConsumerConnectionConfig) GetUserAgent() string

GetUserAgent provides a mock function with given fields:

type HTTPConfig

type HTTPConfig struct {
	mock.Mock
}

HTTPConfig is an autogenerated mock type for the HTTPConfig type

func (*HTTPConfig) GetHTTPListeningAddr

func (_m *HTTPConfig) GetHTTPListeningAddr() string

GetHTTPListeningAddr provides a mock function with given fields:

func (*HTTPConfig) GetHTTPReadTimeout

func (_m *HTTPConfig) GetHTTPReadTimeout() time.Duration

GetHTTPReadTimeout provides a mock function with given fields:

func (*HTTPConfig) GetHTTPWriteTimeout

func (_m *HTTPConfig) GetHTTPWriteTimeout() time.Duration

GetHTTPWriteTimeout provides a mock function with given fields:

type LogConfig

type LogConfig struct {
	mock.Mock
}

LogConfig is an autogenerated mock type for the LogConfig type

func (*LogConfig) GetLogFilename

func (_m *LogConfig) GetLogFilename() string

GetLogFilename provides a mock function with given fields:

func (*LogConfig) GetLogLevel

func (_m *LogConfig) GetLogLevel() config.LogLevel

GetLogLevel provides a mock function with given fields:

func (*LogConfig) GetMaxAgeForALogFile

func (_m *LogConfig) GetMaxAgeForALogFile() uint

GetMaxAgeForALogFile provides a mock function with given fields:

func (*LogConfig) GetMaxLogBackups

func (_m *LogConfig) GetMaxLogBackups() uint

GetMaxLogBackups provides a mock function with given fields:

func (*LogConfig) GetMaxLogFileSize

func (_m *LogConfig) GetMaxLogFileSize() uint

GetMaxLogFileSize provides a mock function with given fields:

func (*LogConfig) IsCompressionEnabledOnLogBackups

func (_m *LogConfig) IsCompressionEnabledOnLogBackups() bool

IsCompressionEnabledOnLogBackups provides a mock function with given fields:

func (*LogConfig) IsLoggerConfigAvailable

func (_m *LogConfig) IsLoggerConfigAvailable() bool

IsLoggerConfigAvailable provides a mock function with given fields:

type RelationalDatabaseConfig

type RelationalDatabaseConfig struct {
	mock.Mock
}

RelationalDatabaseConfig is an autogenerated mock type for the RelationalDatabaseConfig type

func (*RelationalDatabaseConfig) GetDBConnectionMaxIdleTime

func (_m *RelationalDatabaseConfig) GetDBConnectionMaxIdleTime() time.Duration

GetDBConnectionMaxIdleTime provides a mock function with given fields:

func (*RelationalDatabaseConfig) GetDBConnectionMaxLifetime

func (_m *RelationalDatabaseConfig) GetDBConnectionMaxLifetime() time.Duration

GetDBConnectionMaxLifetime provides a mock function with given fields:

func (*RelationalDatabaseConfig) GetDBConnectionURL

func (_m *RelationalDatabaseConfig) GetDBConnectionURL() string

GetDBConnectionURL provides a mock function with given fields:

func (*RelationalDatabaseConfig) GetDBDialect

func (_m *RelationalDatabaseConfig) GetDBDialect() config.DBDialect

GetDBDialect provides a mock function with given fields:

func (*RelationalDatabaseConfig) GetMaxIdleDBConnections

func (_m *RelationalDatabaseConfig) GetMaxIdleDBConnections() uint16

GetMaxIdleDBConnections provides a mock function with given fields:

func (*RelationalDatabaseConfig) GetMaxOpenDBConnections

func (_m *RelationalDatabaseConfig) GetMaxOpenDBConnections() uint16

GetMaxOpenDBConnections provides a mock function with given fields:

type SeedDataConfig

type SeedDataConfig struct {
	mock.Mock
}

SeedDataConfig is an autogenerated mock type for the SeedDataConfig type

func (*SeedDataConfig) GetSeedData

func (_m *SeedDataConfig) GetSeedData() config.SeedData

GetSeedData provides a mock function with given fields:

Jump to

Keyboard shortcuts

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