Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCounter ¶
type MockCounter struct {
// contains filtered or unexported fields
}
MockCounter is a mock of Counter interface
func NewMockCounter ¶
func NewMockCounter(ctrl *gomock.Controller) *MockCounter
NewMockCounter creates a new mock instance
func (*MockCounter) EXPECT ¶
func (m *MockCounter) EXPECT() *MockCounterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockCounterMockRecorder ¶
type MockCounterMockRecorder struct {
// contains filtered or unexported fields
}
MockCounterMockRecorder is the mock recorder for MockCounter
func (*MockCounterMockRecorder) Add ¶
func (mr *MockCounterMockRecorder) Add(arg0 interface{}) *gomock.Call
Add indicates an expected call of Add
func (*MockCounterMockRecorder) Inc ¶
func (mr *MockCounterMockRecorder) Inc() *gomock.Call
Inc indicates an expected call of Inc
type MockGauge ¶
type MockGauge struct {
// contains filtered or unexported fields
}
MockGauge is a mock of Gauge interface
func NewMockGauge ¶
func NewMockGauge(ctrl *gomock.Controller) *MockGauge
NewMockGauge creates a new mock instance
func (*MockGauge) EXPECT ¶
func (m *MockGauge) EXPECT() *MockGaugeMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockGaugeMockRecorder ¶
type MockGaugeMockRecorder struct {
// contains filtered or unexported fields
}
MockGaugeMockRecorder is the mock recorder for MockGauge
func (*MockGaugeMockRecorder) Dec ¶
func (mr *MockGaugeMockRecorder) Dec() *gomock.Call
Dec indicates an expected call of Dec
func (*MockGaugeMockRecorder) Inc ¶
func (mr *MockGaugeMockRecorder) Inc() *gomock.Call
Inc indicates an expected call of Inc
type MockHistogramVec ¶
type MockHistogramVec struct {
// contains filtered or unexported fields
}
MockHistogramVec is a mock of HistogramVec interface
func NewMockHistogramVec ¶
func NewMockHistogramVec(ctrl *gomock.Controller) *MockHistogramVec
NewMockHistogramVec creates a new mock instance
func (*MockHistogramVec) EXPECT ¶
func (m *MockHistogramVec) EXPECT() *MockHistogramVecMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockHistogramVec) WithLabelValues ¶
func (m *MockHistogramVec) WithLabelValues(arg0 ...string) prometheus.Observer
WithLabelValues mocks base method
type MockHistogramVecMockRecorder ¶
type MockHistogramVecMockRecorder struct {
// contains filtered or unexported fields
}
MockHistogramVecMockRecorder is the mock recorder for MockHistogramVec
func (*MockHistogramVecMockRecorder) WithLabelValues ¶
func (mr *MockHistogramVecMockRecorder) WithLabelValues(arg0 ...interface{}) *gomock.Call
WithLabelValues indicates an expected call of WithLabelValues
type MockObserver ¶
type MockObserver struct {
// contains filtered or unexported fields
}
MockObserver is a mock of Observer interface
func NewMockObserver ¶
func NewMockObserver(ctrl *gomock.Controller) *MockObserver
NewMockObserver creates a new mock instance
func (*MockObserver) EXPECT ¶
func (m *MockObserver) EXPECT() *MockObserverMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockObserver) Observe ¶
func (m *MockObserver) Observe(arg0 float64)
Observe mocks base method
type MockObserverMockRecorder ¶
type MockObserverMockRecorder struct {
// contains filtered or unexported fields
}
MockObserverMockRecorder is the mock recorder for MockObserver
func (*MockObserverMockRecorder) Observe ¶
func (mr *MockObserverMockRecorder) Observe(arg0 interface{}) *gomock.Call
Observe indicates an expected call of Observe