mock_framework

package
v0.0.0-...-70b946c Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_framework is a generated GoMock package.

Package mock_framework is a generated GoMock package.

Package mock_framework is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockDecision

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

MockDecision is a mock of Decision interface.

func NewMockDecision

func NewMockDecision(ctrl *gomock.Controller) *MockDecision

NewMockDecision creates a new mock instance.

func (*MockDecision) EXPECT

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

func (*MockDecision) SelectEdges

SelectEdges mocks base method.

type MockDecisionMockRecorder

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

MockDecisionMockRecorder is the mock recorder for MockDecision.

func (*MockDecisionMockRecorder) SelectEdges

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

SelectEdges indicates an expected call of SelectEdges.

type MockDepthChart

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

MockDepthChart is a mock of DepthChart interface.

func NewMockDepthChart

func NewMockDepthChart(ctrl *gomock.Controller) *MockDepthChart

NewMockDepthChart creates a new mock instance.

func (*MockDepthChart) AddNode

func (m *MockDepthChart) AddNode(node framework.Node, depth int64)

AddNode mocks base method.

func (*MockDepthChart) DeleteNode

func (m *MockDepthChart) DeleteNode(node framework.Node)

DeleteNode mocks base method.

func (*MockDepthChart) EXPECT

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

func (*MockDepthChart) GetMaxDepth

func (m *MockDepthChart) GetMaxDepth() int64

GetMaxDepth mocks base method.

func (*MockDepthChart) GetNodes

func (m *MockDepthChart) GetNodes(depth int64) framework.NodeSet

GetNodes mocks base method.

func (*MockDepthChart) Len

func (m *MockDepthChart) Len() int64

Len mocks base method.

type MockDepthChartMockRecorder

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

MockDepthChartMockRecorder is the mock recorder for MockDepthChart.

func (*MockDepthChartMockRecorder) AddNode

func (mr *MockDepthChartMockRecorder) AddNode(node, depth interface{}) *gomock.Call

AddNode indicates an expected call of AddNode.

func (*MockDepthChartMockRecorder) DeleteNode

func (mr *MockDepthChartMockRecorder) DeleteNode(node interface{}) *gomock.Call

DeleteNode indicates an expected call of DeleteNode.

func (*MockDepthChartMockRecorder) GetMaxDepth

func (mr *MockDepthChartMockRecorder) GetMaxDepth() *gomock.Call

GetMaxDepth indicates an expected call of GetMaxDepth.

func (*MockDepthChartMockRecorder) GetNodes

func (mr *MockDepthChartMockRecorder) GetNodes(depth interface{}) *gomock.Call

GetNodes indicates an expected call of GetNodes.

func (*MockDepthChartMockRecorder) Len

Len indicates an expected call of Len.

type MockPrepare

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

MockPrepare is a mock of Prepare interface.

func NewMockPrepare

func NewMockPrepare(ctrl *gomock.Controller) *MockPrepare

NewMockPrepare creates a new mock instance.

func (*MockPrepare) EXPECT

func (m *MockPrepare) EXPECT() *MockPrepareMockRecorder

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

func (*MockPrepare) GenerateGraph

func (m *MockPrepare) GenerateGraph(arg0 context.Context, arg1 []framework.Node, arg2 []framework.Edge) (framework.Graph, error)

GenerateGraph mocks base method.

type MockPrepareMockRecorder

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

MockPrepareMockRecorder is the mock recorder for MockPrepare.

func (*MockPrepareMockRecorder) GenerateGraph

func (mr *MockPrepareMockRecorder) GenerateGraph(arg0, arg1, arg2 interface{}) *gomock.Call

GenerateGraph indicates an expected call of GenerateGraph.

type MockProcess

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

MockProcess is a mock of Process interface.

func NewMockProcess

func NewMockProcess(ctrl *gomock.Controller) *MockProcess

NewMockProcess creates a new mock instance.

func (*MockProcess) EXPECT

func (m *MockProcess) EXPECT() *MockProcessMockRecorder

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

func (*MockProcess) ProcessGraph

func (m *MockProcess) ProcessGraph(arg0 context.Context, arg1 framework.Graph) (framework.DepthChart, error)

ProcessGraph mocks base method.

type MockProcessMockRecorder

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

MockProcessMockRecorder is the mock recorder for MockProcess.

func (*MockProcessMockRecorder) ProcessGraph

func (mr *MockProcessMockRecorder) ProcessGraph(arg0, arg1 interface{}) *gomock.Call

ProcessGraph indicates an expected call of ProcessGraph.

type MockRelation

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

MockRelation is a mock of Relation interface.

func NewMockRelation

func NewMockRelation(ctrl *gomock.Controller) *MockRelation

NewMockRelation creates a new mock instance.

func (*MockRelation) EXPECT

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

func (*MockRelation) GetFrom

func (m *MockRelation) GetFrom() string

GetFrom mocks base method.

func (*MockRelation) GetName

func (m *MockRelation) GetName() string

GetName mocks base method.

func (*MockRelation) GetTo

func (m *MockRelation) GetTo() string

GetTo mocks base method.

func (*MockRelation) SetFrom

func (m *MockRelation) SetFrom(arg0 string)

SetFrom mocks base method.

func (*MockRelation) SetName

func (m *MockRelation) SetName(arg0 string)

SetName mocks base method.

func (*MockRelation) SetTo

func (m *MockRelation) SetTo(arg0 string)

SetTo mocks base method.

func (*MockRelation) String

func (m *MockRelation) String() string

String mocks base method.

type MockRelationAttr

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

MockRelationAttr is a mock of RelationAttr interface.

func NewMockRelationAttr

func NewMockRelationAttr(ctrl *gomock.Controller) *MockRelationAttr

NewMockRelationAttr creates a new mock instance.

func (*MockRelationAttr) EXPECT

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

type MockRelationAttrMockRecorder

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

MockRelationAttrMockRecorder is the mock recorder for MockRelationAttr.

type MockRelationMockRecorder

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

MockRelationMockRecorder is the mock recorder for MockRelation.

func (*MockRelationMockRecorder) GetFrom

func (mr *MockRelationMockRecorder) GetFrom() *gomock.Call

GetFrom indicates an expected call of GetFrom.

func (*MockRelationMockRecorder) GetName

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

GetName indicates an expected call of GetName.

func (*MockRelationMockRecorder) GetTo

func (mr *MockRelationMockRecorder) GetTo() *gomock.Call

GetTo indicates an expected call of GetTo.

func (*MockRelationMockRecorder) SetFrom

func (mr *MockRelationMockRecorder) SetFrom(arg0 interface{}) *gomock.Call

SetFrom indicates an expected call of SetFrom.

func (*MockRelationMockRecorder) SetName

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

SetName indicates an expected call of SetName.

func (*MockRelationMockRecorder) SetTo

func (mr *MockRelationMockRecorder) SetTo(arg0 interface{}) *gomock.Call

SetTo indicates an expected call of SetTo.

func (*MockRelationMockRecorder) String

func (mr *MockRelationMockRecorder) String() *gomock.Call

String indicates an expected call of String.

type MockStrategy

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

MockStrategy is a mock of Strategy interface.

func NewMockStrategy

func NewMockStrategy(ctrl *gomock.Controller) *MockStrategy

NewMockStrategy creates a new mock instance.

func (*MockStrategy) EXPECT

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

func (*MockStrategy) Schedule

func (m *MockStrategy) Schedule(arg0 context.Context, arg1 []framework.Relation) ([]framework.Relations, error)

Schedule mocks base method.

type MockStrategyMockRecorder

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

MockStrategyMockRecorder is the mock recorder for MockStrategy.

func (*MockStrategyMockRecorder) Schedule

func (mr *MockStrategyMockRecorder) Schedule(arg0, arg1 interface{}) *gomock.Call

Schedule indicates an expected call of Schedule.

Jump to

Keyboard shortcuts

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