Documentation ¶
Overview ¶
Package progress is a generated GoMock package.
Index ¶
- type MockManager
- func (m *MockManager) EXPECT() *MockManagerMockRecorder
- func (m *MockManager) PublishPiece(arg0 context.Context, arg1 string, arg2 *task.PieceInfo) error
- func (m *MockManager) PublishTask(arg0 context.Context, arg1 string, arg2 *task.SeedTask) error
- func (m *MockManager) WatchSeedProgress(arg0 context.Context, arg1, arg2 string) (<-chan *task.PieceInfo, error)
- type MockManagerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockManager ¶
type MockManager struct {
// contains filtered or unexported fields
}
MockManager is a mock of Manager interface.
func NewMockManager ¶
func NewMockManager(ctrl *gomock.Controller) *MockManager
NewMockManager creates a new mock instance.
func (*MockManager) EXPECT ¶
func (m *MockManager) EXPECT() *MockManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockManager) PublishPiece ¶
PublishPiece mocks base method.
func (*MockManager) PublishTask ¶
PublishTask mocks base method.
func (*MockManager) WatchSeedProgress ¶
func (m *MockManager) WatchSeedProgress(arg0 context.Context, arg1, arg2 string) (<-chan *task.PieceInfo, error)
WatchSeedProgress mocks base method.
type MockManagerMockRecorder ¶
type MockManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockManagerMockRecorder is the mock recorder for MockManager.
func (*MockManagerMockRecorder) PublishPiece ¶
func (mr *MockManagerMockRecorder) PublishPiece(arg0, arg1, arg2 interface{}) *gomock.Call
PublishPiece indicates an expected call of PublishPiece.
func (*MockManagerMockRecorder) PublishTask ¶
func (mr *MockManagerMockRecorder) PublishTask(arg0, arg1, arg2 interface{}) *gomock.Call
PublishTask indicates an expected call of PublishTask.
func (*MockManagerMockRecorder) WatchSeedProgress ¶
func (mr *MockManagerMockRecorder) WatchSeedProgress(arg0, arg1, arg2 interface{}) *gomock.Call
WatchSeedProgress indicates an expected call of WatchSeedProgress.
Click to show internal directories.
Click to hide internal directories.