mockscheduler

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mockscheduler is a generated GoMock package.

Package mockscheduler is a generated GoMock package.

Index

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

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

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

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

EXPECT returns an object that allows the caller to indicate expected use

func (*MockScheduler) Probe

func (m *MockScheduler) Probe() error

Probe mocks base method

func (*MockScheduler) RemoveTorrent

func (m *MockScheduler) RemoveTorrent(arg0 core.Digest) error

RemoveTorrent mocks base method

func (*MockScheduler) Stop

func (m *MockScheduler) Stop()

Stop 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

Stop indicates an expected call of Stop

Jump to

Keyboard shortcuts

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