Documentation ¶
Overview ¶
Package mock_metrics is a generated GoMock package.
Index ¶
- type MockScope
- func (m *MockScope) EXPECT() *MockScopeMockRecorder
- func (m *MockScope) Gauge(arg0 string, arg1 int64)
- func (m *MockScope) GaugeDelta(arg0 string, arg1 int64)
- func (m *MockScope) Inc(arg0 string, arg1 int64)
- func (m *MockScope) MustRegister(arg0 ...prometheus.Collector)
- func (m *MockScope) NewScope(arg0 ...string) metrics.Scope
- func (m *MockScope) SetInt(arg0 string, arg1 int64)
- func (m *MockScope) Timing(arg0 string, arg1 int64)
- func (m *MockScope) TimingDuration(arg0 string, arg1 time.Duration)
- type MockScopeMockRecorder
- func (mr *MockScopeMockRecorder) Gauge(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockScopeMockRecorder) GaugeDelta(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockScopeMockRecorder) Inc(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockScopeMockRecorder) MustRegister(arg0 ...interface{}) *gomock.Call
- func (mr *MockScopeMockRecorder) NewScope(arg0 ...interface{}) *gomock.Call
- func (mr *MockScopeMockRecorder) SetInt(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockScopeMockRecorder) Timing(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockScopeMockRecorder) TimingDuration(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockScope ¶
type MockScope struct {
// contains filtered or unexported fields
}
MockScope is a mock of Scope interface
func NewMockScope ¶
func NewMockScope(ctrl *gomock.Controller) *MockScope
NewMockScope creates a new mock instance
func (*MockScope) EXPECT ¶
func (m *MockScope) EXPECT() *MockScopeMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockScope) GaugeDelta ¶
GaugeDelta mocks base method
func (*MockScope) MustRegister ¶
func (m *MockScope) MustRegister(arg0 ...prometheus.Collector)
MustRegister mocks base method
type MockScopeMockRecorder ¶
type MockScopeMockRecorder struct {
// contains filtered or unexported fields
}
MockScopeMockRecorder is the mock recorder for MockScope
func (*MockScopeMockRecorder) Gauge ¶
func (mr *MockScopeMockRecorder) Gauge(arg0, arg1 interface{}) *gomock.Call
Gauge indicates an expected call of Gauge
func (*MockScopeMockRecorder) GaugeDelta ¶
func (mr *MockScopeMockRecorder) GaugeDelta(arg0, arg1 interface{}) *gomock.Call
GaugeDelta indicates an expected call of GaugeDelta
func (*MockScopeMockRecorder) Inc ¶
func (mr *MockScopeMockRecorder) Inc(arg0, arg1 interface{}) *gomock.Call
Inc indicates an expected call of Inc
func (*MockScopeMockRecorder) MustRegister ¶
func (mr *MockScopeMockRecorder) MustRegister(arg0 ...interface{}) *gomock.Call
MustRegister indicates an expected call of MustRegister
func (*MockScopeMockRecorder) NewScope ¶
func (mr *MockScopeMockRecorder) NewScope(arg0 ...interface{}) *gomock.Call
NewScope indicates an expected call of NewScope
func (*MockScopeMockRecorder) SetInt ¶
func (mr *MockScopeMockRecorder) SetInt(arg0, arg1 interface{}) *gomock.Call
SetInt indicates an expected call of SetInt
func (*MockScopeMockRecorder) Timing ¶
func (mr *MockScopeMockRecorder) Timing(arg0, arg1 interface{}) *gomock.Call
Timing indicates an expected call of Timing
func (*MockScopeMockRecorder) TimingDuration ¶
func (mr *MockScopeMockRecorder) TimingDuration(arg0, arg1 interface{}) *gomock.Call
TimingDuration indicates an expected call of TimingDuration