mmock

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package mmock is a generated GoMock package.

Package mmock is a generated GoMock package.

Package mmock is a generated GoMock package.

Package mmock is a generated GoMock package.

Package mmock is a generated GoMock package.

Package mmock is a generated GoMock package.

Package mmock is a generated GoMock package.

Package mmock is a generated GoMock package.

Package mmock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockIChan

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

MockIChan is a mock of IChan interface

func NewMockIChan

func NewMockIChan(ctrl *gomock.Controller) *MockIChan

NewMockIChan creates a new mock instance

func (*MockIChan) ChanIn

func (m *MockIChan) ChanIn() faces.MainCh

ChanIn mocks base method

func (*MockIChan) ChanOut

func (m *MockIChan) ChanOut() faces.MainCh

ChanOut mocks base method

func (*MockIChan) Close

func (m *MockIChan) Close()

Close mocks base method

func (*MockIChan) Count

func (m *MockIChan) Count() int

Count mocks base method

func (*MockIChan) EXPECT

func (m *MockIChan) EXPECT() *MockIChanMockRecorder

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

func (*MockIChan) Info

func (m *MockIChan) Info() *nodes.ChanData

Info mocks base method

func (*MockIChan) IsActive

func (m *MockIChan) IsActive() bool

IsActive mocks base method

func (*MockIChan) Len

func (m *MockIChan) Len() int

Len mocks base method

func (*MockIChan) Push

func (m *MockIChan) Push(arg0 int)

Push mocks base method

type MockIChanMockRecorder

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

MockIChanMockRecorder is the mock recorder for MockIChan

func (*MockIChanMockRecorder) ChanIn

func (mr *MockIChanMockRecorder) ChanIn() *gomock.Call

ChanIn indicates an expected call of ChanIn

func (*MockIChanMockRecorder) ChanOut

func (mr *MockIChanMockRecorder) ChanOut() *gomock.Call

ChanOut indicates an expected call of ChanOut

func (*MockIChanMockRecorder) Close

func (mr *MockIChanMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

func (*MockIChanMockRecorder) Count

func (mr *MockIChanMockRecorder) Count() *gomock.Call

Count indicates an expected call of Count

func (*MockIChanMockRecorder) Info

func (mr *MockIChanMockRecorder) Info() *gomock.Call

Info indicates an expected call of Info

func (*MockIChanMockRecorder) IsActive

func (mr *MockIChanMockRecorder) IsActive() *gomock.Call

IsActive indicates an expected call of IsActive

func (*MockIChanMockRecorder) Len

func (mr *MockIChanMockRecorder) Len() *gomock.Call

Len indicates an expected call of Len

func (*MockIChanMockRecorder) Push

func (mr *MockIChanMockRecorder) Push(arg0 interface{}) *gomock.Call

Push indicates an expected call of Push

type MockIConveyor

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

MockIConveyor is a mock of IConveyor interface

func NewMockIConveyor

func NewMockIConveyor(ctrl *gomock.Controller) *MockIConveyor

NewMockIConveyor creates a new mock instance

func (*MockIConveyor) AddErrorHandler

func (m *MockIConveyor) AddErrorHandler(arg0 faces.Name, arg1, arg2 int, arg3 faces.GiveBirth) error

AddErrorHandler mocks base method

func (*MockIConveyor) AddFinalHandler

func (m *MockIConveyor) AddFinalHandler(arg0 faces.Name, arg1, arg2 int, arg3 faces.GiveBirth) error

AddFinalHandler mocks base method

func (*MockIConveyor) AddHandler

func (m *MockIConveyor) AddHandler(arg0 faces.Name, arg1, arg2 int, arg3 faces.GiveBirth) error

AddHandler mocks base method

func (*MockIConveyor) DefaultPriority added in v0.0.3

func (m *MockIConveyor) DefaultPriority() int

DefaultPriority mocks base method

func (*MockIConveyor) EXPECT

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

func (*MockIConveyor) GetDefaultPriority

func (m *MockIConveyor) GetDefaultPriority() int

GetDefaultPriority mocks base method

func (*MockIConveyor) GetName

func (m *MockIConveyor) GetName() string

GetName mocks base method

func (*MockIConveyor) MetricPeriod

func (m *MockIConveyor) MetricPeriod(arg0 time.Duration) faces.IConveyor

MetricPeriod mocks base method

func (*MockIConveyor) Run

func (m *MockIConveyor) Run(arg0 faces.IInput)

Run mocks base method

func (*MockIConveyor) RunRes

func (m *MockIConveyor) RunRes(arg0 faces.IInput) (interface{}, error)

RunRes mocks base method

func (*MockIConveyor) RunResTest added in v0.0.20

func (m *MockIConveyor) RunResTest(arg0 faces.IInput, arg1 faces.ITestObject) (interface{}, error)

RunResTest mocks base method

func (*MockIConveyor) RunTest added in v0.0.20

func (m *MockIConveyor) RunTest(arg0 faces.IInput, arg1 faces.ITestObject)

RunTest mocks base method

func (*MockIConveyor) SetDefaultPriority

func (m *MockIConveyor) SetDefaultPriority(arg0 int)

SetDefaultPriority mocks base method

func (*MockIConveyor) SetMasterNode

func (m *MockIConveyor) SetMasterNode(arg0 string, arg1 time.Duration)

SetMasterNode mocks base method

func (*MockIConveyor) SetName

func (m *MockIConveyor) SetName(arg0 string) faces.IConveyor

SetName mocks base method

func (*MockIConveyor) SetTracer

func (m *MockIConveyor) SetTracer(arg0 faces.ITrace, arg1 time.Duration) faces.IConveyor

SetTracer mocks base method

func (*MockIConveyor) SetWorkersCounter

func (m *MockIConveyor) SetWorkersCounter(arg0 faces.IWorkersCounter) faces.IConveyor

SetWorkersCounter mocks base method

func (*MockIConveyor) Start

func (m *MockIConveyor) Start(arg0 context.Context) error

Start mocks base method

func (*MockIConveyor) Statistic

func (m *MockIConveyor) Statistic() *nodes.SlaveNodeInfoRequest

Statistic mocks base method

func (*MockIConveyor) Stop

func (m *MockIConveyor) Stop()

Stop mocks base method

func (*MockIConveyor) WaitAndStop

func (m *MockIConveyor) WaitAndStop()

WaitAndStop mocks base method

func (*MockIConveyor) WorkBench added in v0.2.0

func (m *MockIConveyor) WorkBench() faces.IWorkBench

WorkBench mocks base method

type MockIConveyorMockRecorder

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

MockIConveyorMockRecorder is the mock recorder for MockIConveyor

func (*MockIConveyorMockRecorder) AddErrorHandler

func (mr *MockIConveyorMockRecorder) AddErrorHandler(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

AddErrorHandler indicates an expected call of AddErrorHandler

func (*MockIConveyorMockRecorder) AddFinalHandler

func (mr *MockIConveyorMockRecorder) AddFinalHandler(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

AddFinalHandler indicates an expected call of AddFinalHandler

func (*MockIConveyorMockRecorder) AddHandler

func (mr *MockIConveyorMockRecorder) AddHandler(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

AddHandler indicates an expected call of AddHandler

func (*MockIConveyorMockRecorder) DefaultPriority added in v0.0.3

func (mr *MockIConveyorMockRecorder) DefaultPriority() *gomock.Call

DefaultPriority indicates an expected call of DefaultPriority

func (*MockIConveyorMockRecorder) GetDefaultPriority

func (mr *MockIConveyorMockRecorder) GetDefaultPriority() *gomock.Call

GetDefaultPriority indicates an expected call of GetDefaultPriority

func (*MockIConveyorMockRecorder) GetName

func (mr *MockIConveyorMockRecorder) GetName() *gomock.Call

GetName indicates an expected call of GetName

func (*MockIConveyorMockRecorder) MetricPeriod

func (mr *MockIConveyorMockRecorder) MetricPeriod(arg0 interface{}) *gomock.Call

MetricPeriod indicates an expected call of MetricPeriod

func (*MockIConveyorMockRecorder) Run

func (mr *MockIConveyorMockRecorder) Run(arg0 interface{}) *gomock.Call

Run indicates an expected call of Run

func (*MockIConveyorMockRecorder) RunRes

func (mr *MockIConveyorMockRecorder) RunRes(arg0 interface{}) *gomock.Call

RunRes indicates an expected call of RunRes

func (*MockIConveyorMockRecorder) RunResTest added in v0.0.20

func (mr *MockIConveyorMockRecorder) RunResTest(arg0, arg1 interface{}) *gomock.Call

RunResTest indicates an expected call of RunResTest

func (*MockIConveyorMockRecorder) RunTest added in v0.0.20

func (mr *MockIConveyorMockRecorder) RunTest(arg0, arg1 interface{}) *gomock.Call

RunTest indicates an expected call of RunTest

func (*MockIConveyorMockRecorder) SetDefaultPriority

func (mr *MockIConveyorMockRecorder) SetDefaultPriority(arg0 interface{}) *gomock.Call

SetDefaultPriority indicates an expected call of SetDefaultPriority

func (*MockIConveyorMockRecorder) SetMasterNode

func (mr *MockIConveyorMockRecorder) SetMasterNode(arg0, arg1 interface{}) *gomock.Call

SetMasterNode indicates an expected call of SetMasterNode

func (*MockIConveyorMockRecorder) SetName

func (mr *MockIConveyorMockRecorder) SetName(arg0 interface{}) *gomock.Call

SetName indicates an expected call of SetName

func (*MockIConveyorMockRecorder) SetTracer

func (mr *MockIConveyorMockRecorder) SetTracer(arg0, arg1 interface{}) *gomock.Call

SetTracer indicates an expected call of SetTracer

func (*MockIConveyorMockRecorder) SetWorkersCounter

func (mr *MockIConveyorMockRecorder) SetWorkersCounter(arg0 interface{}) *gomock.Call

SetWorkersCounter indicates an expected call of SetWorkersCounter

func (*MockIConveyorMockRecorder) Start

func (mr *MockIConveyorMockRecorder) Start(arg0 interface{}) *gomock.Call

Start indicates an expected call of Start

func (*MockIConveyorMockRecorder) Statistic

func (mr *MockIConveyorMockRecorder) Statistic() *gomock.Call

Statistic indicates an expected call of Statistic

func (*MockIConveyorMockRecorder) Stop

Stop indicates an expected call of Stop

func (*MockIConveyorMockRecorder) WaitAndStop

func (mr *MockIConveyorMockRecorder) WaitAndStop() *gomock.Call

WaitAndStop indicates an expected call of WaitAndStop

func (*MockIConveyorMockRecorder) WorkBench added in v0.2.0

func (mr *MockIConveyorMockRecorder) WorkBench() *gomock.Call

WorkBench indicates an expected call of WorkBench

type MockIHandler

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

MockIHandler is a mock of IHandler interface

func NewMockIHandler

func NewMockIHandler(ctrl *gomock.Controller) *MockIHandler

NewMockIHandler creates a new mock instance

func (*MockIHandler) EXPECT

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

func (*MockIHandler) Run

func (m *MockIHandler) Run(arg0 faces.IItem) error

Run mocks base method

func (*MockIHandler) Start

func (m *MockIHandler) Start(arg0 context.Context) error

Start mocks base method

func (*MockIHandler) Stop

func (m *MockIHandler) Stop(arg0 context.Context)

Stop mocks base method

func (*MockIHandler) TickerDuration added in v0.0.15

func (m *MockIHandler) TickerDuration() time.Duration

TickerDuration mocks base method

func (*MockIHandler) TickerRun added in v0.0.15

func (m *MockIHandler) TickerRun(arg0 context.Context)

TickerRun mocks base method

type MockIHandlerMockRecorder

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

MockIHandlerMockRecorder is the mock recorder for MockIHandler

func (*MockIHandlerMockRecorder) Run

func (mr *MockIHandlerMockRecorder) Run(arg0 interface{}) *gomock.Call

Run indicates an expected call of Run

func (*MockIHandlerMockRecorder) Start

func (mr *MockIHandlerMockRecorder) Start(arg0 interface{}) *gomock.Call

Start indicates an expected call of Start

func (*MockIHandlerMockRecorder) Stop

func (mr *MockIHandlerMockRecorder) Stop(arg0 interface{}) *gomock.Call

Stop indicates an expected call of Stop

func (*MockIHandlerMockRecorder) TickerDuration added in v0.0.15

func (mr *MockIHandlerMockRecorder) TickerDuration() *gomock.Call

TickerDuration indicates an expected call of TickerDuration

func (*MockIHandlerMockRecorder) TickerRun added in v0.0.15

func (mr *MockIHandlerMockRecorder) TickerRun(arg0 interface{}) *gomock.Call

TickerRun indicates an expected call of TickerRun

type MockIInput added in v0.0.10

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

MockIInput is a mock of IInput interface

func NewMockIInput added in v0.0.10

func NewMockIInput(ctrl *gomock.Controller) *MockIInput

NewMockIInput creates a new mock instance

func (*MockIInput) Context added in v0.0.10

func (m *MockIInput) Context(arg0 context.Context) faces.IInput

Context mocks base method

func (*MockIInput) Ctx added in v0.0.13

func (m *MockIInput) Ctx() context.Context

Ctx mocks base method

func (*MockIInput) Data added in v0.0.10

func (m *MockIInput) Data(arg0 interface{}) faces.IInput

Data mocks base method

func (*MockIInput) EXPECT added in v0.0.10

func (m *MockIInput) EXPECT() *MockIInputMockRecorder

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

func (*MockIInput) Priority added in v0.0.10

func (m *MockIInput) Priority(arg0 int) faces.IInput

Priority mocks base method

func (*MockIInput) SkipToName added in v0.0.10

func (m *MockIInput) SkipToName(arg0 faces.Name) faces.IInput

SkipToName mocks base method

func (*MockIInput) Trace added in v0.0.10

func (m *MockIInput) Trace(arg0 faces.ITrace) faces.IInput

Trace mocks base method

func (*MockIInput) Values added in v0.0.10

func (m *MockIInput) Values() (context.Context, faces.ITrace, interface{}, *int, faces.Name)

Values mocks base method

type MockIInputMockRecorder added in v0.0.10

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

MockIInputMockRecorder is the mock recorder for MockIInput

func (*MockIInputMockRecorder) Context added in v0.0.10

func (mr *MockIInputMockRecorder) Context(arg0 interface{}) *gomock.Call

Context indicates an expected call of Context

func (*MockIInputMockRecorder) Ctx added in v0.0.13

func (mr *MockIInputMockRecorder) Ctx() *gomock.Call

Ctx indicates an expected call of Ctx

func (*MockIInputMockRecorder) Data added in v0.0.10

func (mr *MockIInputMockRecorder) Data(arg0 interface{}) *gomock.Call

Data indicates an expected call of Data

func (*MockIInputMockRecorder) Priority added in v0.0.10

func (mr *MockIInputMockRecorder) Priority(arg0 interface{}) *gomock.Call

Priority indicates an expected call of Priority

func (*MockIInputMockRecorder) SkipToName added in v0.0.10

func (mr *MockIInputMockRecorder) SkipToName(arg0 interface{}) *gomock.Call

SkipToName indicates an expected call of SkipToName

func (*MockIInputMockRecorder) Trace added in v0.0.10

func (mr *MockIInputMockRecorder) Trace(arg0 interface{}) *gomock.Call

Trace indicates an expected call of Trace

func (*MockIInputMockRecorder) Values added in v0.0.10

func (mr *MockIInputMockRecorder) Values() *gomock.Call

Values indicates an expected call of Values

type MockIItem

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

MockIItem is a mock of IItem interface

func NewMockIItem

func NewMockIItem(ctrl *gomock.Controller) *MockIItem

NewMockIItem creates a new mock instance

func (*MockIItem) AddError

func (m *MockIItem) AddError(arg0 error)

AddError mocks base method

func (*MockIItem) AfterProcess added in v0.0.13

func (m *MockIItem) AfterProcess(arg0 faces.Name, arg1 error)

AfterProcess mocks base method

func (*MockIItem) BeforeProcess added in v0.0.13

func (m *MockIItem) BeforeProcess(arg0 faces.Name)

BeforeProcess mocks base method

func (*MockIItem) Cancel added in v0.0.3

func (m *MockIItem) Cancel()

Cancel mocks base method

func (*MockIItem) CleanError

func (m *MockIItem) CleanError()

CleanError mocks base method

func (*MockIItem) EXPECT

func (m *MockIItem) EXPECT() *MockIItemMockRecorder

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

func (*MockIItem) Finish

func (m *MockIItem) Finish()

Finish mocks base method

func (*MockIItem) Get

func (m *MockIItem) Get() interface{}

Get mocks base method

func (*MockIItem) GetContext

func (m *MockIItem) GetContext() context.Context

GetContext mocks base method

func (*MockIItem) GetError

func (m *MockIItem) GetError() error

GetError mocks base method

func (*MockIItem) GetHandlerError

func (m *MockIItem) GetHandlerError() faces.Name

GetHandlerError mocks base method

func (*MockIItem) GetID

func (m *MockIItem) GetID() int64

GetID mocks base method

func (*MockIItem) GetLastHandler

func (m *MockIItem) GetLastHandler() faces.Name

GetLastHandler mocks base method

func (*MockIItem) GetPriority

func (m *MockIItem) GetPriority() int

GetPriority mocks base method

func (*MockIItem) GetSkipNames added in v0.0.13

func (m *MockIItem) GetSkipNames() []faces.Name

GetSkipNames mocks base method

func (*MockIItem) GetSkipToName

func (m *MockIItem) GetSkipToName() faces.Name

GetSkipToName mocks base method

func (*MockIItem) GetTestObject added in v0.0.21

func (m *MockIItem) GetTestObject() faces.ITestObject

GetTestObject mocks base method

func (*MockIItem) InitEmpty added in v0.1.1

func (m *MockIItem) InitEmpty()

InitEmpty mocks base method

func (*MockIItem) IsStopped added in v0.2.3

func (m *MockIItem) IsStopped() bool

IsStopped mocks base method

func (*MockIItem) LogTraceFinishTimef added in v0.1.0

func (m *MockIItem) LogTraceFinishTimef(arg0 string, arg1 ...interface{})

LogTraceFinishTimef mocks base method

func (*MockIItem) LogTracef added in v0.1.0

func (m *MockIItem) LogTracef(arg0 string, arg1 ...interface{})

LogTracef mocks base method

func (*MockIItem) NeedToSkip added in v0.0.3

func (m *MockIItem) NeedToSkip(arg0 faces.IWorker) (bool, error)

NeedToSkip mocks base method

func (*MockIItem) PushedToChannel added in v0.0.13

func (m *MockIItem) PushedToChannel(arg0 faces.Name)

PushedToChannel mocks base method

func (*MockIItem) ReceivedFromChannel added in v0.0.13

func (m *MockIItem) ReceivedFromChannel()

ReceivedFromChannel mocks base method

func (*MockIItem) Set

func (m *MockIItem) Set(arg0 interface{})

Set mocks base method

func (*MockIItem) SetHandlerError

func (m *MockIItem) SetHandlerError(arg0 faces.Name)

SetHandlerError mocks base method

func (*MockIItem) SetID

func (m *MockIItem) SetID(arg0 int64)

SetID mocks base method

func (*MockIItem) SetLastHandler

func (m *MockIItem) SetLastHandler(arg0 faces.Name)

SetLastHandler mocks base method

func (*MockIItem) SetLock added in v0.0.20

func (m *MockIItem) SetLock()

SetLock mocks base method

func (*MockIItem) SetPriority

func (m *MockIItem) SetPriority(arg0 int)

SetPriority mocks base method

func (*MockIItem) SetSkipNames added in v0.0.13

func (m *MockIItem) SetSkipNames(arg0 ...faces.Name)

SetSkipNames mocks base method

func (*MockIItem) SetSkipToName

func (m *MockIItem) SetSkipToName(arg0 faces.Name)

SetSkipToName mocks base method

func (*MockIItem) SetTestObject added in v0.0.21

func (m *MockIItem) SetTestObject(arg0 faces.ITestObject)

SetTestObject mocks base method

func (*MockIItem) SetUnlock added in v0.0.20

func (m *MockIItem) SetUnlock()

SetUnlock mocks base method

func (*MockIItem) Start

func (m *MockIItem) Start()

Start mocks base method

func (*MockIItem) Stopped added in v0.2.3

func (m *MockIItem) Stopped()

Stopped mocks base method

type MockIItemMockRecorder

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

MockIItemMockRecorder is the mock recorder for MockIItem

func (*MockIItemMockRecorder) AddError

func (mr *MockIItemMockRecorder) AddError(arg0 interface{}) *gomock.Call

AddError indicates an expected call of AddError

func (*MockIItemMockRecorder) AfterProcess added in v0.0.13

func (mr *MockIItemMockRecorder) AfterProcess(arg0, arg1 interface{}) *gomock.Call

AfterProcess indicates an expected call of AfterProcess

func (*MockIItemMockRecorder) BeforeProcess added in v0.0.13

func (mr *MockIItemMockRecorder) BeforeProcess(arg0 interface{}) *gomock.Call

BeforeProcess indicates an expected call of BeforeProcess

func (*MockIItemMockRecorder) Cancel added in v0.0.3

func (mr *MockIItemMockRecorder) Cancel() *gomock.Call

Cancel indicates an expected call of Cancel

func (*MockIItemMockRecorder) CleanError

func (mr *MockIItemMockRecorder) CleanError() *gomock.Call

CleanError indicates an expected call of CleanError

func (*MockIItemMockRecorder) Finish

func (mr *MockIItemMockRecorder) Finish() *gomock.Call

Finish indicates an expected call of Finish

func (*MockIItemMockRecorder) Get

func (mr *MockIItemMockRecorder) Get() *gomock.Call

Get indicates an expected call of Get

func (*MockIItemMockRecorder) GetContext

func (mr *MockIItemMockRecorder) GetContext() *gomock.Call

GetContext indicates an expected call of GetContext

func (*MockIItemMockRecorder) GetError

func (mr *MockIItemMockRecorder) GetError() *gomock.Call

GetError indicates an expected call of GetError

func (*MockIItemMockRecorder) GetHandlerError

func (mr *MockIItemMockRecorder) GetHandlerError() *gomock.Call

GetHandlerError indicates an expected call of GetHandlerError

func (*MockIItemMockRecorder) GetID

func (mr *MockIItemMockRecorder) GetID() *gomock.Call

GetID indicates an expected call of GetID

func (*MockIItemMockRecorder) GetLastHandler

func (mr *MockIItemMockRecorder) GetLastHandler() *gomock.Call

GetLastHandler indicates an expected call of GetLastHandler

func (*MockIItemMockRecorder) GetPriority

func (mr *MockIItemMockRecorder) GetPriority() *gomock.Call

GetPriority indicates an expected call of GetPriority

func (*MockIItemMockRecorder) GetSkipNames added in v0.0.13

func (mr *MockIItemMockRecorder) GetSkipNames() *gomock.Call

GetSkipNames indicates an expected call of GetSkipNames

func (*MockIItemMockRecorder) GetSkipToName

func (mr *MockIItemMockRecorder) GetSkipToName() *gomock.Call

GetSkipToName indicates an expected call of GetSkipToName

func (*MockIItemMockRecorder) GetTestObject added in v0.0.21

func (mr *MockIItemMockRecorder) GetTestObject() *gomock.Call

GetTestObject indicates an expected call of GetTestObject

func (*MockIItemMockRecorder) InitEmpty added in v0.1.1

func (mr *MockIItemMockRecorder) InitEmpty() *gomock.Call

InitEmpty indicates an expected call of InitEmpty

func (*MockIItemMockRecorder) IsStopped added in v0.2.3

func (mr *MockIItemMockRecorder) IsStopped() *gomock.Call

IsStopped indicates an expected call of IsStopped

func (*MockIItemMockRecorder) LogTraceFinishTimef added in v0.1.1

func (mr *MockIItemMockRecorder) LogTraceFinishTimef(arg0 interface{}, arg1 ...interface{}) *gomock.Call

LogTraceFinishTimef indicates an expected call of LogTraceFinishTimef

func (*MockIItemMockRecorder) LogTracef added in v0.1.1

func (mr *MockIItemMockRecorder) LogTracef(arg0 interface{}, arg1 ...interface{}) *gomock.Call

LogTracef indicates an expected call of LogTracef

func (*MockIItemMockRecorder) NeedToSkip added in v0.0.3

func (mr *MockIItemMockRecorder) NeedToSkip(arg0 interface{}) *gomock.Call

NeedToSkip indicates an expected call of NeedToSkip

func (*MockIItemMockRecorder) PushedToChannel added in v0.0.13

func (mr *MockIItemMockRecorder) PushedToChannel(arg0 interface{}) *gomock.Call

PushedToChannel indicates an expected call of PushedToChannel

func (*MockIItemMockRecorder) ReceivedFromChannel added in v0.0.13

func (mr *MockIItemMockRecorder) ReceivedFromChannel() *gomock.Call

ReceivedFromChannel indicates an expected call of ReceivedFromChannel

func (*MockIItemMockRecorder) Set

func (mr *MockIItemMockRecorder) Set(arg0 interface{}) *gomock.Call

Set indicates an expected call of Set

func (*MockIItemMockRecorder) SetHandlerError

func (mr *MockIItemMockRecorder) SetHandlerError(arg0 interface{}) *gomock.Call

SetHandlerError indicates an expected call of SetHandlerError

func (*MockIItemMockRecorder) SetID

func (mr *MockIItemMockRecorder) SetID(arg0 interface{}) *gomock.Call

SetID indicates an expected call of SetID

func (*MockIItemMockRecorder) SetLastHandler

func (mr *MockIItemMockRecorder) SetLastHandler(arg0 interface{}) *gomock.Call

SetLastHandler indicates an expected call of SetLastHandler

func (*MockIItemMockRecorder) SetLock added in v0.0.20

func (mr *MockIItemMockRecorder) SetLock() *gomock.Call

SetLock indicates an expected call of SetLock

func (*MockIItemMockRecorder) SetPriority

func (mr *MockIItemMockRecorder) SetPriority(arg0 interface{}) *gomock.Call

SetPriority indicates an expected call of SetPriority

func (*MockIItemMockRecorder) SetSkipNames added in v0.0.13

func (mr *MockIItemMockRecorder) SetSkipNames(arg0 ...interface{}) *gomock.Call

SetSkipNames indicates an expected call of SetSkipNames

func (*MockIItemMockRecorder) SetSkipToName

func (mr *MockIItemMockRecorder) SetSkipToName(arg0 interface{}) *gomock.Call

SetSkipToName indicates an expected call of SetSkipToName

func (*MockIItemMockRecorder) SetTestObject added in v0.0.21

func (mr *MockIItemMockRecorder) SetTestObject(arg0 interface{}) *gomock.Call

SetTestObject indicates an expected call of SetTestObject

func (*MockIItemMockRecorder) SetUnlock added in v0.0.20

func (mr *MockIItemMockRecorder) SetUnlock() *gomock.Call

SetUnlock indicates an expected call of SetUnlock

func (*MockIItemMockRecorder) Start

func (mr *MockIItemMockRecorder) Start() *gomock.Call

Start indicates an expected call of Start

func (*MockIItemMockRecorder) Stopped added in v0.2.3

func (mr *MockIItemMockRecorder) Stopped() *gomock.Call

Stopped indicates an expected call of Stopped

type MockIManager

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

MockIManager is a mock of IManager interface

func NewMockIManager

func NewMockIManager(ctrl *gomock.Controller) *MockIManager

NewMockIManager creates a new mock instance

func (*MockIManager) EXPECT

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

func (*MockIManager) GetNextManager

func (m *MockIManager) GetNextManager() faces.IManager

GetNextManager mocks base method

func (*MockIManager) GetPrevManager

func (m *MockIManager) GetPrevManager() faces.IManager

GetPrevManager mocks base method

func (*MockIManager) IsLast

func (m *MockIManager) IsLast() bool

IsLast mocks base method

func (*MockIManager) MetricPeriod

func (m *MockIManager) MetricPeriod(arg0 time.Duration) faces.IManager

MetricPeriod mocks base method

func (*MockIManager) Name added in v0.0.13

func (m *MockIManager) Name() faces.Name

Name mocks base method

func (*MockIManager) SetChanErr

func (m *MockIManager) SetChanErr(arg0 faces.IChan) faces.IManager

SetChanErr mocks base method

func (*MockIManager) SetChanIn

func (m *MockIManager) SetChanIn(arg0 faces.IChan) faces.IManager

SetChanIn mocks base method

func (*MockIManager) SetChanOut

func (m *MockIManager) SetChanOut(arg0 faces.IChan) faces.IManager

SetChanOut mocks base method

func (*MockIManager) SetHandler

func (m *MockIManager) SetHandler(arg0 faces.GiveBirth) faces.IManager

SetHandler mocks base method

func (*MockIManager) SetIsLast

func (m *MockIManager) SetIsLast(arg0 bool) faces.IManager

SetIsLast mocks base method

func (*MockIManager) SetNextManager

func (m *MockIManager) SetNextManager(arg0 faces.IManager) faces.IManager

SetNextManager mocks base method

func (*MockIManager) SetPrevManager

func (m *MockIManager) SetPrevManager(arg0 faces.IManager) faces.IManager

SetPrevManager mocks base method

func (*MockIManager) SetTestMode added in v0.0.20

func (m *MockIManager) SetTestMode(arg0 faces.ITestObject) faces.IManager

SetTestMode mocks base method

func (*MockIManager) SetWaitGroup

func (m *MockIManager) SetWaitGroup(arg0 *sync.WaitGroup) faces.IManager

SetWaitGroup mocks base method

func (*MockIManager) SetWorkersCounter

func (m *MockIManager) SetWorkersCounter(arg0 faces.IWorkersCounter) faces.IManager

SetWorkersCounter mocks base method

func (*MockIManager) Start

func (m *MockIManager) Start(arg0 context.Context) error

Start mocks base method

func (*MockIManager) Statistic

func (m *MockIManager) Statistic() *nodes.ManagerData

Statistic mocks base method

func (*MockIManager) Stop

func (m *MockIManager) Stop()

Stop mocks base method

type MockIManagerMockRecorder

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

MockIManagerMockRecorder is the mock recorder for MockIManager

func (*MockIManagerMockRecorder) GetNextManager

func (mr *MockIManagerMockRecorder) GetNextManager() *gomock.Call

GetNextManager indicates an expected call of GetNextManager

func (*MockIManagerMockRecorder) GetPrevManager

func (mr *MockIManagerMockRecorder) GetPrevManager() *gomock.Call

GetPrevManager indicates an expected call of GetPrevManager

func (*MockIManagerMockRecorder) IsLast

func (mr *MockIManagerMockRecorder) IsLast() *gomock.Call

IsLast indicates an expected call of IsLast

func (*MockIManagerMockRecorder) MetricPeriod

func (mr *MockIManagerMockRecorder) MetricPeriod(arg0 interface{}) *gomock.Call

MetricPeriod indicates an expected call of MetricPeriod

func (*MockIManagerMockRecorder) Name added in v0.0.13

func (mr *MockIManagerMockRecorder) Name() *gomock.Call

Name indicates an expected call of Name

func (*MockIManagerMockRecorder) SetChanErr

func (mr *MockIManagerMockRecorder) SetChanErr(arg0 interface{}) *gomock.Call

SetChanErr indicates an expected call of SetChanErr

func (*MockIManagerMockRecorder) SetChanIn

func (mr *MockIManagerMockRecorder) SetChanIn(arg0 interface{}) *gomock.Call

SetChanIn indicates an expected call of SetChanIn

func (*MockIManagerMockRecorder) SetChanOut

func (mr *MockIManagerMockRecorder) SetChanOut(arg0 interface{}) *gomock.Call

SetChanOut indicates an expected call of SetChanOut

func (*MockIManagerMockRecorder) SetHandler

func (mr *MockIManagerMockRecorder) SetHandler(arg0 interface{}) *gomock.Call

SetHandler indicates an expected call of SetHandler

func (*MockIManagerMockRecorder) SetIsLast

func (mr *MockIManagerMockRecorder) SetIsLast(arg0 interface{}) *gomock.Call

SetIsLast indicates an expected call of SetIsLast

func (*MockIManagerMockRecorder) SetNextManager

func (mr *MockIManagerMockRecorder) SetNextManager(arg0 interface{}) *gomock.Call

SetNextManager indicates an expected call of SetNextManager

func (*MockIManagerMockRecorder) SetPrevManager

func (mr *MockIManagerMockRecorder) SetPrevManager(arg0 interface{}) *gomock.Call

SetPrevManager indicates an expected call of SetPrevManager

func (*MockIManagerMockRecorder) SetTestMode added in v0.0.20

func (mr *MockIManagerMockRecorder) SetTestMode(arg0 interface{}) *gomock.Call

SetTestMode indicates an expected call of SetTestMode

func (*MockIManagerMockRecorder) SetWaitGroup

func (mr *MockIManagerMockRecorder) SetWaitGroup(arg0 interface{}) *gomock.Call

SetWaitGroup indicates an expected call of SetWaitGroup

func (*MockIManagerMockRecorder) SetWorkersCounter

func (mr *MockIManagerMockRecorder) SetWorkersCounter(arg0 interface{}) *gomock.Call

SetWorkersCounter indicates an expected call of SetWorkersCounter

func (*MockIManagerMockRecorder) Start

func (mr *MockIManagerMockRecorder) Start(arg0 interface{}) *gomock.Call

Start indicates an expected call of Start

func (*MockIManagerMockRecorder) Statistic

func (mr *MockIManagerMockRecorder) Statistic() *gomock.Call

Statistic indicates an expected call of Statistic

func (*MockIManagerMockRecorder) Stop

func (mr *MockIManagerMockRecorder) Stop() *gomock.Call

Stop indicates an expected call of Stop

type MockITestObject added in v0.0.21

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

MockITestObject is a mock of ITestObject interface

func NewMockITestObject added in v0.0.21

func NewMockITestObject(ctrl *gomock.Controller) *MockITestObject

NewMockITestObject creates a new mock instance

func (*MockITestObject) EXPECT added in v0.0.21

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

func (*MockITestObject) IsTestMode added in v0.0.21

func (m *MockITestObject) IsTestMode() bool

IsTestMode mocks base method

func (*MockITestObject) Suffix added in v0.0.21

func (m *MockITestObject) Suffix() string

Suffix mocks base method

func (*MockITestObject) TestObject added in v0.0.21

func (m *MockITestObject) TestObject() *check.C

TestObject mocks base method

type MockITestObjectMockRecorder added in v0.0.21

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

MockITestObjectMockRecorder is the mock recorder for MockITestObject

func (*MockITestObjectMockRecorder) IsTestMode added in v0.0.21

func (mr *MockITestObjectMockRecorder) IsTestMode() *gomock.Call

IsTestMode indicates an expected call of IsTestMode

func (*MockITestObjectMockRecorder) Suffix added in v0.0.21

func (mr *MockITestObjectMockRecorder) Suffix() *gomock.Call

Suffix indicates an expected call of Suffix

func (*MockITestObjectMockRecorder) TestObject added in v0.0.21

func (mr *MockITestObjectMockRecorder) TestObject() *gomock.Call

TestObject indicates an expected call of TestObject

type MockIWorkBench added in v0.2.0

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

MockIWorkBench is a mock of IWorkBench interface

func NewMockIWorkBench added in v0.2.0

func NewMockIWorkBench(ctrl *gomock.Controller) *MockIWorkBench

NewMockIWorkBench creates a new mock instance

func (*MockIWorkBench) Add added in v0.2.0

func (m *MockIWorkBench) Add(arg0 faces.IItem) int

Add mocks base method

func (*MockIWorkBench) Clean added in v0.2.0

func (m *MockIWorkBench) Clean(arg0 int)

Clean mocks base method

func (*MockIWorkBench) Count added in v0.2.0

func (m *MockIWorkBench) Count() int

Count mocks base method

func (*MockIWorkBench) EXPECT added in v0.2.0

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

func (*MockIWorkBench) Get added in v0.2.0

func (m *MockIWorkBench) Get(arg0 int) (faces.IItem, error)

Get mocks base method

func (*MockIWorkBench) GetPriority added in v0.2.0

func (m *MockIWorkBench) GetPriority(arg0 int) int

GetPriority mocks base method

func (*MockIWorkBench) Len added in v0.2.0

func (m *MockIWorkBench) Len() int

Len mocks base method

type MockIWorkBenchMockRecorder added in v0.2.0

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

MockIWorkBenchMockRecorder is the mock recorder for MockIWorkBench

func (*MockIWorkBenchMockRecorder) Add added in v0.2.0

func (mr *MockIWorkBenchMockRecorder) Add(arg0 interface{}) *gomock.Call

Add indicates an expected call of Add

func (*MockIWorkBenchMockRecorder) Clean added in v0.2.0

func (mr *MockIWorkBenchMockRecorder) Clean(arg0 interface{}) *gomock.Call

Clean indicates an expected call of Clean

func (*MockIWorkBenchMockRecorder) Count added in v0.2.0

func (mr *MockIWorkBenchMockRecorder) Count() *gomock.Call

Count indicates an expected call of Count

func (*MockIWorkBenchMockRecorder) Get added in v0.2.0

func (mr *MockIWorkBenchMockRecorder) Get(arg0 interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockIWorkBenchMockRecorder) GetPriority added in v0.2.0

func (mr *MockIWorkBenchMockRecorder) GetPriority(arg0 interface{}) *gomock.Call

GetPriority indicates an expected call of GetPriority

func (*MockIWorkBenchMockRecorder) Len added in v0.2.0

Len indicates an expected call of Len

type MockIWorker

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

MockIWorker is a mock of IWorker interface

func NewMockIWorker

func NewMockIWorker(ctrl *gomock.Controller) *MockIWorker

NewMockIWorker creates a new mock instance

func (*MockIWorker) EXPECT

func (m *MockIWorker) EXPECT() *MockIWorkerMockRecorder

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

func (*MockIWorker) GetBorderCond added in v0.0.3

func (m *MockIWorker) GetBorderCond() (faces.Name, faces.ManagerType, bool)

GetBorderCond mocks base method

func (*MockIWorker) ID

func (m *MockIWorker) ID() string

ID mocks base method

func (*MockIWorker) Name

func (m *MockIWorker) Name() faces.Name

Name mocks base method

func (*MockIWorker) SetBorderCond

func (m *MockIWorker) SetBorderCond(arg0 faces.ManagerType, arg1 bool, arg2 faces.Name)

SetBorderCond mocks base method

func (*MockIWorker) SetTestMode added in v0.0.20

func (m *MockIWorker) SetTestMode(arg0 faces.ITestObject)

SetTestMode mocks base method

func (*MockIWorker) Start

func (m *MockIWorker) Start(arg0 context.Context) error

Start mocks base method

func (*MockIWorker) Stop

func (m *MockIWorker) Stop()

Stop mocks base method

type MockIWorkerMockRecorder

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

MockIWorkerMockRecorder is the mock recorder for MockIWorker

func (*MockIWorkerMockRecorder) GetBorderCond added in v0.0.3

func (mr *MockIWorkerMockRecorder) GetBorderCond() *gomock.Call

GetBorderCond indicates an expected call of GetBorderCond

func (*MockIWorkerMockRecorder) ID

ID indicates an expected call of ID

func (*MockIWorkerMockRecorder) Name

func (mr *MockIWorkerMockRecorder) Name() *gomock.Call

Name indicates an expected call of Name

func (*MockIWorkerMockRecorder) SetBorderCond

func (mr *MockIWorkerMockRecorder) SetBorderCond(arg0, arg1, arg2 interface{}) *gomock.Call

SetBorderCond indicates an expected call of SetBorderCond

func (*MockIWorkerMockRecorder) SetTestMode added in v0.0.20

func (mr *MockIWorkerMockRecorder) SetTestMode(arg0 interface{}) *gomock.Call

SetTestMode indicates an expected call of SetTestMode

func (*MockIWorkerMockRecorder) Start

func (mr *MockIWorkerMockRecorder) Start(arg0 interface{}) *gomock.Call

Start indicates an expected call of Start

func (*MockIWorkerMockRecorder) Stop

func (mr *MockIWorkerMockRecorder) Stop() *gomock.Call

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