mocks

package
v2.0.2-rc.20 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

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

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.

func (*MockCDNService) RegisterSeedTask

func (m *MockCDNService) RegisterSeedTask(arg0 context.Context, arg1 string, arg2 *task.SeedTask) (*task.SeedTask, <-chan *task.PieceInfo, error)

RegisterSeedTask 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.

Jump to

Keyboard shortcuts

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