Documentation ¶
Overview ¶
Package mock_testutil is a generated GoMock package.
Package mock_testutil is a generated GoMock package.
Package mock_testutil is a generated GoMock package.
Index ¶
- type Mockcollector
- type MockcollectorMockRecorder
- type Mockfilterer
- type MockfiltererMockRecorder
- type Mockprinter
- type MockprinterMockRecorder
- type MockregistererGatherer
- func (m *MockregistererGatherer) EXPECT() *MockregistererGathererMockRecorder
- func (m *MockregistererGatherer) Gather() ([]*go0.MetricFamily, error)
- func (m *MockregistererGatherer) MustRegister(arg0 ...prometheus.Collector)
- func (m *MockregistererGatherer) Register(arg0 prometheus.Collector) error
- func (m *MockregistererGatherer) Unregister(arg0 prometheus.Collector) bool
- type MockregistererGathererMockRecorder
- func (mr *MockregistererGathererMockRecorder) Gather() *gomock.Call
- func (mr *MockregistererGathererMockRecorder) MustRegister(arg0 ...interface{}) *gomock.Call
- func (mr *MockregistererGathererMockRecorder) Register(arg0 interface{}) *gomock.Call
- func (mr *MockregistererGathererMockRecorder) Unregister(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mockcollector ¶
type Mockcollector struct {
// contains filtered or unexported fields
}
Mockcollector is a mock of collector interface
func NewMockcollector ¶
func NewMockcollector(ctrl *gomock.Controller) *Mockcollector
NewMockcollector creates a new mock instance
func (*Mockcollector) EXPECT ¶
func (m *Mockcollector) EXPECT() *MockcollectorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*Mockcollector) MustCollect ¶
func (m *Mockcollector) MustCollect(arg0 ...prometheus.Collector) prometheus.Gatherer
MustCollect mocks base method
type MockcollectorMockRecorder ¶
type MockcollectorMockRecorder struct {
// contains filtered or unexported fields
}
MockcollectorMockRecorder is the mock recorder for Mockcollector
func (*MockcollectorMockRecorder) MustCollect ¶
func (mr *MockcollectorMockRecorder) MustCollect(arg0 ...interface{}) *gomock.Call
MustCollect indicates an expected call of MustCollect
type Mockfilterer ¶
type Mockfilterer struct {
// contains filtered or unexported fields
}
Mockfilterer is a mock of filterer interface
func NewMockfilterer ¶
func NewMockfilterer(ctrl *gomock.Controller) *Mockfilterer
NewMockfilterer creates a new mock instance
func (*Mockfilterer) EXPECT ¶
func (m *Mockfilterer) EXPECT() *MockfiltererMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*Mockfilterer) FilterMetricsByName ¶
func (m *Mockfilterer) FilterMetricsByName(metrics []*go0.MetricFamily, names ...string) []*go0.MetricFamily
FilterMetricsByName mocks base method
type MockfiltererMockRecorder ¶
type MockfiltererMockRecorder struct {
// contains filtered or unexported fields
}
MockfiltererMockRecorder is the mock recorder for Mockfilterer
func (*MockfiltererMockRecorder) FilterMetricsByName ¶
func (mr *MockfiltererMockRecorder) FilterMetricsByName(metrics interface{}, names ...interface{}) *gomock.Call
FilterMetricsByName indicates an expected call of FilterMetricsByName
type Mockprinter ¶
type Mockprinter struct {
// contains filtered or unexported fields
}
Mockprinter is a mock of printer interface
func NewMockprinter ¶
func NewMockprinter(ctrl *gomock.Controller) *Mockprinter
NewMockprinter creates a new mock instance
func (*Mockprinter) EXPECT ¶
func (m *Mockprinter) EXPECT() *MockprinterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*Mockprinter) PrintMetrics ¶
func (m *Mockprinter) PrintMetrics(metrics []*go0.MetricFamily) error
PrintMetrics mocks base method
type MockprinterMockRecorder ¶
type MockprinterMockRecorder struct {
// contains filtered or unexported fields
}
MockprinterMockRecorder is the mock recorder for Mockprinter
func (*MockprinterMockRecorder) PrintMetrics ¶
func (mr *MockprinterMockRecorder) PrintMetrics(metrics interface{}) *gomock.Call
PrintMetrics indicates an expected call of PrintMetrics
type MockregistererGatherer ¶
type MockregistererGatherer struct {
// contains filtered or unexported fields
}
MockregistererGatherer is a mock of registererGatherer interface
func NewMockregistererGatherer ¶
func NewMockregistererGatherer(ctrl *gomock.Controller) *MockregistererGatherer
NewMockregistererGatherer creates a new mock instance
func (*MockregistererGatherer) EXPECT ¶
func (m *MockregistererGatherer) EXPECT() *MockregistererGathererMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockregistererGatherer) Gather ¶
func (m *MockregistererGatherer) Gather() ([]*go0.MetricFamily, error)
Gather mocks base method
func (*MockregistererGatherer) MustRegister ¶
func (m *MockregistererGatherer) MustRegister(arg0 ...prometheus.Collector)
MustRegister mocks base method
func (*MockregistererGatherer) Register ¶
func (m *MockregistererGatherer) Register(arg0 prometheus.Collector) error
Register mocks base method
func (*MockregistererGatherer) Unregister ¶
func (m *MockregistererGatherer) Unregister(arg0 prometheus.Collector) bool
Unregister mocks base method
type MockregistererGathererMockRecorder ¶
type MockregistererGathererMockRecorder struct {
// contains filtered or unexported fields
}
MockregistererGathererMockRecorder is the mock recorder for MockregistererGatherer
func (*MockregistererGathererMockRecorder) Gather ¶
func (mr *MockregistererGathererMockRecorder) Gather() *gomock.Call
Gather indicates an expected call of Gather
func (*MockregistererGathererMockRecorder) MustRegister ¶
func (mr *MockregistererGathererMockRecorder) MustRegister(arg0 ...interface{}) *gomock.Call
MustRegister indicates an expected call of MustRegister
func (*MockregistererGathererMockRecorder) Register ¶
func (mr *MockregistererGathererMockRecorder) Register(arg0 interface{}) *gomock.Call
Register indicates an expected call of Register
func (*MockregistererGathererMockRecorder) Unregister ¶
func (mr *MockregistererGathererMockRecorder) Unregister(arg0 interface{}) *gomock.Call
Unregister indicates an expected call of Unregister