global_config_mock

package
v0.0.0-...-9f5e8be Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GlobalConfigProvider

type GlobalConfigProvider struct {
	mock.Mock
}

GlobalConfigProvider is an autogenerated mock type for the GlobalConfigProvider type

func NewGlobalConfigProvider

func NewGlobalConfigProvider(t interface {
	mock.TestingT
	Cleanup(func())
}) *GlobalConfigProvider

NewGlobalConfigProvider creates a new instance of GlobalConfigProvider. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*GlobalConfigProvider) EXPECT

func (*GlobalConfigProvider) GetAPIKey

func (_m *GlobalConfigProvider) GetAPIKey() string

GetAPIKey provides a mock function with given fields:

func (*GlobalConfigProvider) GetAltruistRequestTimeout

func (_m *GlobalConfigProvider) GetAltruistRequestTimeout() time.Duration

GetAltruistRequestTimeout provides a mock function with given fields:

func (*GlobalConfigProvider) GetChainNetwork

func (_m *GlobalConfigProvider) GetChainNetwork() chain_network.ChainNetwork

GetChainNetwork provides a mock function with given fields:

func (*GlobalConfigProvider) GetDatabaseConnectionUrl

func (_m *GlobalConfigProvider) GetDatabaseConnectionUrl() string

GetDatabaseConnectionUrl provides a mock function with given fields:

func (*GlobalConfigProvider) GetEnvironmentStage

func (_m *GlobalConfigProvider) GetEnvironmentStage() global_config.EnvironmentStage

GetEnvironmentStage provides a mock function with given fields:

func (*GlobalConfigProvider) GetPoktApplicationsEncryptionKey

func (_m *GlobalConfigProvider) GetPoktApplicationsEncryptionKey() string

GetPoktApplicationsEncryptionKey provides a mock function with given fields:

func (*GlobalConfigProvider) GetPoktRPCFullHost

func (_m *GlobalConfigProvider) GetPoktRPCFullHost() string

GetPoktRPCFullHost provides a mock function with given fields:

func (*GlobalConfigProvider) GetPoktRPCRequestTimeout

func (_m *GlobalConfigProvider) GetPoktRPCRequestTimeout() time.Duration

GetPoktRPCRequestTimeout provides a mock function with given fields:

func (*GlobalConfigProvider) ShouldEmitServiceUrlPromMetrics

func (_m *GlobalConfigProvider) ShouldEmitServiceUrlPromMetrics() bool

ShouldEmitServiceUrlPromMetrics provides a mock function with given fields:

type GlobalConfigProvider_Expecter

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

func (*GlobalConfigProvider_Expecter) GetAPIKey

GetAPIKey is a helper method to define mock.On call

func (*GlobalConfigProvider_Expecter) GetAltruistRequestTimeout

GetAltruistRequestTimeout is a helper method to define mock.On call

func (*GlobalConfigProvider_Expecter) GetChainNetwork

GetChainNetwork is a helper method to define mock.On call

func (*GlobalConfigProvider_Expecter) GetDatabaseConnectionUrl

GetDatabaseConnectionUrl is a helper method to define mock.On call

func (*GlobalConfigProvider_Expecter) GetEnvironmentStage

GetEnvironmentStage is a helper method to define mock.On call

func (*GlobalConfigProvider_Expecter) GetPoktApplicationsEncryptionKey

GetPoktApplicationsEncryptionKey is a helper method to define mock.On call

func (*GlobalConfigProvider_Expecter) GetPoktRPCFullHost

GetPoktRPCFullHost is a helper method to define mock.On call

func (*GlobalConfigProvider_Expecter) GetPoktRPCRequestTimeout

GetPoktRPCRequestTimeout is a helper method to define mock.On call

func (*GlobalConfigProvider_Expecter) ShouldEmitServiceUrlPromMetrics

ShouldEmitServiceUrlPromMetrics is a helper method to define mock.On call

type GlobalConfigProvider_GetAPIKey_Call

type GlobalConfigProvider_GetAPIKey_Call struct {
	*mock.Call
}

GlobalConfigProvider_GetAPIKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAPIKey'

func (*GlobalConfigProvider_GetAPIKey_Call) Return

func (*GlobalConfigProvider_GetAPIKey_Call) Run

func (*GlobalConfigProvider_GetAPIKey_Call) RunAndReturn

type GlobalConfigProvider_GetAltruistRequestTimeout_Call

type GlobalConfigProvider_GetAltruistRequestTimeout_Call struct {
	*mock.Call
}

GlobalConfigProvider_GetAltruistRequestTimeout_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAltruistRequestTimeout'

func (*GlobalConfigProvider_GetAltruistRequestTimeout_Call) Return

func (*GlobalConfigProvider_GetAltruistRequestTimeout_Call) Run

func (*GlobalConfigProvider_GetAltruistRequestTimeout_Call) RunAndReturn

type GlobalConfigProvider_GetChainNetwork_Call

type GlobalConfigProvider_GetChainNetwork_Call struct {
	*mock.Call
}

GlobalConfigProvider_GetChainNetwork_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetChainNetwork'

func (*GlobalConfigProvider_GetChainNetwork_Call) Return

func (*GlobalConfigProvider_GetChainNetwork_Call) Run

func (*GlobalConfigProvider_GetChainNetwork_Call) RunAndReturn

type GlobalConfigProvider_GetDatabaseConnectionUrl_Call

type GlobalConfigProvider_GetDatabaseConnectionUrl_Call struct {
	*mock.Call
}

GlobalConfigProvider_GetDatabaseConnectionUrl_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDatabaseConnectionUrl'

func (*GlobalConfigProvider_GetDatabaseConnectionUrl_Call) Return

func (*GlobalConfigProvider_GetDatabaseConnectionUrl_Call) Run

func (*GlobalConfigProvider_GetDatabaseConnectionUrl_Call) RunAndReturn

type GlobalConfigProvider_GetEnvironmentStage_Call

type GlobalConfigProvider_GetEnvironmentStage_Call struct {
	*mock.Call
}

GlobalConfigProvider_GetEnvironmentStage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetEnvironmentStage'

func (*GlobalConfigProvider_GetEnvironmentStage_Call) Return

func (*GlobalConfigProvider_GetEnvironmentStage_Call) Run

func (*GlobalConfigProvider_GetEnvironmentStage_Call) RunAndReturn

type GlobalConfigProvider_GetPoktApplicationsEncryptionKey_Call

type GlobalConfigProvider_GetPoktApplicationsEncryptionKey_Call struct {
	*mock.Call
}

GlobalConfigProvider_GetPoktApplicationsEncryptionKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPoktApplicationsEncryptionKey'

func (*GlobalConfigProvider_GetPoktApplicationsEncryptionKey_Call) Return

func (*GlobalConfigProvider_GetPoktApplicationsEncryptionKey_Call) Run

func (*GlobalConfigProvider_GetPoktApplicationsEncryptionKey_Call) RunAndReturn

type GlobalConfigProvider_GetPoktRPCFullHost_Call

type GlobalConfigProvider_GetPoktRPCFullHost_Call struct {
	*mock.Call
}

GlobalConfigProvider_GetPoktRPCFullHost_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPoktRPCFullHost'

func (*GlobalConfigProvider_GetPoktRPCFullHost_Call) Return

func (*GlobalConfigProvider_GetPoktRPCFullHost_Call) Run

func (*GlobalConfigProvider_GetPoktRPCFullHost_Call) RunAndReturn

type GlobalConfigProvider_GetPoktRPCRequestTimeout_Call

type GlobalConfigProvider_GetPoktRPCRequestTimeout_Call struct {
	*mock.Call
}

GlobalConfigProvider_GetPoktRPCRequestTimeout_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPoktRPCRequestTimeout'

func (*GlobalConfigProvider_GetPoktRPCRequestTimeout_Call) Return

func (*GlobalConfigProvider_GetPoktRPCRequestTimeout_Call) Run

func (*GlobalConfigProvider_GetPoktRPCRequestTimeout_Call) RunAndReturn

type GlobalConfigProvider_ShouldEmitServiceUrlPromMetrics_Call

type GlobalConfigProvider_ShouldEmitServiceUrlPromMetrics_Call struct {
	*mock.Call
}

GlobalConfigProvider_ShouldEmitServiceUrlPromMetrics_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ShouldEmitServiceUrlPromMetrics'

func (*GlobalConfigProvider_ShouldEmitServiceUrlPromMetrics_Call) Return

func (*GlobalConfigProvider_ShouldEmitServiceUrlPromMetrics_Call) Run

func (*GlobalConfigProvider_ShouldEmitServiceUrlPromMetrics_Call) RunAndReturn

Jump to

Keyboard shortcuts

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