controllermock

package
v1.5.37 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 24, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SlaveControllerMock

type SlaveControllerMock struct {
	mock.Mock
}

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 (s SlaveControllerMock) SendNotification(s3 string, s2 string, message mq.Message) error

func (SlaveControllerMock) SubmitTask

func (s SlaveControllerMock) SubmitTask(s3 string, i interface{}, s2 string, f func(interface{})) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL