Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeNodeClient
- func (fake *FakeNodeClient) CreateNode(arg1 context.Context, arg2 *ipfs.NodeInfo, arg3 ipfs.NodeOpts) error
- func (fake *FakeNodeClient) CreateNodeArgsForCall(i int) (context.Context, *ipfs.NodeInfo, ipfs.NodeOpts)
- func (fake *FakeNodeClient) CreateNodeCallCount() int
- func (fake *FakeNodeClient) CreateNodeCalls(stub func(context.Context, *ipfs.NodeInfo, ipfs.NodeOpts) error)
- func (fake *FakeNodeClient) CreateNodeReturns(result1 error)
- func (fake *FakeNodeClient) CreateNodeReturnsOnCall(i int, result1 error)
- func (fake *FakeNodeClient) Invocations() map[string][][]interface{}
- func (fake *FakeNodeClient) NodeStats(arg1 context.Context, arg2 *ipfs.NodeInfo) (ipfs.NodeStats, error)
- func (fake *FakeNodeClient) NodeStatsArgsForCall(i int) (context.Context, *ipfs.NodeInfo)
- func (fake *FakeNodeClient) NodeStatsCallCount() int
- func (fake *FakeNodeClient) NodeStatsCalls(stub func(context.Context, *ipfs.NodeInfo) (ipfs.NodeStats, error))
- func (fake *FakeNodeClient) NodeStatsReturns(result1 ipfs.NodeStats, result2 error)
- func (fake *FakeNodeClient) NodeStatsReturnsOnCall(i int, result1 ipfs.NodeStats, result2 error)
- func (fake *FakeNodeClient) Nodes(arg1 context.Context) ([]*ipfs.NodeInfo, error)
- func (fake *FakeNodeClient) NodesArgsForCall(i int) context.Context
- func (fake *FakeNodeClient) NodesCallCount() int
- func (fake *FakeNodeClient) NodesCalls(stub func(context.Context) ([]*ipfs.NodeInfo, error))
- func (fake *FakeNodeClient) NodesReturns(result1 []*ipfs.NodeInfo, result2 error)
- func (fake *FakeNodeClient) NodesReturnsOnCall(i int, result1 []*ipfs.NodeInfo, result2 error)
- func (fake *FakeNodeClient) RemoveNode(arg1 context.Context, arg2 string) error
- func (fake *FakeNodeClient) RemoveNodeArgsForCall(i int) (context.Context, string)
- func (fake *FakeNodeClient) RemoveNodeCallCount() int
- func (fake *FakeNodeClient) RemoveNodeCalls(stub func(context.Context, string) error)
- func (fake *FakeNodeClient) RemoveNodeReturns(result1 error)
- func (fake *FakeNodeClient) RemoveNodeReturnsOnCall(i int, result1 error)
- func (fake *FakeNodeClient) StopNode(arg1 context.Context, arg2 *ipfs.NodeInfo) error
- func (fake *FakeNodeClient) StopNodeArgsForCall(i int) (context.Context, *ipfs.NodeInfo)
- func (fake *FakeNodeClient) StopNodeCallCount() int
- func (fake *FakeNodeClient) StopNodeCalls(stub func(context.Context, *ipfs.NodeInfo) error)
- func (fake *FakeNodeClient) StopNodeReturns(result1 error)
- func (fake *FakeNodeClient) StopNodeReturnsOnCall(i int, result1 error)
- func (fake *FakeNodeClient) UpdateNode(arg1 context.Context, arg2 *ipfs.NodeInfo) error
- func (fake *FakeNodeClient) UpdateNodeArgsForCall(i int) (context.Context, *ipfs.NodeInfo)
- func (fake *FakeNodeClient) UpdateNodeCallCount() int
- func (fake *FakeNodeClient) UpdateNodeCalls(stub func(context.Context, *ipfs.NodeInfo) error)
- func (fake *FakeNodeClient) UpdateNodeReturns(result1 error)
- func (fake *FakeNodeClient) UpdateNodeReturnsOnCall(i int, result1 error)
- func (fake *FakeNodeClient) Watch(arg1 context.Context) (<-chan ipfs.Event, <-chan error)
- func (fake *FakeNodeClient) WatchArgsForCall(i int) context.Context
- func (fake *FakeNodeClient) WatchCallCount() int
- func (fake *FakeNodeClient) WatchCalls(stub func(context.Context) (<-chan ipfs.Event, <-chan error))
- func (fake *FakeNodeClient) WatchReturns(result1 <-chan ipfs.Event, result2 <-chan error)
- func (fake *FakeNodeClient) WatchReturnsOnCall(i int, result1 <-chan ipfs.Event, result2 <-chan error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeNodeClient ¶
type FakeNodeClient struct { CreateNodeStub func(context.Context, *ipfs.NodeInfo, ipfs.NodeOpts) error NodeStatsStub func(context.Context, *ipfs.NodeInfo) (ipfs.NodeStats, error) NodesStub func(context.Context) ([]*ipfs.NodeInfo, error) RemoveNodeStub func(context.Context, string) error StopNodeStub func(context.Context, *ipfs.NodeInfo) error UpdateNodeStub func(context.Context, *ipfs.NodeInfo) error WatchStub func(context.Context) (<-chan ipfs.Event, <-chan error) // contains filtered or unexported fields }
func (*FakeNodeClient) CreateNode ¶
func (*FakeNodeClient) CreateNodeArgsForCall ¶
func (*FakeNodeClient) CreateNodeCallCount ¶
func (fake *FakeNodeClient) CreateNodeCallCount() int
func (*FakeNodeClient) CreateNodeCalls ¶
func (*FakeNodeClient) CreateNodeReturns ¶
func (fake *FakeNodeClient) CreateNodeReturns(result1 error)
func (*FakeNodeClient) CreateNodeReturnsOnCall ¶
func (fake *FakeNodeClient) CreateNodeReturnsOnCall(i int, result1 error)
func (*FakeNodeClient) Invocations ¶
func (fake *FakeNodeClient) Invocations() map[string][][]interface{}
func (*FakeNodeClient) NodeStatsArgsForCall ¶
func (*FakeNodeClient) NodeStatsCallCount ¶
func (fake *FakeNodeClient) NodeStatsCallCount() int
func (*FakeNodeClient) NodeStatsCalls ¶
func (*FakeNodeClient) NodeStatsReturns ¶
func (fake *FakeNodeClient) NodeStatsReturns(result1 ipfs.NodeStats, result2 error)
func (*FakeNodeClient) NodeStatsReturnsOnCall ¶
func (fake *FakeNodeClient) NodeStatsReturnsOnCall(i int, result1 ipfs.NodeStats, result2 error)
func (*FakeNodeClient) NodesArgsForCall ¶
func (fake *FakeNodeClient) NodesArgsForCall(i int) context.Context
func (*FakeNodeClient) NodesCallCount ¶
func (fake *FakeNodeClient) NodesCallCount() int
func (*FakeNodeClient) NodesCalls ¶
func (*FakeNodeClient) NodesReturns ¶
func (fake *FakeNodeClient) NodesReturns(result1 []*ipfs.NodeInfo, result2 error)
func (*FakeNodeClient) NodesReturnsOnCall ¶
func (fake *FakeNodeClient) NodesReturnsOnCall(i int, result1 []*ipfs.NodeInfo, result2 error)
func (*FakeNodeClient) RemoveNode ¶
func (fake *FakeNodeClient) RemoveNode(arg1 context.Context, arg2 string) error
func (*FakeNodeClient) RemoveNodeArgsForCall ¶
func (fake *FakeNodeClient) RemoveNodeArgsForCall(i int) (context.Context, string)
func (*FakeNodeClient) RemoveNodeCallCount ¶
func (fake *FakeNodeClient) RemoveNodeCallCount() int
func (*FakeNodeClient) RemoveNodeCalls ¶
func (fake *FakeNodeClient) RemoveNodeCalls(stub func(context.Context, string) error)
func (*FakeNodeClient) RemoveNodeReturns ¶
func (fake *FakeNodeClient) RemoveNodeReturns(result1 error)
func (*FakeNodeClient) RemoveNodeReturnsOnCall ¶
func (fake *FakeNodeClient) RemoveNodeReturnsOnCall(i int, result1 error)
func (*FakeNodeClient) StopNodeArgsForCall ¶
func (*FakeNodeClient) StopNodeCallCount ¶
func (fake *FakeNodeClient) StopNodeCallCount() int
func (*FakeNodeClient) StopNodeCalls ¶
func (*FakeNodeClient) StopNodeReturns ¶
func (fake *FakeNodeClient) StopNodeReturns(result1 error)
func (*FakeNodeClient) StopNodeReturnsOnCall ¶
func (fake *FakeNodeClient) StopNodeReturnsOnCall(i int, result1 error)
func (*FakeNodeClient) UpdateNode ¶
func (*FakeNodeClient) UpdateNodeArgsForCall ¶
func (*FakeNodeClient) UpdateNodeCallCount ¶
func (fake *FakeNodeClient) UpdateNodeCallCount() int
func (*FakeNodeClient) UpdateNodeCalls ¶
func (*FakeNodeClient) UpdateNodeReturns ¶
func (fake *FakeNodeClient) UpdateNodeReturns(result1 error)
func (*FakeNodeClient) UpdateNodeReturnsOnCall ¶
func (fake *FakeNodeClient) UpdateNodeReturnsOnCall(i int, result1 error)
func (*FakeNodeClient) WatchArgsForCall ¶
func (fake *FakeNodeClient) WatchArgsForCall(i int) context.Context
func (*FakeNodeClient) WatchCallCount ¶
func (fake *FakeNodeClient) WatchCallCount() int
func (*FakeNodeClient) WatchCalls ¶
func (*FakeNodeClient) WatchReturns ¶
func (fake *FakeNodeClient) WatchReturns(result1 <-chan ipfs.Event, result2 <-chan error)
func (*FakeNodeClient) WatchReturnsOnCall ¶
func (fake *FakeNodeClient) WatchReturnsOnCall(i int, result1 <-chan ipfs.Event, result2 <-chan error)
Click to show internal directories.
Click to hide internal directories.