graphfakes

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeIStore

type FakeIStore struct {
	AddEntityStub func(context.Context, graph.Entity) error

	AddRelationStub func(context.Context, graph.Relation) error

	CloseStub func(context.Context) error

	GetEntityStub func(context.Context, string) (*graph.Entity, error)

	NeighborsStub func(context.Context, string, int) ([]graph.Neighbor, error)

	RelationsInStub func(context.Context, string) ([]graph.Relation, error)

	RelationsOutStub func(context.Context, string) ([]graph.Relation, error)

	ShortestPathStub func(context.Context, string, string) ([]string, error)
	// contains filtered or unexported fields
}

func (*FakeIStore) AddEntity

func (fake *FakeIStore) AddEntity(arg1 context.Context, arg2 graph.Entity) error

func (*FakeIStore) AddEntityArgsForCall

func (fake *FakeIStore) AddEntityArgsForCall(i int) (context.Context, graph.Entity)

func (*FakeIStore) AddEntityCallCount

func (fake *FakeIStore) AddEntityCallCount() int

func (*FakeIStore) AddEntityCalls

func (fake *FakeIStore) AddEntityCalls(stub func(context.Context, graph.Entity) error)

func (*FakeIStore) AddEntityReturns

func (fake *FakeIStore) AddEntityReturns(result1 error)

func (*FakeIStore) AddEntityReturnsOnCall

func (fake *FakeIStore) AddEntityReturnsOnCall(i int, result1 error)

func (*FakeIStore) AddRelation

func (fake *FakeIStore) AddRelation(arg1 context.Context, arg2 graph.Relation) error

func (*FakeIStore) AddRelationArgsForCall

func (fake *FakeIStore) AddRelationArgsForCall(i int) (context.Context, graph.Relation)

func (*FakeIStore) AddRelationCallCount

func (fake *FakeIStore) AddRelationCallCount() int

func (*FakeIStore) AddRelationCalls

func (fake *FakeIStore) AddRelationCalls(stub func(context.Context, graph.Relation) error)

func (*FakeIStore) AddRelationReturns

func (fake *FakeIStore) AddRelationReturns(result1 error)

func (*FakeIStore) AddRelationReturnsOnCall

func (fake *FakeIStore) AddRelationReturnsOnCall(i int, result1 error)

func (*FakeIStore) Close

func (fake *FakeIStore) Close(arg1 context.Context) error

func (*FakeIStore) CloseArgsForCall

func (fake *FakeIStore) CloseArgsForCall(i int) context.Context

func (*FakeIStore) CloseCallCount

func (fake *FakeIStore) CloseCallCount() int

func (*FakeIStore) CloseCalls

func (fake *FakeIStore) CloseCalls(stub func(context.Context) error)

func (*FakeIStore) CloseReturns

func (fake *FakeIStore) CloseReturns(result1 error)

func (*FakeIStore) CloseReturnsOnCall

func (fake *FakeIStore) CloseReturnsOnCall(i int, result1 error)

func (*FakeIStore) GetEntity

func (fake *FakeIStore) GetEntity(arg1 context.Context, arg2 string) (*graph.Entity, error)

func (*FakeIStore) GetEntityArgsForCall

func (fake *FakeIStore) GetEntityArgsForCall(i int) (context.Context, string)

func (*FakeIStore) GetEntityCallCount

func (fake *FakeIStore) GetEntityCallCount() int

func (*FakeIStore) GetEntityCalls

func (fake *FakeIStore) GetEntityCalls(stub func(context.Context, string) (*graph.Entity, error))

func (*FakeIStore) GetEntityReturns

func (fake *FakeIStore) GetEntityReturns(result1 *graph.Entity, result2 error)

func (*FakeIStore) GetEntityReturnsOnCall

func (fake *FakeIStore) GetEntityReturnsOnCall(i int, result1 *graph.Entity, result2 error)

func (*FakeIStore) Invocations

func (fake *FakeIStore) Invocations() map[string][][]interface{}

func (*FakeIStore) Neighbors

func (fake *FakeIStore) Neighbors(arg1 context.Context, arg2 string, arg3 int) ([]graph.Neighbor, error)

func (*FakeIStore) NeighborsArgsForCall

func (fake *FakeIStore) NeighborsArgsForCall(i int) (context.Context, string, int)

func (*FakeIStore) NeighborsCallCount

func (fake *FakeIStore) NeighborsCallCount() int

func (*FakeIStore) NeighborsCalls

func (fake *FakeIStore) NeighborsCalls(stub func(context.Context, string, int) ([]graph.Neighbor, error))

func (*FakeIStore) NeighborsReturns

func (fake *FakeIStore) NeighborsReturns(result1 []graph.Neighbor, result2 error)

func (*FakeIStore) NeighborsReturnsOnCall

func (fake *FakeIStore) NeighborsReturnsOnCall(i int, result1 []graph.Neighbor, result2 error)

func (*FakeIStore) RelationsIn

func (fake *FakeIStore) RelationsIn(arg1 context.Context, arg2 string) ([]graph.Relation, error)

func (*FakeIStore) RelationsInArgsForCall

func (fake *FakeIStore) RelationsInArgsForCall(i int) (context.Context, string)

func (*FakeIStore) RelationsInCallCount

func (fake *FakeIStore) RelationsInCallCount() int

func (*FakeIStore) RelationsInCalls

func (fake *FakeIStore) RelationsInCalls(stub func(context.Context, string) ([]graph.Relation, error))

func (*FakeIStore) RelationsInReturns

func (fake *FakeIStore) RelationsInReturns(result1 []graph.Relation, result2 error)

func (*FakeIStore) RelationsInReturnsOnCall

func (fake *FakeIStore) RelationsInReturnsOnCall(i int, result1 []graph.Relation, result2 error)

func (*FakeIStore) RelationsOut

func (fake *FakeIStore) RelationsOut(arg1 context.Context, arg2 string) ([]graph.Relation, error)

func (*FakeIStore) RelationsOutArgsForCall

func (fake *FakeIStore) RelationsOutArgsForCall(i int) (context.Context, string)

func (*FakeIStore) RelationsOutCallCount

func (fake *FakeIStore) RelationsOutCallCount() int

func (*FakeIStore) RelationsOutCalls

func (fake *FakeIStore) RelationsOutCalls(stub func(context.Context, string) ([]graph.Relation, error))

func (*FakeIStore) RelationsOutReturns

func (fake *FakeIStore) RelationsOutReturns(result1 []graph.Relation, result2 error)

func (*FakeIStore) RelationsOutReturnsOnCall

func (fake *FakeIStore) RelationsOutReturnsOnCall(i int, result1 []graph.Relation, result2 error)

func (*FakeIStore) ShortestPath

func (fake *FakeIStore) ShortestPath(arg1 context.Context, arg2 string, arg3 string) ([]string, error)

func (*FakeIStore) ShortestPathArgsForCall

func (fake *FakeIStore) ShortestPathArgsForCall(i int) (context.Context, string, string)

func (*FakeIStore) ShortestPathCallCount

func (fake *FakeIStore) ShortestPathCallCount() int

func (*FakeIStore) ShortestPathCalls

func (fake *FakeIStore) ShortestPathCalls(stub func(context.Context, string, string) ([]string, error))

func (*FakeIStore) ShortestPathReturns

func (fake *FakeIStore) ShortestPathReturns(result1 []string, result2 error)

func (*FakeIStore) ShortestPathReturnsOnCall

func (fake *FakeIStore) ShortestPathReturnsOnCall(i int, result1 []string, result2 error)

Jump to

Keyboard shortcuts

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