Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TortoiseController ¶
type TortoiseController interface { UpdateSwitchMachine(switchmachine.State) error GetSwitchMachines() []switchmachine.State GetSwitchMachineById(id switchmachine.Id) (switchmachine.State, error) SetSwitchMachineEventListenerFunc(func(event.SwitchMachineEvent)) HandleDriverEvent(dE hardware.DriverEvent) }
func NewTortoiseController ¶
func NewTortoiseController(driver hardware.Driver) TortoiseController
Wrapping the internal testable call as an external facing interface to restrict functions
Click to show internal directories.
Click to hide internal directories.