Versions in this module Expand all Collapse all v0 v0.4.0 Jan 18, 2019 Changes in this version + 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) + 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)