mocks

package
v2.0.5-beta.4 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2022 License: Apache-2.0 Imports: 3 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 MockDAG

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

MockDAG is a mock of DAG interface.

func NewMockDAG

func NewMockDAG(ctrl *gomock.Controller) *MockDAG

NewMockDAG creates a new mock instance.

func (*MockDAG) AddEdge

func (m *MockDAG) AddEdge(fromVertexID, toVertexID string) error

AddEdge mocks base method.

func (*MockDAG) AddVertex

func (m *MockDAG) AddVertex(id string, value any) error

AddVertex mocks base method.

func (*MockDAG) CanAddEdge

func (m *MockDAG) CanAddEdge(fromVertexID, toVertexID string) bool

CanAddEdge mocks base method.

func (*MockDAG) DeleteEdge

func (m *MockDAG) DeleteEdge(fromVertexID, toVertexID string) error

DeleteEdge mocks base method.

func (*MockDAG) DeleteVertex

func (m *MockDAG) DeleteVertex(id string)

DeleteVertex mocks base method.

func (*MockDAG) EXPECT

func (m *MockDAG) EXPECT() *MockDAGMockRecorder

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

func (*MockDAG) GetSinkVertices

func (m *MockDAG) GetSinkVertices() map[string]*dag.Vertex

GetSinkVertices mocks base method.

func (*MockDAG) GetSourceVertices

func (m *MockDAG) GetSourceVertices() map[string]*dag.Vertex

GetSourceVertices mocks base method.

func (*MockDAG) GetVertex

func (m *MockDAG) GetVertex(id string) (*dag.Vertex, error)

GetVertex mocks base method.

func (*MockDAG) GetVertices

func (m *MockDAG) GetVertices() map[string]*dag.Vertex

GetVertices mocks base method.

func (*MockDAG) VertexCount

func (m *MockDAG) VertexCount() int

VertexCount mocks base method.

type MockDAGMockRecorder

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

MockDAGMockRecorder is the mock recorder for MockDAG.

func (*MockDAGMockRecorder) AddEdge

func (mr *MockDAGMockRecorder) AddEdge(fromVertexID, toVertexID interface{}) *gomock.Call

AddEdge indicates an expected call of AddEdge.

func (*MockDAGMockRecorder) AddVertex

func (mr *MockDAGMockRecorder) AddVertex(id, value interface{}) *gomock.Call

AddVertex indicates an expected call of AddVertex.

func (*MockDAGMockRecorder) CanAddEdge

func (mr *MockDAGMockRecorder) CanAddEdge(fromVertexID, toVertexID interface{}) *gomock.Call

CanAddEdge indicates an expected call of CanAddEdge.

func (*MockDAGMockRecorder) DeleteEdge

func (mr *MockDAGMockRecorder) DeleteEdge(fromVertexID, toVertexID interface{}) *gomock.Call

DeleteEdge indicates an expected call of DeleteEdge.

func (*MockDAGMockRecorder) DeleteVertex

func (mr *MockDAGMockRecorder) DeleteVertex(id interface{}) *gomock.Call

DeleteVertex indicates an expected call of DeleteVertex.

func (*MockDAGMockRecorder) GetSinkVertices

func (mr *MockDAGMockRecorder) GetSinkVertices() *gomock.Call

GetSinkVertices indicates an expected call of GetSinkVertices.

func (*MockDAGMockRecorder) GetSourceVertices

func (mr *MockDAGMockRecorder) GetSourceVertices() *gomock.Call

GetSourceVertices indicates an expected call of GetSourceVertices.

func (*MockDAGMockRecorder) GetVertex

func (mr *MockDAGMockRecorder) GetVertex(id interface{}) *gomock.Call

GetVertex indicates an expected call of GetVertex.

func (*MockDAGMockRecorder) GetVertices

func (mr *MockDAGMockRecorder) GetVertices() *gomock.Call

GetVertices indicates an expected call of GetVertices.

func (*MockDAGMockRecorder) VertexCount

func (mr *MockDAGMockRecorder) VertexCount() *gomock.Call

VertexCount indicates an expected call of VertexCount.

Jump to

Keyboard shortcuts

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