Documentation
¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeIStore
- func (fake *FakeIStore) AddEntity(arg1 context.Context, arg2 graph.Entity) error
- func (fake *FakeIStore) AddEntityArgsForCall(i int) (context.Context, graph.Entity)
- func (fake *FakeIStore) AddEntityCallCount() int
- func (fake *FakeIStore) AddEntityCalls(stub func(context.Context, graph.Entity) error)
- func (fake *FakeIStore) AddEntityReturns(result1 error)
- func (fake *FakeIStore) AddEntityReturnsOnCall(i int, result1 error)
- func (fake *FakeIStore) AddRelation(arg1 context.Context, arg2 graph.Relation) error
- func (fake *FakeIStore) AddRelationArgsForCall(i int) (context.Context, graph.Relation)
- func (fake *FakeIStore) AddRelationCallCount() int
- func (fake *FakeIStore) AddRelationCalls(stub func(context.Context, graph.Relation) error)
- func (fake *FakeIStore) AddRelationReturns(result1 error)
- func (fake *FakeIStore) AddRelationReturnsOnCall(i int, result1 error)
- func (fake *FakeIStore) Close(arg1 context.Context) error
- func (fake *FakeIStore) CloseArgsForCall(i int) context.Context
- func (fake *FakeIStore) CloseCallCount() int
- func (fake *FakeIStore) CloseCalls(stub func(context.Context) error)
- func (fake *FakeIStore) CloseReturns(result1 error)
- func (fake *FakeIStore) CloseReturnsOnCall(i int, result1 error)
- func (fake *FakeIStore) GetEntity(arg1 context.Context, arg2 string) (*graph.Entity, error)
- func (fake *FakeIStore) GetEntityArgsForCall(i int) (context.Context, string)
- func (fake *FakeIStore) GetEntityCallCount() int
- func (fake *FakeIStore) GetEntityCalls(stub func(context.Context, string) (*graph.Entity, error))
- func (fake *FakeIStore) GetEntityReturns(result1 *graph.Entity, result2 error)
- func (fake *FakeIStore) GetEntityReturnsOnCall(i int, result1 *graph.Entity, result2 error)
- func (fake *FakeIStore) Invocations() map[string][][]interface{}
- func (fake *FakeIStore) Neighbors(arg1 context.Context, arg2 string, arg3 int) ([]graph.Neighbor, error)
- func (fake *FakeIStore) NeighborsArgsForCall(i int) (context.Context, string, int)
- func (fake *FakeIStore) NeighborsCallCount() int
- func (fake *FakeIStore) NeighborsCalls(stub func(context.Context, string, int) ([]graph.Neighbor, error))
- func (fake *FakeIStore) NeighborsReturns(result1 []graph.Neighbor, result2 error)
- func (fake *FakeIStore) NeighborsReturnsOnCall(i int, result1 []graph.Neighbor, result2 error)
- func (fake *FakeIStore) RelationsIn(arg1 context.Context, arg2 string) ([]graph.Relation, error)
- func (fake *FakeIStore) RelationsInArgsForCall(i int) (context.Context, string)
- func (fake *FakeIStore) RelationsInCallCount() int
- func (fake *FakeIStore) RelationsInCalls(stub func(context.Context, string) ([]graph.Relation, error))
- func (fake *FakeIStore) RelationsInReturns(result1 []graph.Relation, result2 error)
- func (fake *FakeIStore) RelationsInReturnsOnCall(i int, result1 []graph.Relation, result2 error)
- func (fake *FakeIStore) RelationsOut(arg1 context.Context, arg2 string) ([]graph.Relation, error)
- func (fake *FakeIStore) RelationsOutArgsForCall(i int) (context.Context, string)
- func (fake *FakeIStore) RelationsOutCallCount() int
- func (fake *FakeIStore) RelationsOutCalls(stub func(context.Context, string) ([]graph.Relation, error))
- func (fake *FakeIStore) RelationsOutReturns(result1 []graph.Relation, result2 error)
- func (fake *FakeIStore) RelationsOutReturnsOnCall(i int, result1 []graph.Relation, result2 error)
- func (fake *FakeIStore) ShortestPath(arg1 context.Context, arg2 string, arg3 string) ([]string, error)
- func (fake *FakeIStore) ShortestPathArgsForCall(i int) (context.Context, string, string)
- func (fake *FakeIStore) ShortestPathCallCount() int
- func (fake *FakeIStore) ShortestPathCalls(stub func(context.Context, string, string) ([]string, error))
- func (fake *FakeIStore) ShortestPathReturns(result1 []string, result2 error)
- func (fake *FakeIStore) ShortestPathReturnsOnCall(i int, result1 []string, result2 error)
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) AddEntityArgsForCall ¶
func (*FakeIStore) AddEntityCallCount ¶
func (fake *FakeIStore) AddEntityCallCount() int
func (*FakeIStore) AddEntityCalls ¶
func (*FakeIStore) AddEntityReturns ¶
func (fake *FakeIStore) AddEntityReturns(result1 error)
func (*FakeIStore) AddEntityReturnsOnCall ¶
func (fake *FakeIStore) AddEntityReturnsOnCall(i int, result1 error)
func (*FakeIStore) AddRelation ¶
func (*FakeIStore) AddRelationArgsForCall ¶
func (*FakeIStore) AddRelationCallCount ¶
func (fake *FakeIStore) AddRelationCallCount() int
func (*FakeIStore) AddRelationCalls ¶
func (*FakeIStore) AddRelationReturns ¶
func (fake *FakeIStore) AddRelationReturns(result1 error)
func (*FakeIStore) AddRelationReturnsOnCall ¶
func (fake *FakeIStore) AddRelationReturnsOnCall(i int, result1 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) GetEntityArgsForCall ¶
func (fake *FakeIStore) GetEntityArgsForCall(i int) (context.Context, string)
func (*FakeIStore) GetEntityCallCount ¶
func (fake *FakeIStore) GetEntityCallCount() int
func (*FakeIStore) GetEntityCalls ¶
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) NeighborsArgsForCall ¶
func (*FakeIStore) NeighborsCallCount ¶
func (fake *FakeIStore) NeighborsCallCount() int
func (*FakeIStore) NeighborsCalls ¶
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 (*FakeIStore) RelationsInArgsForCall ¶
func (fake *FakeIStore) RelationsInArgsForCall(i int) (context.Context, string)
func (*FakeIStore) RelationsInCallCount ¶
func (fake *FakeIStore) RelationsInCallCount() int
func (*FakeIStore) RelationsInCalls ¶
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 (*FakeIStore) RelationsOutArgsForCall ¶
func (fake *FakeIStore) RelationsOutArgsForCall(i int) (context.Context, string)
func (*FakeIStore) RelationsOutCallCount ¶
func (fake *FakeIStore) RelationsOutCallCount() int
func (*FakeIStore) RelationsOutCalls ¶
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 (*FakeIStore) ShortestPathArgsForCall ¶
func (*FakeIStore) ShortestPathCallCount ¶
func (fake *FakeIStore) ShortestPathCallCount() int
func (*FakeIStore) ShortestPathCalls ¶
func (*FakeIStore) ShortestPathReturns ¶
func (fake *FakeIStore) ShortestPathReturns(result1 []string, result2 error)
func (*FakeIStore) ShortestPathReturnsOnCall ¶
func (fake *FakeIStore) ShortestPathReturnsOnCall(i int, result1 []string, result2 error)
Click to show internal directories.
Click to hide internal directories.