Documentation ¶
Overview ¶
Package mock_collector is a generated GoMock package.
Index ¶
- type MockInstrumentableCollector
- func (m *MockInstrumentableCollector) Collect(arg0 chan<- prometheus.Metric)
- func (m *MockInstrumentableCollector) CollectWithError(arg0 chan<- prometheus.Metric) error
- func (m *MockInstrumentableCollector) Describe(arg0 chan<- *prometheus.Desc)
- func (m *MockInstrumentableCollector) EXPECT() *MockInstrumentableCollectorMockRecorder
- func (m *MockInstrumentableCollector) GetSubsystem() string
- type MockInstrumentableCollectorMockRecorder
- func (mr *MockInstrumentableCollectorMockRecorder) Collect(arg0 interface{}) *gomock.Call
- func (mr *MockInstrumentableCollectorMockRecorder) CollectWithError(arg0 interface{}) *gomock.Call
- func (mr *MockInstrumentableCollectorMockRecorder) Describe(arg0 interface{}) *gomock.Call
- func (mr *MockInstrumentableCollectorMockRecorder) GetSubsystem() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockInstrumentableCollector ¶
type MockInstrumentableCollector struct {
// contains filtered or unexported fields
}
MockInstrumentableCollector is a mock of InstrumentableCollector interface.
func NewMockInstrumentableCollector ¶
func NewMockInstrumentableCollector(ctrl *gomock.Controller) *MockInstrumentableCollector
NewMockInstrumentableCollector creates a new mock instance.
func (*MockInstrumentableCollector) Collect ¶
func (m *MockInstrumentableCollector) Collect(arg0 chan<- prometheus.Metric)
Collect mocks base method.
func (*MockInstrumentableCollector) CollectWithError ¶
func (m *MockInstrumentableCollector) CollectWithError(arg0 chan<- prometheus.Metric) error
CollectWithError mocks base method.
func (*MockInstrumentableCollector) Describe ¶
func (m *MockInstrumentableCollector) Describe(arg0 chan<- *prometheus.Desc)
Describe mocks base method.
func (*MockInstrumentableCollector) EXPECT ¶
func (m *MockInstrumentableCollector) EXPECT() *MockInstrumentableCollectorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInstrumentableCollector) GetSubsystem ¶
func (m *MockInstrumentableCollector) GetSubsystem() string
GetSubsystem mocks base method.
type MockInstrumentableCollectorMockRecorder ¶
type MockInstrumentableCollectorMockRecorder struct {
// contains filtered or unexported fields
}
MockInstrumentableCollectorMockRecorder is the mock recorder for MockInstrumentableCollector.
func (*MockInstrumentableCollectorMockRecorder) Collect ¶
func (mr *MockInstrumentableCollectorMockRecorder) Collect(arg0 interface{}) *gomock.Call
Collect indicates an expected call of Collect.
func (*MockInstrumentableCollectorMockRecorder) CollectWithError ¶
func (mr *MockInstrumentableCollectorMockRecorder) CollectWithError(arg0 interface{}) *gomock.Call
CollectWithError indicates an expected call of CollectWithError.
func (*MockInstrumentableCollectorMockRecorder) Describe ¶
func (mr *MockInstrumentableCollectorMockRecorder) Describe(arg0 interface{}) *gomock.Call
Describe indicates an expected call of Describe.
func (*MockInstrumentableCollectorMockRecorder) GetSubsystem ¶
func (mr *MockInstrumentableCollectorMockRecorder) GetSubsystem() *gomock.Call
GetSubsystem indicates an expected call of GetSubsystem.