Documentation
¶
Index ¶
- type ProviderMetrics
- func (_m *ProviderMetrics) AddProviderResponse(providerName string, status metrics.Status, ec types.ErrorCode, ...)
- func (_m *ProviderMetrics) AddProviderResponseByID(providerName string, id string, status metrics.Status, ec types.ErrorCode, ...)
- func (_m *ProviderMetrics) LastUpdated(providerName string, id string, providerType types.ProviderType)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProviderMetrics ¶
ProviderMetrics is an autogenerated mock type for the ProviderMetrics type
func NewProviderMetrics ¶
func NewProviderMetrics(t interface { mock.TestingT Cleanup(func()) }) *ProviderMetrics
NewProviderMetrics creates a new instance of ProviderMetrics. 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 (*ProviderMetrics) AddProviderResponse ¶
func (_m *ProviderMetrics) AddProviderResponse(providerName string, status metrics.Status, ec types.ErrorCode, providerType types.ProviderType)
AddProviderResponse provides a mock function with given fields: providerName, status, ec, providerType
func (*ProviderMetrics) AddProviderResponseByID ¶
func (_m *ProviderMetrics) AddProviderResponseByID(providerName string, id string, status metrics.Status, ec types.ErrorCode, providerType types.ProviderType)
AddProviderResponseByID provides a mock function with given fields: providerName, id, status, ec, providerType
func (*ProviderMetrics) LastUpdated ¶
func (_m *ProviderMetrics) LastUpdated(providerName string, id string, providerType types.ProviderType)
LastUpdated provides a mock function with given fields: providerName, id, providerType
Click to show internal directories.
Click to hide internal directories.