Documentation ¶
Index ¶
- type MockCollector
- func (_m *MockCollector) GetLoggingOpts() []zap.Option
- func (_m *MockCollector) Restart(_a0 context.Context) error
- func (_m *MockCollector) Run(_a0 context.Context) error
- func (_m *MockCollector) SetLoggingOpts(_a0 []zap.Option)
- func (_m *MockCollector) Status() <-chan *collector.Status
- func (_m *MockCollector) Stop(_a0 context.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCollector ¶
MockCollector is an autogenerated mock type for the Collector type
func NewMockCollector ¶
func NewMockCollector(t interface { mock.TestingT Cleanup(func()) }) *MockCollector
NewMockCollector creates a new instance of MockCollector. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockCollector) GetLoggingOpts ¶
func (_m *MockCollector) GetLoggingOpts() []zap.Option
GetLoggingOpts provides a mock function with given fields:
func (*MockCollector) Restart ¶
func (_m *MockCollector) Restart(_a0 context.Context) error
Restart provides a mock function with given fields: _a0
func (*MockCollector) Run ¶
func (_m *MockCollector) Run(_a0 context.Context) error
Run provides a mock function with given fields: _a0
func (*MockCollector) SetLoggingOpts ¶
func (_m *MockCollector) SetLoggingOpts(_a0 []zap.Option)
SetLoggingOpts provides a mock function with given fields: _a0
func (*MockCollector) Status ¶
func (_m *MockCollector) Status() <-chan *collector.Status
Status provides a mock function with given fields:
func (*MockCollector) Stop ¶
func (_m *MockCollector) Stop(_a0 context.Context)
Stop provides a mock function with given fields: _a0
Click to show internal directories.
Click to hide internal directories.