Documentation ¶
Index ¶
- type SlaveControllerMock
- func (s SlaveControllerMock) GetAria2Instance(s2 string) (common.Aria2, error)
- func (s SlaveControllerMock) GetMasterInfo(s2 string) (*cluster.MasterInfo, error)
- func (s SlaveControllerMock) GetOneDriveToken(s2 string, u uint) (string, error)
- func (s SlaveControllerMock) HandleHeartBeat(pingReq *serializer.NodePingReq) (serializer.NodePingResp, error)
- func (s SlaveControllerMock) SendNotification(s3 string, s2 string, message mq.Message) error
- func (s SlaveControllerMock) SubmitTask(s3 string, i interface{}, s2 string, f func(interface{})) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SlaveControllerMock ¶
func (SlaveControllerMock) GetAria2Instance ¶
func (s SlaveControllerMock) GetAria2Instance(s2 string) (common.Aria2, error)
func (SlaveControllerMock) GetMasterInfo ¶
func (s SlaveControllerMock) GetMasterInfo(s2 string) (*cluster.MasterInfo, error)
func (SlaveControllerMock) GetOneDriveToken ¶
func (s SlaveControllerMock) GetOneDriveToken(s2 string, u uint) (string, error)
func (SlaveControllerMock) HandleHeartBeat ¶
func (s SlaveControllerMock) HandleHeartBeat(pingReq *serializer.NodePingReq) (serializer.NodePingResp, error)
func (SlaveControllerMock) SendNotification ¶
func (SlaveControllerMock) SubmitTask ¶
func (s SlaveControllerMock) SubmitTask(s3 string, i interface{}, s2 string, f func(interface{})) error
Click to show internal directories.
Click to hide internal directories.