Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockMetricsCollector
- type MockMetricsCollectorMockRecorder
- type MockSummary
- func (m *MockSummary) Collect(arg0 chan<- prometheus.Metric)
- func (m *MockSummary) Desc() *prometheus.Desc
- func (m *MockSummary) Describe(arg0 chan<- *prometheus.Desc)
- func (m *MockSummary) EXPECT() *MockSummaryMockRecorder
- func (m *MockSummary) Observe(arg0 float64)
- func (m *MockSummary) Write(arg0 *io_prometheus_client.Metric) error
- type MockSummaryMockRecorder
- func (mr *MockSummaryMockRecorder) Collect(arg0 interface{}) *gomock.Call
- func (mr *MockSummaryMockRecorder) Desc() *gomock.Call
- func (mr *MockSummaryMockRecorder) Describe(arg0 interface{}) *gomock.Call
- func (mr *MockSummaryMockRecorder) Observe(arg0 interface{}) *gomock.Call
- func (mr *MockSummaryMockRecorder) Write(arg0 interface{}) *gomock.Call
- type MockSummaryVec
- type MockSummaryVecMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockMetricsCollector ¶
type MockMetricsCollector struct {
// contains filtered or unexported fields
}
MockMetricsCollector is a mock of MetricsCollector interface
func NewMockMetricsCollector ¶
func NewMockMetricsCollector(ctrl *gomock.Controller) *MockMetricsCollector
NewMockMetricsCollector creates a new mock instance
func (*MockMetricsCollector) APIRequestDuration ¶
func (m *MockMetricsCollector) APIRequestDuration() metricobserver.SummaryVec
APIRequestDuration mocks base method
func (*MockMetricsCollector) EXPECT ¶
func (m *MockMetricsCollector) EXPECT() *MockMetricsCollectorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockMetricsCollectorMockRecorder ¶
type MockMetricsCollectorMockRecorder struct {
// contains filtered or unexported fields
}
MockMetricsCollectorMockRecorder is the mock recorder for MockMetricsCollector
func (*MockMetricsCollectorMockRecorder) APIRequestDuration ¶
func (mr *MockMetricsCollectorMockRecorder) APIRequestDuration() *gomock.Call
APIRequestDuration indicates an expected call of APIRequestDuration
type MockSummary ¶
type MockSummary struct {
// contains filtered or unexported fields
}
MockSummary is a mock of Summary interface
func NewMockSummary ¶
func NewMockSummary(ctrl *gomock.Controller) *MockSummary
NewMockSummary creates a new mock instance
func (*MockSummary) Collect ¶
func (m *MockSummary) Collect(arg0 chan<- prometheus.Metric)
Collect mocks base method
func (*MockSummary) Describe ¶
func (m *MockSummary) Describe(arg0 chan<- *prometheus.Desc)
Describe mocks base method
func (*MockSummary) EXPECT ¶
func (m *MockSummary) EXPECT() *MockSummaryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockSummary) Write ¶
func (m *MockSummary) Write(arg0 *io_prometheus_client.Metric) error
Write mocks base method
type MockSummaryMockRecorder ¶
type MockSummaryMockRecorder struct {
// contains filtered or unexported fields
}
MockSummaryMockRecorder is the mock recorder for MockSummary
func (*MockSummaryMockRecorder) Collect ¶
func (mr *MockSummaryMockRecorder) Collect(arg0 interface{}) *gomock.Call
Collect indicates an expected call of Collect
func (*MockSummaryMockRecorder) Desc ¶
func (mr *MockSummaryMockRecorder) Desc() *gomock.Call
Desc indicates an expected call of Desc
func (*MockSummaryMockRecorder) Describe ¶
func (mr *MockSummaryMockRecorder) Describe(arg0 interface{}) *gomock.Call
Describe indicates an expected call of Describe
func (*MockSummaryMockRecorder) Observe ¶
func (mr *MockSummaryMockRecorder) Observe(arg0 interface{}) *gomock.Call
Observe indicates an expected call of Observe
func (*MockSummaryMockRecorder) Write ¶
func (mr *MockSummaryMockRecorder) Write(arg0 interface{}) *gomock.Call
Write indicates an expected call of Write
type MockSummaryVec ¶
type MockSummaryVec struct {
// contains filtered or unexported fields
}
MockSummaryVec is a mock of SummaryVec interface
func NewMockSummaryVec ¶
func NewMockSummaryVec(ctrl *gomock.Controller) *MockSummaryVec
NewMockSummaryVec creates a new mock instance
func (*MockSummaryVec) EXPECT ¶
func (m *MockSummaryVec) EXPECT() *MockSummaryVecMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockSummaryVec) With ¶
func (m *MockSummaryVec) With(arg0 prometheus.Labels) prometheus.Observer
With mocks base method
type MockSummaryVecMockRecorder ¶
type MockSummaryVecMockRecorder struct {
// contains filtered or unexported fields
}
MockSummaryVecMockRecorder is the mock recorder for MockSummaryVec
func (*MockSummaryVecMockRecorder) With ¶
func (mr *MockSummaryVecMockRecorder) With(arg0 interface{}) *gomock.Call
With indicates an expected call of With