Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockStorage
- func (m *MockStorage) EXPECT() *MockStorageMockRecorder
- func (m *MockStorage) SaveGetEvaluationLatencyMetricsEvent(tag, status string, duration time.Duration)
- func (m *MockStorage) SaveGetEvaluationSizeMetricsEvent(tag, status string, sizeByte int32)
- func (m *MockStorage) SaveInternalErrorCountMetricsEvent(tag string)
- func (m *MockStorage) SaveInternalErrorMetricsEvent(tag, sdkVersion string, api client.ApiId)
- func (m *MockStorage) SaveInternalSdkErrorMetricsEvent(tag, sdkVersion string, api client.ApiId)
- func (m *MockStorage) SaveLatencyMetricsEvent(tag, status, sdkVersion string, api client.ApiId, duration time.Duration)
- func (m *MockStorage) SaveNetworkErrorMetricsEvent(tag, sdkVersion string, api client.ApiId)
- func (m *MockStorage) SaveSizeMetricsEvent(tag, status, sdkVersion string, api client.ApiId, sizeByte int32)
- func (m *MockStorage) SaveTimeoutErrorCountMetricsEvent(tag string)
- func (m *MockStorage) SaveTimeoutErrorMetricsEvent(tag, sdkVersion string, api client.ApiId)
- type MockStorageMockRecorder
- func (mr *MockStorageMockRecorder) SaveGetEvaluationLatencyMetricsEvent(tag, status, duration any) *gomock.Call
- func (mr *MockStorageMockRecorder) SaveGetEvaluationSizeMetricsEvent(tag, status, sizeByte any) *gomock.Call
- func (mr *MockStorageMockRecorder) SaveInternalErrorCountMetricsEvent(tag any) *gomock.Call
- func (mr *MockStorageMockRecorder) SaveInternalErrorMetricsEvent(tag, sdkVersion, api any) *gomock.Call
- func (mr *MockStorageMockRecorder) SaveInternalSdkErrorMetricsEvent(tag, sdkVersion, api any) *gomock.Call
- func (mr *MockStorageMockRecorder) SaveLatencyMetricsEvent(tag, status, sdkVersion, api, duration any) *gomock.Call
- func (mr *MockStorageMockRecorder) SaveNetworkErrorMetricsEvent(tag, sdkVersion, api any) *gomock.Call
- func (mr *MockStorageMockRecorder) SaveSizeMetricsEvent(tag, status, sdkVersion, api, sizeByte any) *gomock.Call
- func (mr *MockStorageMockRecorder) SaveTimeoutErrorCountMetricsEvent(tag any) *gomock.Call
- func (mr *MockStorageMockRecorder) SaveTimeoutErrorMetricsEvent(tag, sdkVersion, api any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockStorage ¶
type MockStorage struct {
// contains filtered or unexported fields
}
MockStorage is a mock of Storage interface.
func NewMockStorage ¶
func NewMockStorage(ctrl *gomock.Controller) *MockStorage
NewMockStorage creates a new mock instance.
func (*MockStorage) EXPECT ¶
func (m *MockStorage) EXPECT() *MockStorageMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStorage) SaveGetEvaluationLatencyMetricsEvent ¶
func (m *MockStorage) SaveGetEvaluationLatencyMetricsEvent(tag, status string, duration time.Duration)
SaveGetEvaluationLatencyMetricsEvent mocks base method.
func (*MockStorage) SaveGetEvaluationSizeMetricsEvent ¶
func (m *MockStorage) SaveGetEvaluationSizeMetricsEvent(tag, status string, sizeByte int32)
SaveGetEvaluationSizeMetricsEvent mocks base method.
func (*MockStorage) SaveInternalErrorCountMetricsEvent ¶
func (m *MockStorage) SaveInternalErrorCountMetricsEvent(tag string)
SaveInternalErrorCountMetricsEvent mocks base method.
func (*MockStorage) SaveInternalErrorMetricsEvent ¶
func (m *MockStorage) SaveInternalErrorMetricsEvent(tag, sdkVersion string, api client.ApiId)
SaveInternalErrorMetricsEvent mocks base method.
func (*MockStorage) SaveInternalSdkErrorMetricsEvent ¶
func (m *MockStorage) SaveInternalSdkErrorMetricsEvent(tag, sdkVersion string, api client.ApiId)
SaveInternalSdkErrorMetricsEvent mocks base method.
func (*MockStorage) SaveLatencyMetricsEvent ¶
func (m *MockStorage) SaveLatencyMetricsEvent(tag, status, sdkVersion string, api client.ApiId, duration time.Duration)
SaveLatencyMetricsEvent mocks base method.
func (*MockStorage) SaveNetworkErrorMetricsEvent ¶
func (m *MockStorage) SaveNetworkErrorMetricsEvent(tag, sdkVersion string, api client.ApiId)
SaveNetworkErrorMetricsEvent mocks base method.
func (*MockStorage) SaveSizeMetricsEvent ¶
func (m *MockStorage) SaveSizeMetricsEvent(tag, status, sdkVersion string, api client.ApiId, sizeByte int32)
SaveSizeMetricsEvent mocks base method.
func (*MockStorage) SaveTimeoutErrorCountMetricsEvent ¶
func (m *MockStorage) SaveTimeoutErrorCountMetricsEvent(tag string)
SaveTimeoutErrorCountMetricsEvent mocks base method.
func (*MockStorage) SaveTimeoutErrorMetricsEvent ¶
func (m *MockStorage) SaveTimeoutErrorMetricsEvent(tag, sdkVersion string, api client.ApiId)
SaveTimeoutErrorMetricsEvent mocks base method.
type MockStorageMockRecorder ¶
type MockStorageMockRecorder struct {
// contains filtered or unexported fields
}
MockStorageMockRecorder is the mock recorder for MockStorage.
func (*MockStorageMockRecorder) SaveGetEvaluationLatencyMetricsEvent ¶
func (mr *MockStorageMockRecorder) SaveGetEvaluationLatencyMetricsEvent(tag, status, duration any) *gomock.Call
SaveGetEvaluationLatencyMetricsEvent indicates an expected call of SaveGetEvaluationLatencyMetricsEvent.
func (*MockStorageMockRecorder) SaveGetEvaluationSizeMetricsEvent ¶
func (mr *MockStorageMockRecorder) SaveGetEvaluationSizeMetricsEvent(tag, status, sizeByte any) *gomock.Call
SaveGetEvaluationSizeMetricsEvent indicates an expected call of SaveGetEvaluationSizeMetricsEvent.
func (*MockStorageMockRecorder) SaveInternalErrorCountMetricsEvent ¶
func (mr *MockStorageMockRecorder) SaveInternalErrorCountMetricsEvent(tag any) *gomock.Call
SaveInternalErrorCountMetricsEvent indicates an expected call of SaveInternalErrorCountMetricsEvent.
func (*MockStorageMockRecorder) SaveInternalErrorMetricsEvent ¶
func (mr *MockStorageMockRecorder) SaveInternalErrorMetricsEvent(tag, sdkVersion, api any) *gomock.Call
SaveInternalErrorMetricsEvent indicates an expected call of SaveInternalErrorMetricsEvent.
func (*MockStorageMockRecorder) SaveInternalSdkErrorMetricsEvent ¶
func (mr *MockStorageMockRecorder) SaveInternalSdkErrorMetricsEvent(tag, sdkVersion, api any) *gomock.Call
SaveInternalSdkErrorMetricsEvent indicates an expected call of SaveInternalSdkErrorMetricsEvent.
func (*MockStorageMockRecorder) SaveLatencyMetricsEvent ¶
func (mr *MockStorageMockRecorder) SaveLatencyMetricsEvent(tag, status, sdkVersion, api, duration any) *gomock.Call
SaveLatencyMetricsEvent indicates an expected call of SaveLatencyMetricsEvent.
func (*MockStorageMockRecorder) SaveNetworkErrorMetricsEvent ¶
func (mr *MockStorageMockRecorder) SaveNetworkErrorMetricsEvent(tag, sdkVersion, api any) *gomock.Call
SaveNetworkErrorMetricsEvent indicates an expected call of SaveNetworkErrorMetricsEvent.
func (*MockStorageMockRecorder) SaveSizeMetricsEvent ¶
func (mr *MockStorageMockRecorder) SaveSizeMetricsEvent(tag, status, sdkVersion, api, sizeByte any) *gomock.Call
SaveSizeMetricsEvent indicates an expected call of SaveSizeMetricsEvent.
func (*MockStorageMockRecorder) SaveTimeoutErrorCountMetricsEvent ¶
func (mr *MockStorageMockRecorder) SaveTimeoutErrorCountMetricsEvent(tag any) *gomock.Call
SaveTimeoutErrorCountMetricsEvent indicates an expected call of SaveTimeoutErrorCountMetricsEvent.
func (*MockStorageMockRecorder) SaveTimeoutErrorMetricsEvent ¶
func (mr *MockStorageMockRecorder) SaveTimeoutErrorMetricsEvent(tag, sdkVersion, api any) *gomock.Call
SaveTimeoutErrorMetricsEvent indicates an expected call of SaveTimeoutErrorMetricsEvent.