Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockCDNService
- func (m *MockCDNService) EXPECT() *MockCDNServiceMockRecorder
- func (m *MockCDNService) GetSeedPieces(arg0 string) ([]*task.PieceInfo, error)
- func (m *MockCDNService) GetSeedTask(arg0 string) (*task.SeedTask, error)
- func (m *MockCDNService) RegisterSeedTask(arg0 context.Context, arg1 string, arg2 *task.SeedTask) (*task.SeedTask, <-chan *task.PieceInfo, error)
- type MockCDNServiceMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCDNService ¶
type MockCDNService struct {
// contains filtered or unexported fields
}
MockCDNService is a mock of CDNService interface.
func NewMockCDNService ¶
func NewMockCDNService(ctrl *gomock.Controller) *MockCDNService
NewMockCDNService creates a new mock instance.
func (*MockCDNService) EXPECT ¶
func (m *MockCDNService) EXPECT() *MockCDNServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCDNService) GetSeedPieces ¶
func (m *MockCDNService) GetSeedPieces(arg0 string) ([]*task.PieceInfo, error)
GetSeedPieces mocks base method.
func (*MockCDNService) GetSeedTask ¶
func (m *MockCDNService) GetSeedTask(arg0 string) (*task.SeedTask, error)
GetSeedTask mocks base method.
type MockCDNServiceMockRecorder ¶
type MockCDNServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockCDNServiceMockRecorder is the mock recorder for MockCDNService.
func (*MockCDNServiceMockRecorder) GetSeedPieces ¶
func (mr *MockCDNServiceMockRecorder) GetSeedPieces(arg0 interface{}) *gomock.Call
GetSeedPieces indicates an expected call of GetSeedPieces.
func (*MockCDNServiceMockRecorder) GetSeedTask ¶
func (mr *MockCDNServiceMockRecorder) GetSeedTask(arg0 interface{}) *gomock.Call
GetSeedTask indicates an expected call of GetSeedTask.
func (*MockCDNServiceMockRecorder) RegisterSeedTask ¶
func (mr *MockCDNServiceMockRecorder) RegisterSeedTask(arg0, arg1, arg2 interface{}) *gomock.Call
RegisterSeedTask indicates an expected call of RegisterSeedTask.
Directories ¶
Path | Synopsis |
---|---|
Package cdn is a generated GoMock package.
|
Package cdn is a generated GoMock package. |
Package progress is a generated GoMock package.
|
Package progress is a generated GoMock package. |
Package task is a generated GoMock package.
|
Package task is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.