Documentation ¶
Index ¶
- type GlobalConfigProvider
- func (_m *GlobalConfigProvider) EXPECT() *GlobalConfigProvider_Expecter
- func (_m *GlobalConfigProvider) GetAPIKey() string
- func (_m *GlobalConfigProvider) GetAltruistRequestTimeout() time.Duration
- func (_m *GlobalConfigProvider) GetChainNetwork() chain_network.ChainNetwork
- func (_m *GlobalConfigProvider) GetDatabaseConnectionUrl() string
- func (_m *GlobalConfigProvider) GetEnvironmentStage() global_config.EnvironmentStage
- func (_m *GlobalConfigProvider) GetPoktApplicationsEncryptionKey() string
- func (_m *GlobalConfigProvider) GetPoktRPCFullHost() string
- func (_m *GlobalConfigProvider) GetPoktRPCRequestTimeout() time.Duration
- func (_m *GlobalConfigProvider) ShouldEmitServiceUrlPromMetrics() bool
- type GlobalConfigProvider_Expecter
- func (_e *GlobalConfigProvider_Expecter) GetAPIKey() *GlobalConfigProvider_GetAPIKey_Call
- func (_e *GlobalConfigProvider_Expecter) GetAltruistRequestTimeout() *GlobalConfigProvider_GetAltruistRequestTimeout_Call
- func (_e *GlobalConfigProvider_Expecter) GetChainNetwork() *GlobalConfigProvider_GetChainNetwork_Call
- func (_e *GlobalConfigProvider_Expecter) GetDatabaseConnectionUrl() *GlobalConfigProvider_GetDatabaseConnectionUrl_Call
- func (_e *GlobalConfigProvider_Expecter) GetEnvironmentStage() *GlobalConfigProvider_GetEnvironmentStage_Call
- func (_e *GlobalConfigProvider_Expecter) GetPoktApplicationsEncryptionKey() *GlobalConfigProvider_GetPoktApplicationsEncryptionKey_Call
- func (_e *GlobalConfigProvider_Expecter) GetPoktRPCFullHost() *GlobalConfigProvider_GetPoktRPCFullHost_Call
- func (_e *GlobalConfigProvider_Expecter) GetPoktRPCRequestTimeout() *GlobalConfigProvider_GetPoktRPCRequestTimeout_Call
- func (_e *GlobalConfigProvider_Expecter) ShouldEmitServiceUrlPromMetrics() *GlobalConfigProvider_ShouldEmitServiceUrlPromMetrics_Call
- type GlobalConfigProvider_GetAPIKey_Call
- func (_c *GlobalConfigProvider_GetAPIKey_Call) Return(_a0 string) *GlobalConfigProvider_GetAPIKey_Call
- func (_c *GlobalConfigProvider_GetAPIKey_Call) Run(run func()) *GlobalConfigProvider_GetAPIKey_Call
- func (_c *GlobalConfigProvider_GetAPIKey_Call) RunAndReturn(run func() string) *GlobalConfigProvider_GetAPIKey_Call
- type GlobalConfigProvider_GetAltruistRequestTimeout_Call
- func (_c *GlobalConfigProvider_GetAltruistRequestTimeout_Call) Return(_a0 time.Duration) *GlobalConfigProvider_GetAltruistRequestTimeout_Call
- func (_c *GlobalConfigProvider_GetAltruistRequestTimeout_Call) Run(run func()) *GlobalConfigProvider_GetAltruistRequestTimeout_Call
- func (_c *GlobalConfigProvider_GetAltruistRequestTimeout_Call) RunAndReturn(run func() time.Duration) *GlobalConfigProvider_GetAltruistRequestTimeout_Call
- type GlobalConfigProvider_GetChainNetwork_Call
- func (_c *GlobalConfigProvider_GetChainNetwork_Call) Return(_a0 chain_network.ChainNetwork) *GlobalConfigProvider_GetChainNetwork_Call
- func (_c *GlobalConfigProvider_GetChainNetwork_Call) Run(run func()) *GlobalConfigProvider_GetChainNetwork_Call
- func (_c *GlobalConfigProvider_GetChainNetwork_Call) RunAndReturn(run func() chain_network.ChainNetwork) *GlobalConfigProvider_GetChainNetwork_Call
- type GlobalConfigProvider_GetDatabaseConnectionUrl_Call
- func (_c *GlobalConfigProvider_GetDatabaseConnectionUrl_Call) Return(_a0 string) *GlobalConfigProvider_GetDatabaseConnectionUrl_Call
- func (_c *GlobalConfigProvider_GetDatabaseConnectionUrl_Call) Run(run func()) *GlobalConfigProvider_GetDatabaseConnectionUrl_Call
- func (_c *GlobalConfigProvider_GetDatabaseConnectionUrl_Call) RunAndReturn(run func() string) *GlobalConfigProvider_GetDatabaseConnectionUrl_Call
- type GlobalConfigProvider_GetEnvironmentStage_Call
- func (_c *GlobalConfigProvider_GetEnvironmentStage_Call) Return(_a0 global_config.EnvironmentStage) *GlobalConfigProvider_GetEnvironmentStage_Call
- func (_c *GlobalConfigProvider_GetEnvironmentStage_Call) Run(run func()) *GlobalConfigProvider_GetEnvironmentStage_Call
- func (_c *GlobalConfigProvider_GetEnvironmentStage_Call) RunAndReturn(run func() global_config.EnvironmentStage) *GlobalConfigProvider_GetEnvironmentStage_Call
- type GlobalConfigProvider_GetPoktApplicationsEncryptionKey_Call
- func (_c *GlobalConfigProvider_GetPoktApplicationsEncryptionKey_Call) Return(_a0 string) *GlobalConfigProvider_GetPoktApplicationsEncryptionKey_Call
- func (_c *GlobalConfigProvider_GetPoktApplicationsEncryptionKey_Call) Run(run func()) *GlobalConfigProvider_GetPoktApplicationsEncryptionKey_Call
- func (_c *GlobalConfigProvider_GetPoktApplicationsEncryptionKey_Call) RunAndReturn(run func() string) *GlobalConfigProvider_GetPoktApplicationsEncryptionKey_Call
- type GlobalConfigProvider_GetPoktRPCFullHost_Call
- func (_c *GlobalConfigProvider_GetPoktRPCFullHost_Call) Return(_a0 string) *GlobalConfigProvider_GetPoktRPCFullHost_Call
- func (_c *GlobalConfigProvider_GetPoktRPCFullHost_Call) Run(run func()) *GlobalConfigProvider_GetPoktRPCFullHost_Call
- func (_c *GlobalConfigProvider_GetPoktRPCFullHost_Call) RunAndReturn(run func() string) *GlobalConfigProvider_GetPoktRPCFullHost_Call
- type GlobalConfigProvider_GetPoktRPCRequestTimeout_Call
- func (_c *GlobalConfigProvider_GetPoktRPCRequestTimeout_Call) Return(_a0 time.Duration) *GlobalConfigProvider_GetPoktRPCRequestTimeout_Call
- func (_c *GlobalConfigProvider_GetPoktRPCRequestTimeout_Call) Run(run func()) *GlobalConfigProvider_GetPoktRPCRequestTimeout_Call
- func (_c *GlobalConfigProvider_GetPoktRPCRequestTimeout_Call) RunAndReturn(run func() time.Duration) *GlobalConfigProvider_GetPoktRPCRequestTimeout_Call
- type GlobalConfigProvider_ShouldEmitServiceUrlPromMetrics_Call
- func (_c *GlobalConfigProvider_ShouldEmitServiceUrlPromMetrics_Call) Return(_a0 bool) *GlobalConfigProvider_ShouldEmitServiceUrlPromMetrics_Call
- func (_c *GlobalConfigProvider_ShouldEmitServiceUrlPromMetrics_Call) Run(run func()) *GlobalConfigProvider_ShouldEmitServiceUrlPromMetrics_Call
- func (_c *GlobalConfigProvider_ShouldEmitServiceUrlPromMetrics_Call) RunAndReturn(run func() bool) *GlobalConfigProvider_ShouldEmitServiceUrlPromMetrics_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GlobalConfigProvider ¶
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 (_m *GlobalConfigProvider) EXPECT() *GlobalConfigProvider_Expecter
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 ¶
func (_e *GlobalConfigProvider_Expecter) GetAPIKey() *GlobalConfigProvider_GetAPIKey_Call
GetAPIKey is a helper method to define mock.On call
func (*GlobalConfigProvider_Expecter) GetAltruistRequestTimeout ¶
func (_e *GlobalConfigProvider_Expecter) GetAltruistRequestTimeout() *GlobalConfigProvider_GetAltruistRequestTimeout_Call
GetAltruistRequestTimeout is a helper method to define mock.On call
func (*GlobalConfigProvider_Expecter) GetChainNetwork ¶
func (_e *GlobalConfigProvider_Expecter) GetChainNetwork() *GlobalConfigProvider_GetChainNetwork_Call
GetChainNetwork is a helper method to define mock.On call
func (*GlobalConfigProvider_Expecter) GetDatabaseConnectionUrl ¶
func (_e *GlobalConfigProvider_Expecter) GetDatabaseConnectionUrl() *GlobalConfigProvider_GetDatabaseConnectionUrl_Call
GetDatabaseConnectionUrl is a helper method to define mock.On call
func (*GlobalConfigProvider_Expecter) GetEnvironmentStage ¶
func (_e *GlobalConfigProvider_Expecter) GetEnvironmentStage() *GlobalConfigProvider_GetEnvironmentStage_Call
GetEnvironmentStage is a helper method to define mock.On call
func (*GlobalConfigProvider_Expecter) GetPoktApplicationsEncryptionKey ¶
func (_e *GlobalConfigProvider_Expecter) GetPoktApplicationsEncryptionKey() *GlobalConfigProvider_GetPoktApplicationsEncryptionKey_Call
GetPoktApplicationsEncryptionKey is a helper method to define mock.On call
func (*GlobalConfigProvider_Expecter) GetPoktRPCFullHost ¶
func (_e *GlobalConfigProvider_Expecter) GetPoktRPCFullHost() *GlobalConfigProvider_GetPoktRPCFullHost_Call
GetPoktRPCFullHost is a helper method to define mock.On call
func (*GlobalConfigProvider_Expecter) GetPoktRPCRequestTimeout ¶
func (_e *GlobalConfigProvider_Expecter) GetPoktRPCRequestTimeout() *GlobalConfigProvider_GetPoktRPCRequestTimeout_Call
GetPoktRPCRequestTimeout is a helper method to define mock.On call
func (*GlobalConfigProvider_Expecter) ShouldEmitServiceUrlPromMetrics ¶
func (_e *GlobalConfigProvider_Expecter) ShouldEmitServiceUrlPromMetrics() *GlobalConfigProvider_ShouldEmitServiceUrlPromMetrics_Call
ShouldEmitServiceUrlPromMetrics is a helper method to define mock.On call
type GlobalConfigProvider_GetAPIKey_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 (_c *GlobalConfigProvider_GetAPIKey_Call) Return(_a0 string) *GlobalConfigProvider_GetAPIKey_Call
func (*GlobalConfigProvider_GetAPIKey_Call) Run ¶
func (_c *GlobalConfigProvider_GetAPIKey_Call) Run(run func()) *GlobalConfigProvider_GetAPIKey_Call
func (*GlobalConfigProvider_GetAPIKey_Call) RunAndReturn ¶
func (_c *GlobalConfigProvider_GetAPIKey_Call) RunAndReturn(run func() string) *GlobalConfigProvider_GetAPIKey_Call
type GlobalConfigProvider_GetAltruistRequestTimeout_Call ¶
GlobalConfigProvider_GetAltruistRequestTimeout_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAltruistRequestTimeout'
func (*GlobalConfigProvider_GetAltruistRequestTimeout_Call) Run ¶
func (_c *GlobalConfigProvider_GetAltruistRequestTimeout_Call) Run(run func()) *GlobalConfigProvider_GetAltruistRequestTimeout_Call
func (*GlobalConfigProvider_GetAltruistRequestTimeout_Call) RunAndReturn ¶
func (_c *GlobalConfigProvider_GetAltruistRequestTimeout_Call) RunAndReturn(run func() time.Duration) *GlobalConfigProvider_GetAltruistRequestTimeout_Call
type GlobalConfigProvider_GetChainNetwork_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 (_c *GlobalConfigProvider_GetChainNetwork_Call) Return(_a0 chain_network.ChainNetwork) *GlobalConfigProvider_GetChainNetwork_Call
func (*GlobalConfigProvider_GetChainNetwork_Call) Run ¶
func (_c *GlobalConfigProvider_GetChainNetwork_Call) Run(run func()) *GlobalConfigProvider_GetChainNetwork_Call
func (*GlobalConfigProvider_GetChainNetwork_Call) RunAndReturn ¶
func (_c *GlobalConfigProvider_GetChainNetwork_Call) RunAndReturn(run func() chain_network.ChainNetwork) *GlobalConfigProvider_GetChainNetwork_Call
type GlobalConfigProvider_GetDatabaseConnectionUrl_Call ¶
GlobalConfigProvider_GetDatabaseConnectionUrl_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDatabaseConnectionUrl'
func (*GlobalConfigProvider_GetDatabaseConnectionUrl_Call) Run ¶
func (_c *GlobalConfigProvider_GetDatabaseConnectionUrl_Call) Run(run func()) *GlobalConfigProvider_GetDatabaseConnectionUrl_Call
func (*GlobalConfigProvider_GetDatabaseConnectionUrl_Call) RunAndReturn ¶
func (_c *GlobalConfigProvider_GetDatabaseConnectionUrl_Call) RunAndReturn(run func() string) *GlobalConfigProvider_GetDatabaseConnectionUrl_Call
type GlobalConfigProvider_GetEnvironmentStage_Call ¶
GlobalConfigProvider_GetEnvironmentStage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetEnvironmentStage'
func (*GlobalConfigProvider_GetEnvironmentStage_Call) Run ¶
func (_c *GlobalConfigProvider_GetEnvironmentStage_Call) Run(run func()) *GlobalConfigProvider_GetEnvironmentStage_Call
func (*GlobalConfigProvider_GetEnvironmentStage_Call) RunAndReturn ¶
func (_c *GlobalConfigProvider_GetEnvironmentStage_Call) RunAndReturn(run func() global_config.EnvironmentStage) *GlobalConfigProvider_GetEnvironmentStage_Call
type GlobalConfigProvider_GetPoktApplicationsEncryptionKey_Call ¶
GlobalConfigProvider_GetPoktApplicationsEncryptionKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPoktApplicationsEncryptionKey'
func (*GlobalConfigProvider_GetPoktApplicationsEncryptionKey_Call) Run ¶
func (_c *GlobalConfigProvider_GetPoktApplicationsEncryptionKey_Call) Run(run func()) *GlobalConfigProvider_GetPoktApplicationsEncryptionKey_Call
func (*GlobalConfigProvider_GetPoktApplicationsEncryptionKey_Call) RunAndReturn ¶
func (_c *GlobalConfigProvider_GetPoktApplicationsEncryptionKey_Call) RunAndReturn(run func() string) *GlobalConfigProvider_GetPoktApplicationsEncryptionKey_Call
type GlobalConfigProvider_GetPoktRPCFullHost_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 (_c *GlobalConfigProvider_GetPoktRPCFullHost_Call) Return(_a0 string) *GlobalConfigProvider_GetPoktRPCFullHost_Call
func (*GlobalConfigProvider_GetPoktRPCFullHost_Call) Run ¶
func (_c *GlobalConfigProvider_GetPoktRPCFullHost_Call) Run(run func()) *GlobalConfigProvider_GetPoktRPCFullHost_Call
func (*GlobalConfigProvider_GetPoktRPCFullHost_Call) RunAndReturn ¶
func (_c *GlobalConfigProvider_GetPoktRPCFullHost_Call) RunAndReturn(run func() string) *GlobalConfigProvider_GetPoktRPCFullHost_Call
type GlobalConfigProvider_GetPoktRPCRequestTimeout_Call ¶
GlobalConfigProvider_GetPoktRPCRequestTimeout_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPoktRPCRequestTimeout'
func (*GlobalConfigProvider_GetPoktRPCRequestTimeout_Call) Run ¶
func (_c *GlobalConfigProvider_GetPoktRPCRequestTimeout_Call) Run(run func()) *GlobalConfigProvider_GetPoktRPCRequestTimeout_Call
func (*GlobalConfigProvider_GetPoktRPCRequestTimeout_Call) RunAndReturn ¶
func (_c *GlobalConfigProvider_GetPoktRPCRequestTimeout_Call) RunAndReturn(run func() time.Duration) *GlobalConfigProvider_GetPoktRPCRequestTimeout_Call
type GlobalConfigProvider_ShouldEmitServiceUrlPromMetrics_Call ¶
GlobalConfigProvider_ShouldEmitServiceUrlPromMetrics_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ShouldEmitServiceUrlPromMetrics'
func (*GlobalConfigProvider_ShouldEmitServiceUrlPromMetrics_Call) Run ¶
func (_c *GlobalConfigProvider_ShouldEmitServiceUrlPromMetrics_Call) Run(run func()) *GlobalConfigProvider_ShouldEmitServiceUrlPromMetrics_Call
func (*GlobalConfigProvider_ShouldEmitServiceUrlPromMetrics_Call) RunAndReturn ¶
func (_c *GlobalConfigProvider_ShouldEmitServiceUrlPromMetrics_Call) RunAndReturn(run func() bool) *GlobalConfigProvider_ShouldEmitServiceUrlPromMetrics_Call