Documentation
¶
Overview ¶
Package mock_metrics is a generated GoMock package.
Index ¶
- type MockHttpApiMetrics
- func (m *MockHttpApiMetrics) Collect400TotalRequests()
- func (m *MockHttpApiMetrics) Collect500TotalRequests()
- func (m *MockHttpApiMetrics) CollectRequest(method, path string, statusCode int)
- func (m *MockHttpApiMetrics) CollectRequestContentLength(method, path string, contentLength float64)
- func (m *MockHttpApiMetrics) CollectRequestDuration(method, path string, duration float64)
- func (m *MockHttpApiMetrics) CollectRequestResponseSize(method, path string, contentLength float64)
- func (m *MockHttpApiMetrics) CollectTotalRequests()
- func (m *MockHttpApiMetrics) EXPECT() *MockHttpApiMetricsMockRecorder
- type MockHttpApiMetricsMockRecorder
- func (mr *MockHttpApiMetricsMockRecorder) Collect400TotalRequests() *gomock.Call
- func (mr *MockHttpApiMetricsMockRecorder) Collect500TotalRequests() *gomock.Call
- func (mr *MockHttpApiMetricsMockRecorder) CollectRequest(method, path, statusCode interface{}) *gomock.Call
- func (mr *MockHttpApiMetricsMockRecorder) CollectRequestContentLength(method, path, contentLength interface{}) *gomock.Call
- func (mr *MockHttpApiMetricsMockRecorder) CollectRequestDuration(method, path, duration interface{}) *gomock.Call
- func (mr *MockHttpApiMetricsMockRecorder) CollectRequestResponseSize(method, path, contentLength interface{}) *gomock.Call
- func (mr *MockHttpApiMetricsMockRecorder) CollectTotalRequests() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockHttpApiMetrics ¶
type MockHttpApiMetrics struct {
// contains filtered or unexported fields
}
MockHttpApiMetrics is a mock of HttpApiMetrics interface.
func NewMockHttpApiMetrics ¶
func NewMockHttpApiMetrics(ctrl *gomock.Controller) *MockHttpApiMetrics
NewMockHttpApiMetrics creates a new mock instance.
func (*MockHttpApiMetrics) Collect400TotalRequests ¶
func (m *MockHttpApiMetrics) Collect400TotalRequests()
Collect400TotalRequests mocks base method.
func (*MockHttpApiMetrics) Collect500TotalRequests ¶
func (m *MockHttpApiMetrics) Collect500TotalRequests()
Collect500TotalRequests mocks base method.
func (*MockHttpApiMetrics) CollectRequest ¶
func (m *MockHttpApiMetrics) CollectRequest(method, path string, statusCode int)
CollectRequest mocks base method.
func (*MockHttpApiMetrics) CollectRequestContentLength ¶
func (m *MockHttpApiMetrics) CollectRequestContentLength(method, path string, contentLength float64)
CollectRequestContentLength mocks base method.
func (*MockHttpApiMetrics) CollectRequestDuration ¶
func (m *MockHttpApiMetrics) CollectRequestDuration(method, path string, duration float64)
CollectRequestDuration mocks base method.
func (*MockHttpApiMetrics) CollectRequestResponseSize ¶
func (m *MockHttpApiMetrics) CollectRequestResponseSize(method, path string, contentLength float64)
CollectRequestResponseSize mocks base method.
func (*MockHttpApiMetrics) CollectTotalRequests ¶
func (m *MockHttpApiMetrics) CollectTotalRequests()
CollectTotalRequests mocks base method.
func (*MockHttpApiMetrics) EXPECT ¶
func (m *MockHttpApiMetrics) EXPECT() *MockHttpApiMetricsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockHttpApiMetricsMockRecorder ¶
type MockHttpApiMetricsMockRecorder struct {
// contains filtered or unexported fields
}
MockHttpApiMetricsMockRecorder is the mock recorder for MockHttpApiMetrics.
func (*MockHttpApiMetricsMockRecorder) Collect400TotalRequests ¶
func (mr *MockHttpApiMetricsMockRecorder) Collect400TotalRequests() *gomock.Call
Collect400TotalRequests indicates an expected call of Collect400TotalRequests.
func (*MockHttpApiMetricsMockRecorder) Collect500TotalRequests ¶
func (mr *MockHttpApiMetricsMockRecorder) Collect500TotalRequests() *gomock.Call
Collect500TotalRequests indicates an expected call of Collect500TotalRequests.
func (*MockHttpApiMetricsMockRecorder) CollectRequest ¶
func (mr *MockHttpApiMetricsMockRecorder) CollectRequest(method, path, statusCode interface{}) *gomock.Call
CollectRequest indicates an expected call of CollectRequest.
func (*MockHttpApiMetricsMockRecorder) CollectRequestContentLength ¶
func (mr *MockHttpApiMetricsMockRecorder) CollectRequestContentLength(method, path, contentLength interface{}) *gomock.Call
CollectRequestContentLength indicates an expected call of CollectRequestContentLength.
func (*MockHttpApiMetricsMockRecorder) CollectRequestDuration ¶
func (mr *MockHttpApiMetricsMockRecorder) CollectRequestDuration(method, path, duration interface{}) *gomock.Call
CollectRequestDuration indicates an expected call of CollectRequestDuration.
func (*MockHttpApiMetricsMockRecorder) CollectRequestResponseSize ¶
func (mr *MockHttpApiMetricsMockRecorder) CollectRequestResponseSize(method, path, contentLength interface{}) *gomock.Call
CollectRequestResponseSize indicates an expected call of CollectRequestResponseSize.
func (*MockHttpApiMetricsMockRecorder) CollectTotalRequests ¶
func (mr *MockHttpApiMetricsMockRecorder) CollectTotalRequests() *gomock.Call
CollectTotalRequests indicates an expected call of CollectTotalRequests.