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 ¶
- type MockDecision
- type MockDecisionMockRecorder
- type MockDepthChart
- func (m *MockDepthChart) AddNode(node framework.Node, depth int64)
- func (m *MockDepthChart) DeleteNode(node framework.Node)
- func (m *MockDepthChart) EXPECT() *MockDepthChartMockRecorder
- func (m *MockDepthChart) GetMaxDepth() int64
- func (m *MockDepthChart) GetNodes(depth int64) framework.NodeSet
- func (m *MockDepthChart) Len() int64
- type MockDepthChartMockRecorder
- func (mr *MockDepthChartMockRecorder) AddNode(node, depth interface{}) *gomock.Call
- func (mr *MockDepthChartMockRecorder) DeleteNode(node interface{}) *gomock.Call
- func (mr *MockDepthChartMockRecorder) GetMaxDepth() *gomock.Call
- func (mr *MockDepthChartMockRecorder) GetNodes(depth interface{}) *gomock.Call
- func (mr *MockDepthChartMockRecorder) Len() *gomock.Call
- type MockPrepare
- type MockPrepareMockRecorder
- type MockProcess
- type MockProcessMockRecorder
- type MockRelation
- func (m *MockRelation) EXPECT() *MockRelationMockRecorder
- func (m *MockRelation) GetFrom() string
- func (m *MockRelation) GetName() string
- func (m *MockRelation) GetTo() string
- func (m *MockRelation) SetFrom(arg0 string)
- func (m *MockRelation) SetName(arg0 string)
- func (m *MockRelation) SetTo(arg0 string)
- func (m *MockRelation) String() string
- type MockRelationAttr
- type MockRelationAttrMockRecorder
- type MockRelationMockRecorder
- func (mr *MockRelationMockRecorder) GetFrom() *gomock.Call
- func (mr *MockRelationMockRecorder) GetName() *gomock.Call
- func (mr *MockRelationMockRecorder) GetTo() *gomock.Call
- func (mr *MockRelationMockRecorder) SetFrom(arg0 interface{}) *gomock.Call
- func (mr *MockRelationMockRecorder) SetName(arg0 interface{}) *gomock.Call
- func (mr *MockRelationMockRecorder) SetTo(arg0 interface{}) *gomock.Call
- func (mr *MockRelationMockRecorder) String() *gomock.Call
- type MockStrategy
- type MockStrategyMockRecorder
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 ¶
func (m *MockDecision) EXPECT() *MockDecisionMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDecision) SelectEdges ¶
func (m *MockDecision) SelectEdges(arg0 context.Context, arg1 framework.Graph, arg2 framework.DepthChart, arg3 framework.CheckFunc) (framework.EdgeSet, bool)
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 ¶
func (m *MockDepthChart) EXPECT() *MockDepthChartMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDepthChart) GetMaxDepth ¶
func (m *MockDepthChart) GetMaxDepth() int64
GetMaxDepth 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 ¶
func (mr *MockDepthChartMockRecorder) Len() *gomock.Call
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.
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 ¶
func (m *MockRelation) EXPECT() *MockRelationMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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.
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 ¶
func (m *MockRelationAttr) EXPECT() *MockRelationAttrMockRecorder
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 ¶
func (m *MockStrategy) EXPECT() *MockStrategyMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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.