Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
Controller is an autogenerated mock type for the Controller type
func NewController ¶
func NewController(t mockConstructorTestingTNewController) *Controller
NewController creates a new instance of Controller. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Controller) Command ¶
func (_m *Controller) Command(_a0 string, _a1 sctrl.ResponseHandler) error
Command provides a mock function with given fields: _a0, _a1
func (*Controller) CommandWithTimeout ¶
func (_m *Controller) CommandWithTimeout(_a0 string, _a1 time.Duration, _a2 sctrl.ResponseHandler) error
CommandWithTimeout provides a mock function with given fields: _a0, _a1, _a2
type ControllerConnection ¶
ControllerConnection is an autogenerated mock type for the ControllerConnection type
func NewControllerConnection ¶
func NewControllerConnection(t mockConstructorTestingTNewControllerConnection) *ControllerConnection
NewControllerConnection creates a new instance of ControllerConnection. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
type DispatchReader ¶
DispatchReader is an autogenerated mock type for the DispatchReader type
func NewDispatchReader ¶
func NewDispatchReader(t mockConstructorTestingTNewDispatchReader) *DispatchReader
NewDispatchReader creates a new instance of DispatchReader. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
type Dispatcher ¶
Dispatcher is an autogenerated mock type for the Dispatcher type
func NewDispatcher ¶
func NewDispatcher(t mockConstructorTestingTNewDispatcher) *Dispatcher
NewDispatcher creates a new instance of Dispatcher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Dispatcher) Request ¶
func (_m *Dispatcher) Request(timeout time.Duration, handler sctrl.ResponseHandler) error
Request provides a mock function with given fields: timeout, handler
type NotificationHandler ¶
NotificationHandler is an autogenerated mock type for the NotificationHandler type
func NewNotificationHandler ¶
func NewNotificationHandler(t mockConstructorTestingTNewNotificationHandler) *NotificationHandler
NewNotificationHandler creates a new instance of NotificationHandler. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*NotificationHandler) OnMessage ¶
func (_m *NotificationHandler) OnMessage(_a0 string)
OnMessage provides a mock function with given fields: _a0
type ResponseHandler ¶
ResponseHandler is an autogenerated mock type for the ResponseHandler type
func NewResponseHandler ¶
func NewResponseHandler(t mockConstructorTestingTNewResponseHandler) *ResponseHandler
NewResponseHandler creates a new instance of ResponseHandler. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ResponseHandler) Execute ¶
func (_m *ResponseHandler) Execute(_a0 sctrl.ResponseReader) error
Execute provides a mock function with given fields: _a0
type ResponseReader ¶
ResponseReader is an autogenerated mock type for the ResponseReader type
func NewResponseReader ¶
func NewResponseReader(t mockConstructorTestingTNewResponseReader) *ResponseReader
NewResponseReader creates a new instance of ResponseReader. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ResponseReader) AssertLine ¶
func (_m *ResponseReader) AssertLine(_a0 string) error
AssertLine provides a mock function with given fields: _a0
func (*ResponseReader) AssertOK ¶
func (_m *ResponseReader) AssertOK() error
AssertOK provides a mock function with given fields:
func (*ResponseReader) GetLine ¶
func (_m *ResponseReader) GetLine() (string, error)
GetLine provides a mock function with given fields:
func (*ResponseReader) ReadLineWithOk ¶
func (_m *ResponseReader) ReadLineWithOk() (string, error)
ReadLineWithOk provides a mock function with given fields: