Documentation
¶
Overview ¶
Package mock_pkg is a generated GoMock package.
Index ¶
- type MockClockController
- func (m *MockClockController) Advance(arg0 time.Time)
- func (m *MockClockController) After(arg0 time.Duration, arg1 func()) func()
- func (m *MockClockController) EXPECT() *MockClockControllerMockRecorder
- func (m *MockClockController) Ticker(arg0 time.Duration, arg1 func()) func()
- func (m *MockClockController) Timestep() time.Duration
- type MockClockControllerMockRecorder
- func (mr *MockClockControllerMockRecorder) Advance(arg0 interface{}) *gomock.Call
- func (mr *MockClockControllerMockRecorder) After(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClockControllerMockRecorder) Ticker(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClockControllerMockRecorder) Timestep() *gomock.Call
- type MockHostFactory
- type MockHostFactoryMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClockController ¶
type MockClockController struct {
// contains filtered or unexported fields
}
MockClockController is a mock of ClockController interface.
func NewMockClockController ¶
func NewMockClockController(ctrl *gomock.Controller) *MockClockController
NewMockClockController creates a new mock instance.
func (*MockClockController) Advance ¶
func (m *MockClockController) Advance(arg0 time.Time)
Advance mocks base method.
func (*MockClockController) After ¶
func (m *MockClockController) After(arg0 time.Duration, arg1 func()) func()
After mocks base method.
func (*MockClockController) EXPECT ¶
func (m *MockClockController) EXPECT() *MockClockControllerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClockController) Ticker ¶
func (m *MockClockController) Ticker(arg0 time.Duration, arg1 func()) func()
Ticker mocks base method.
func (*MockClockController) Timestep ¶
func (m *MockClockController) Timestep() time.Duration
Timestep mocks base method.
type MockClockControllerMockRecorder ¶
type MockClockControllerMockRecorder struct {
// contains filtered or unexported fields
}
MockClockControllerMockRecorder is the mock recorder for MockClockController.
func (*MockClockControllerMockRecorder) Advance ¶
func (mr *MockClockControllerMockRecorder) Advance(arg0 interface{}) *gomock.Call
Advance indicates an expected call of Advance.
func (*MockClockControllerMockRecorder) After ¶
func (mr *MockClockControllerMockRecorder) After(arg0, arg1 interface{}) *gomock.Call
After indicates an expected call of After.
func (*MockClockControllerMockRecorder) Ticker ¶
func (mr *MockClockControllerMockRecorder) Ticker(arg0, arg1 interface{}) *gomock.Call
Ticker indicates an expected call of Ticker.
func (*MockClockControllerMockRecorder) Timestep ¶
func (mr *MockClockControllerMockRecorder) Timestep() *gomock.Call
Timestep indicates an expected call of Timestep.
type MockHostFactory ¶
type MockHostFactory struct {
// contains filtered or unexported fields
}
MockHostFactory is a mock of HostFactory interface.
func NewMockHostFactory ¶
func NewMockHostFactory(ctrl *gomock.Controller) *MockHostFactory
NewMockHostFactory creates a new mock instance.
func (*MockHostFactory) EXPECT ¶
func (m *MockHostFactory) EXPECT() *MockHostFactoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockHostFactoryMockRecorder ¶
type MockHostFactoryMockRecorder struct {
// contains filtered or unexported fields
}
MockHostFactoryMockRecorder is the mock recorder for MockHostFactory.
func (*MockHostFactoryMockRecorder) NewHost ¶
func (mr *MockHostFactoryMockRecorder) NewHost(arg0, arg1 interface{}) *gomock.Call
NewHost indicates an expected call of NewHost.