Documentation ¶
Overview ¶
Package mock_debugstat is a generated GoMock package.
Index ¶
- type MockStatService
- func (m *MockStatService) AddProvider(arg0 debugstat.StatProvider)
- func (m *MockStatService) Close(arg0 context.Context) error
- func (m *MockStatService) EXPECT() *MockStatServiceMockRecorder
- func (m *MockStatService) GetStat() debugstat.StatSummary
- func (m *MockStatService) Init(arg0 *app.App) error
- func (m *MockStatService) Name() string
- func (m *MockStatService) RemoveProvider(arg0 debugstat.StatProvider)
- func (m *MockStatService) Run(arg0 context.Context) error
- type MockStatServiceMockRecorder
- func (mr *MockStatServiceMockRecorder) AddProvider(arg0 any) *gomock.Call
- func (mr *MockStatServiceMockRecorder) Close(arg0 any) *gomock.Call
- func (mr *MockStatServiceMockRecorder) GetStat() *gomock.Call
- func (mr *MockStatServiceMockRecorder) Init(arg0 any) *gomock.Call
- func (mr *MockStatServiceMockRecorder) Name() *gomock.Call
- func (mr *MockStatServiceMockRecorder) RemoveProvider(arg0 any) *gomock.Call
- func (mr *MockStatServiceMockRecorder) Run(arg0 any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockStatService ¶
type MockStatService struct {
// contains filtered or unexported fields
}
MockStatService is a mock of StatService interface.
func NewMockStatService ¶
func NewMockStatService(ctrl *gomock.Controller) *MockStatService
NewMockStatService creates a new mock instance.
func (*MockStatService) AddProvider ¶
func (m *MockStatService) AddProvider(arg0 debugstat.StatProvider)
AddProvider mocks base method.
func (*MockStatService) Close ¶
func (m *MockStatService) Close(arg0 context.Context) error
Close mocks base method.
func (*MockStatService) EXPECT ¶
func (m *MockStatService) EXPECT() *MockStatServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStatService) GetStat ¶
func (m *MockStatService) GetStat() debugstat.StatSummary
GetStat mocks base method.
func (*MockStatService) Init ¶
func (m *MockStatService) Init(arg0 *app.App) error
Init mocks base method.
func (*MockStatService) RemoveProvider ¶
func (m *MockStatService) RemoveProvider(arg0 debugstat.StatProvider)
RemoveProvider mocks base method.
type MockStatServiceMockRecorder ¶
type MockStatServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockStatServiceMockRecorder is the mock recorder for MockStatService.
func (*MockStatServiceMockRecorder) AddProvider ¶
func (mr *MockStatServiceMockRecorder) AddProvider(arg0 any) *gomock.Call
AddProvider indicates an expected call of AddProvider.
func (*MockStatServiceMockRecorder) Close ¶
func (mr *MockStatServiceMockRecorder) Close(arg0 any) *gomock.Call
Close indicates an expected call of Close.
func (*MockStatServiceMockRecorder) GetStat ¶
func (mr *MockStatServiceMockRecorder) GetStat() *gomock.Call
GetStat indicates an expected call of GetStat.
func (*MockStatServiceMockRecorder) Init ¶
func (mr *MockStatServiceMockRecorder) Init(arg0 any) *gomock.Call
Init indicates an expected call of Init.
func (*MockStatServiceMockRecorder) Name ¶
func (mr *MockStatServiceMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MockStatServiceMockRecorder) RemoveProvider ¶
func (mr *MockStatServiceMockRecorder) RemoveProvider(arg0 any) *gomock.Call
RemoveProvider indicates an expected call of RemoveProvider.