Documentation ¶
Overview ¶
Package mockscheduler is a generated GoMock package.
Package mockscheduler is a generated GoMock package.
Index ¶
- type MockReloadableScheduler
- func (m *MockReloadableScheduler) BlacklistSnapshot() ([]connstate.BlacklistedConn, error)
- func (m *MockReloadableScheduler) Download(arg0 string, arg1 core.Digest) error
- func (m *MockReloadableScheduler) EXPECT() *MockReloadableSchedulerMockRecorder
- func (m *MockReloadableScheduler) Probe() error
- func (m *MockReloadableScheduler) Reload(arg0 scheduler.Config)
- func (m *MockReloadableScheduler) RemoveTorrent(arg0 core.Digest) error
- func (m *MockReloadableScheduler) Stop()
- type MockReloadableSchedulerMockRecorder
- func (mr *MockReloadableSchedulerMockRecorder) BlacklistSnapshot() *gomock.Call
- func (mr *MockReloadableSchedulerMockRecorder) Download(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockReloadableSchedulerMockRecorder) Probe() *gomock.Call
- func (mr *MockReloadableSchedulerMockRecorder) Reload(arg0 interface{}) *gomock.Call
- func (mr *MockReloadableSchedulerMockRecorder) RemoveTorrent(arg0 interface{}) *gomock.Call
- func (mr *MockReloadableSchedulerMockRecorder) Stop() *gomock.Call
- type MockScheduler
- func (m *MockScheduler) BlacklistSnapshot() ([]connstate.BlacklistedConn, error)
- func (m *MockScheduler) Download(arg0 string, arg1 core.Digest) error
- func (m *MockScheduler) EXPECT() *MockSchedulerMockRecorder
- func (m *MockScheduler) Probe() error
- func (m *MockScheduler) RemoveTorrent(arg0 core.Digest) error
- func (m *MockScheduler) Stop()
- type MockSchedulerMockRecorder
- func (mr *MockSchedulerMockRecorder) BlacklistSnapshot() *gomock.Call
- func (mr *MockSchedulerMockRecorder) Download(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSchedulerMockRecorder) Probe() *gomock.Call
- func (mr *MockSchedulerMockRecorder) RemoveTorrent(arg0 interface{}) *gomock.Call
- func (mr *MockSchedulerMockRecorder) Stop() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockReloadableScheduler ¶
type MockReloadableScheduler struct {
// contains filtered or unexported fields
}
MockReloadableScheduler is a mock of ReloadableScheduler interface
func NewMockReloadableScheduler ¶
func NewMockReloadableScheduler(ctrl *gomock.Controller) *MockReloadableScheduler
NewMockReloadableScheduler creates a new mock instance
func (*MockReloadableScheduler) BlacklistSnapshot ¶
func (m *MockReloadableScheduler) BlacklistSnapshot() ([]connstate.BlacklistedConn, error)
BlacklistSnapshot mocks base method
func (*MockReloadableScheduler) Download ¶
func (m *MockReloadableScheduler) Download(arg0 string, arg1 core.Digest) error
Download mocks base method
func (*MockReloadableScheduler) EXPECT ¶
func (m *MockReloadableScheduler) EXPECT() *MockReloadableSchedulerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockReloadableScheduler) Probe ¶
func (m *MockReloadableScheduler) Probe() error
Probe mocks base method
func (*MockReloadableScheduler) Reload ¶
func (m *MockReloadableScheduler) Reload(arg0 scheduler.Config)
Reload mocks base method
func (*MockReloadableScheduler) RemoveTorrent ¶
func (m *MockReloadableScheduler) RemoveTorrent(arg0 core.Digest) error
RemoveTorrent mocks base method
func (*MockReloadableScheduler) Stop ¶
func (m *MockReloadableScheduler) Stop()
Stop mocks base method
type MockReloadableSchedulerMockRecorder ¶
type MockReloadableSchedulerMockRecorder struct {
// contains filtered or unexported fields
}
MockReloadableSchedulerMockRecorder is the mock recorder for MockReloadableScheduler
func (*MockReloadableSchedulerMockRecorder) BlacklistSnapshot ¶
func (mr *MockReloadableSchedulerMockRecorder) BlacklistSnapshot() *gomock.Call
BlacklistSnapshot indicates an expected call of BlacklistSnapshot
func (*MockReloadableSchedulerMockRecorder) Download ¶
func (mr *MockReloadableSchedulerMockRecorder) Download(arg0, arg1 interface{}) *gomock.Call
Download indicates an expected call of Download
func (*MockReloadableSchedulerMockRecorder) Probe ¶
func (mr *MockReloadableSchedulerMockRecorder) Probe() *gomock.Call
Probe indicates an expected call of Probe
func (*MockReloadableSchedulerMockRecorder) Reload ¶
func (mr *MockReloadableSchedulerMockRecorder) Reload(arg0 interface{}) *gomock.Call
Reload indicates an expected call of Reload
func (*MockReloadableSchedulerMockRecorder) RemoveTorrent ¶
func (mr *MockReloadableSchedulerMockRecorder) RemoveTorrent(arg0 interface{}) *gomock.Call
RemoveTorrent indicates an expected call of RemoveTorrent
func (*MockReloadableSchedulerMockRecorder) Stop ¶
func (mr *MockReloadableSchedulerMockRecorder) Stop() *gomock.Call
Stop indicates an expected call of Stop
type MockScheduler ¶
type MockScheduler struct {
// contains filtered or unexported fields
}
MockScheduler is a mock of Scheduler interface
func NewMockScheduler ¶
func NewMockScheduler(ctrl *gomock.Controller) *MockScheduler
NewMockScheduler creates a new mock instance
func (*MockScheduler) BlacklistSnapshot ¶
func (m *MockScheduler) BlacklistSnapshot() ([]connstate.BlacklistedConn, error)
BlacklistSnapshot mocks base method
func (*MockScheduler) Download ¶
func (m *MockScheduler) Download(arg0 string, arg1 core.Digest) error
Download mocks base method
func (*MockScheduler) EXPECT ¶
func (m *MockScheduler) EXPECT() *MockSchedulerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockScheduler) RemoveTorrent ¶
func (m *MockScheduler) RemoveTorrent(arg0 core.Digest) error
RemoveTorrent mocks base method
type MockSchedulerMockRecorder ¶
type MockSchedulerMockRecorder struct {
// contains filtered or unexported fields
}
MockSchedulerMockRecorder is the mock recorder for MockScheduler
func (*MockSchedulerMockRecorder) BlacklistSnapshot ¶
func (mr *MockSchedulerMockRecorder) BlacklistSnapshot() *gomock.Call
BlacklistSnapshot indicates an expected call of BlacklistSnapshot
func (*MockSchedulerMockRecorder) Download ¶
func (mr *MockSchedulerMockRecorder) Download(arg0, arg1 interface{}) *gomock.Call
Download indicates an expected call of Download
func (*MockSchedulerMockRecorder) Probe ¶
func (mr *MockSchedulerMockRecorder) Probe() *gomock.Call
Probe indicates an expected call of Probe
func (*MockSchedulerMockRecorder) RemoveTorrent ¶
func (mr *MockSchedulerMockRecorder) RemoveTorrent(arg0 interface{}) *gomock.Call
RemoveTorrent indicates an expected call of RemoveTorrent
func (*MockSchedulerMockRecorder) Stop ¶
func (mr *MockSchedulerMockRecorder) Stop() *gomock.Call
Stop indicates an expected call of Stop