Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockChecker
- type MockCheckerFactory
- type MockCheckerFactoryMockRecorder
- type MockCheckerMockRecorder
- type MockResolver
- type MockResolverMockRecorder
- type MockWatchdog
- func (m *MockWatchdog) AddContext(arg0 context.Context, arg1 string) (context.Context, bool)
- func (m *MockWatchdog) EXPECT() *MockWatchdogMockRecorder
- func (m *MockWatchdog) RemoveContext(arg0 string) bool
- func (m *MockWatchdog) Result() (bool, error)
- func (m *MockWatchdog) Start(arg0 context.Context)
- func (m *MockWatchdog) Stop()
- type MockWatchdogFactory
- type MockWatchdogFactoryMockRecorder
- type MockWatchdogManager
- type MockWatchdogManagerMockRecorder
- type MockWatchdogMockRecorder
- func (mr *MockWatchdogMockRecorder) AddContext(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockWatchdogMockRecorder) RemoveContext(arg0 interface{}) *gomock.Call
- func (mr *MockWatchdogMockRecorder) Result() *gomock.Call
- func (mr *MockWatchdogMockRecorder) Start(arg0 interface{}) *gomock.Call
- func (mr *MockWatchdogMockRecorder) Stop() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockChecker ¶
type MockChecker struct {
// contains filtered or unexported fields
}
MockChecker is a mock of Checker interface.
func NewMockChecker ¶
func NewMockChecker(ctrl *gomock.Controller) *MockChecker
NewMockChecker creates a new mock instance.
func (*MockChecker) Check ¶
func (m *MockChecker) Check(arg0 context.Context) (bool, error)
Check mocks base method.
func (*MockChecker) EXPECT ¶
func (m *MockChecker) EXPECT() *MockCheckerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockCheckerFactory ¶
type MockCheckerFactory struct {
// contains filtered or unexported fields
}
MockCheckerFactory is a mock of CheckerFactory interface.
func NewMockCheckerFactory ¶
func NewMockCheckerFactory(ctrl *gomock.Controller) *MockCheckerFactory
NewMockCheckerFactory creates a new mock instance.
func (*MockCheckerFactory) EXPECT ¶
func (m *MockCheckerFactory) EXPECT() *MockCheckerFactoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockCheckerFactoryMockRecorder ¶
type MockCheckerFactoryMockRecorder struct {
// contains filtered or unexported fields
}
MockCheckerFactoryMockRecorder is the mock recorder for MockCheckerFactory.
func (*MockCheckerFactoryMockRecorder) NewChecker ¶
func (mr *MockCheckerFactoryMockRecorder) NewChecker(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
NewChecker indicates an expected call of NewChecker.
type MockCheckerMockRecorder ¶
type MockCheckerMockRecorder struct {
// contains filtered or unexported fields
}
MockCheckerMockRecorder is the mock recorder for MockChecker.
func (*MockCheckerMockRecorder) Check ¶
func (mr *MockCheckerMockRecorder) Check(arg0 interface{}) *gomock.Call
Check indicates an expected call of Check.
type MockResolver ¶
type MockResolver struct {
// contains filtered or unexported fields
}
MockResolver is a mock of Resolver interface.
func NewMockResolver ¶
func NewMockResolver(ctrl *gomock.Controller) *MockResolver
NewMockResolver creates a new mock instance.
func (*MockResolver) EXPECT ¶
func (m *MockResolver) EXPECT() *MockResolverMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockResolverMockRecorder ¶
type MockResolverMockRecorder struct {
// contains filtered or unexported fields
}
MockResolverMockRecorder is the mock recorder for MockResolver.
func (*MockResolverMockRecorder) LookupTXT ¶
func (mr *MockResolverMockRecorder) LookupTXT(arg0, arg1 interface{}) *gomock.Call
LookupTXT indicates an expected call of LookupTXT.
type MockWatchdog ¶
type MockWatchdog struct {
// contains filtered or unexported fields
}
MockWatchdog is a mock of Watchdog interface.
func NewMockWatchdog ¶
func NewMockWatchdog(ctrl *gomock.Controller) *MockWatchdog
NewMockWatchdog creates a new mock instance.
func (*MockWatchdog) AddContext ¶
AddContext mocks base method.
func (*MockWatchdog) EXPECT ¶
func (m *MockWatchdog) EXPECT() *MockWatchdogMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockWatchdog) RemoveContext ¶
func (m *MockWatchdog) RemoveContext(arg0 string) bool
RemoveContext mocks base method.
func (*MockWatchdog) Result ¶
func (m *MockWatchdog) Result() (bool, error)
Result mocks base method.
func (*MockWatchdog) Start ¶
func (m *MockWatchdog) Start(arg0 context.Context)
Start mocks base method.
type MockWatchdogFactory ¶
type MockWatchdogFactory struct {
// contains filtered or unexported fields
}
MockWatchdogFactory is a mock of WatchdogFactory interface.
func NewMockWatchdogFactory ¶
func NewMockWatchdogFactory(ctrl *gomock.Controller) *MockWatchdogFactory
NewMockWatchdogFactory creates a new mock instance.
func (*MockWatchdogFactory) EXPECT ¶
func (m *MockWatchdogFactory) EXPECT() *MockWatchdogFactoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockWatchdogFactoryMockRecorder ¶
type MockWatchdogFactoryMockRecorder struct {
// contains filtered or unexported fields
}
MockWatchdogFactoryMockRecorder is the mock recorder for MockWatchdogFactory.
func (*MockWatchdogFactoryMockRecorder) NewWatchdog ¶
func (mr *MockWatchdogFactoryMockRecorder) NewWatchdog(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
NewWatchdog indicates an expected call of NewWatchdog.
type MockWatchdogManager ¶
type MockWatchdogManager struct {
// contains filtered or unexported fields
}
MockWatchdogManager is a mock of WatchdogManager interface.
func NewMockWatchdogManager ¶
func NewMockWatchdogManager(ctrl *gomock.Controller) *MockWatchdogManager
NewMockWatchdogManager creates a new mock instance.
func (*MockWatchdogManager) EXPECT ¶
func (m *MockWatchdogManager) EXPECT() *MockWatchdogManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockWatchdogManagerMockRecorder ¶
type MockWatchdogManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockWatchdogManagerMockRecorder is the mock recorder for MockWatchdogManager.
func (*MockWatchdogManagerMockRecorder) GetResultAndContext ¶
func (mr *MockWatchdogManagerMockRecorder) GetResultAndContext(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
GetResultAndContext indicates an expected call of GetResultAndContext.
type MockWatchdogMockRecorder ¶
type MockWatchdogMockRecorder struct {
// contains filtered or unexported fields
}
MockWatchdogMockRecorder is the mock recorder for MockWatchdog.
func (*MockWatchdogMockRecorder) AddContext ¶
func (mr *MockWatchdogMockRecorder) AddContext(arg0, arg1 interface{}) *gomock.Call
AddContext indicates an expected call of AddContext.
func (*MockWatchdogMockRecorder) RemoveContext ¶
func (mr *MockWatchdogMockRecorder) RemoveContext(arg0 interface{}) *gomock.Call
RemoveContext indicates an expected call of RemoveContext.
func (*MockWatchdogMockRecorder) Result ¶
func (mr *MockWatchdogMockRecorder) Result() *gomock.Call
Result indicates an expected call of Result.
func (*MockWatchdogMockRecorder) Start ¶
func (mr *MockWatchdogMockRecorder) Start(arg0 interface{}) *gomock.Call
Start indicates an expected call of Start.
func (*MockWatchdogMockRecorder) Stop ¶
func (mr *MockWatchdogMockRecorder) Stop() *gomock.Call
Stop indicates an expected call of Stop.