mocks

package
v2.0.2-rc.12 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2022 License: Apache-2.0 Imports: 5 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 MockSeederServer

type MockSeederServer struct {
	// contains filtered or unexported fields
}

MockSeederServer is a mock of SeederServer interface.

func NewMockSeederServer

func NewMockSeederServer(ctrl *gomock.Controller) *MockSeederServer

NewMockSeederServer creates a new mock instance.

func (*MockSeederServer) EXPECT

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

func (*MockSeederServer) GetPieceTasks

func (m *MockSeederServer) GetPieceTasks(arg0 context.Context, arg1 *base.PieceTaskRequest) (*base.PiecePacket, error)

GetPieceTasks mocks base method.

func (*MockSeederServer) ObtainSeeds

func (m *MockSeederServer) ObtainSeeds(arg0 context.Context, arg1 *cdnsystem.SeedRequest, arg2 chan<- *cdnsystem.PieceSeed) error

ObtainSeeds mocks base method.

type MockSeederServerMockRecorder

type MockSeederServerMockRecorder struct {
	// contains filtered or unexported fields
}

MockSeederServerMockRecorder is the mock recorder for MockSeederServer.

func (*MockSeederServerMockRecorder) GetPieceTasks

func (mr *MockSeederServerMockRecorder) GetPieceTasks(arg0, arg1 interface{}) *gomock.Call

GetPieceTasks indicates an expected call of GetPieceTasks.

func (*MockSeederServerMockRecorder) ObtainSeeds

func (mr *MockSeederServerMockRecorder) ObtainSeeds(arg0, arg1, arg2 interface{}) *gomock.Call

ObtainSeeds indicates an expected call of ObtainSeeds.

Jump to

Keyboard shortcuts

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