Nexus: github.com/RTradeLtd/Nexus/ipfs/mock Index | Files

package mock

import "github.com/RTradeLtd/Nexus/ipfs/mock"

Code generated by counterfeiter. DO NOT EDIT.

Index

Package Files

ipfs.mock.go

type FakeNodeClient Uses

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 Uses

func (fake *FakeNodeClient) CreateNode(arg1 context.Context, arg2 *ipfs.NodeInfo, arg3 ipfs.NodeOpts) error

func (*FakeNodeClient) CreateNodeArgsForCall Uses

func (fake *FakeNodeClient) CreateNodeArgsForCall(i int) (context.Context, *ipfs.NodeInfo, ipfs.NodeOpts)

func (*FakeNodeClient) CreateNodeCallCount Uses

func (fake *FakeNodeClient) CreateNodeCallCount() int

func (*FakeNodeClient) CreateNodeCalls Uses

func (fake *FakeNodeClient) CreateNodeCalls(stub func(context.Context, *ipfs.NodeInfo, ipfs.NodeOpts) error)

func (*FakeNodeClient) CreateNodeReturns Uses

func (fake *FakeNodeClient) CreateNodeReturns(result1 error)

func (*FakeNodeClient) CreateNodeReturnsOnCall Uses

func (fake *FakeNodeClient) CreateNodeReturnsOnCall(i int, result1 error)

func (*FakeNodeClient) Invocations Uses

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

func (*FakeNodeClient) NodeStats Uses

func (fake *FakeNodeClient) NodeStats(arg1 context.Context, arg2 *ipfs.NodeInfo) (ipfs.NodeStats, error)

func (*FakeNodeClient) NodeStatsArgsForCall Uses

func (fake *FakeNodeClient) NodeStatsArgsForCall(i int) (context.Context, *ipfs.NodeInfo)

func (*FakeNodeClient) NodeStatsCallCount Uses

func (fake *FakeNodeClient) NodeStatsCallCount() int

func (*FakeNodeClient) NodeStatsCalls Uses

func (fake *FakeNodeClient) NodeStatsCalls(stub func(context.Context, *ipfs.NodeInfo) (ipfs.NodeStats, error))

func (*FakeNodeClient) NodeStatsReturns Uses

func (fake *FakeNodeClient) NodeStatsReturns(result1 ipfs.NodeStats, result2 error)

func (*FakeNodeClient) NodeStatsReturnsOnCall Uses

func (fake *FakeNodeClient) NodeStatsReturnsOnCall(i int, result1 ipfs.NodeStats, result2 error)

func (*FakeNodeClient) Nodes Uses

func (fake *FakeNodeClient) Nodes(arg1 context.Context) ([]*ipfs.NodeInfo, error)

func (*FakeNodeClient) NodesArgsForCall Uses

func (fake *FakeNodeClient) NodesArgsForCall(i int) context.Context

func (*FakeNodeClient) NodesCallCount Uses

func (fake *FakeNodeClient) NodesCallCount() int

func (*FakeNodeClient) NodesCalls Uses

func (fake *FakeNodeClient) NodesCalls(stub func(context.Context) ([]*ipfs.NodeInfo, error))

func (*FakeNodeClient) NodesReturns Uses

func (fake *FakeNodeClient) NodesReturns(result1 []*ipfs.NodeInfo, result2 error)

func (*FakeNodeClient) NodesReturnsOnCall Uses

func (fake *FakeNodeClient) NodesReturnsOnCall(i int, result1 []*ipfs.NodeInfo, result2 error)

func (*FakeNodeClient) RemoveNode Uses

func (fake *FakeNodeClient) RemoveNode(arg1 context.Context, arg2 string) error

func (*FakeNodeClient) RemoveNodeArgsForCall Uses

func (fake *FakeNodeClient) RemoveNodeArgsForCall(i int) (context.Context, string)

func (*FakeNodeClient) RemoveNodeCallCount Uses

func (fake *FakeNodeClient) RemoveNodeCallCount() int

func (*FakeNodeClient) RemoveNodeCalls Uses

func (fake *FakeNodeClient) RemoveNodeCalls(stub func(context.Context, string) error)

func (*FakeNodeClient) RemoveNodeReturns Uses

func (fake *FakeNodeClient) RemoveNodeReturns(result1 error)

func (*FakeNodeClient) RemoveNodeReturnsOnCall Uses

func (fake *FakeNodeClient) RemoveNodeReturnsOnCall(i int, result1 error)

func (*FakeNodeClient) StopNode Uses

func (fake *FakeNodeClient) StopNode(arg1 context.Context, arg2 *ipfs.NodeInfo) error

func (*FakeNodeClient) StopNodeArgsForCall Uses

func (fake *FakeNodeClient) StopNodeArgsForCall(i int) (context.Context, *ipfs.NodeInfo)

func (*FakeNodeClient) StopNodeCallCount Uses

func (fake *FakeNodeClient) StopNodeCallCount() int

func (*FakeNodeClient) StopNodeCalls Uses

func (fake *FakeNodeClient) StopNodeCalls(stub func(context.Context, *ipfs.NodeInfo) error)

func (*FakeNodeClient) StopNodeReturns Uses

func (fake *FakeNodeClient) StopNodeReturns(result1 error)

func (*FakeNodeClient) StopNodeReturnsOnCall Uses

func (fake *FakeNodeClient) StopNodeReturnsOnCall(i int, result1 error)

func (*FakeNodeClient) UpdateNode Uses

func (fake *FakeNodeClient) UpdateNode(arg1 context.Context, arg2 *ipfs.NodeInfo) error

func (*FakeNodeClient) UpdateNodeArgsForCall Uses

func (fake *FakeNodeClient) UpdateNodeArgsForCall(i int) (context.Context, *ipfs.NodeInfo)

func (*FakeNodeClient) UpdateNodeCallCount Uses

func (fake *FakeNodeClient) UpdateNodeCallCount() int

func (*FakeNodeClient) UpdateNodeCalls Uses

func (fake *FakeNodeClient) UpdateNodeCalls(stub func(context.Context, *ipfs.NodeInfo) error)

func (*FakeNodeClient) UpdateNodeReturns Uses

func (fake *FakeNodeClient) UpdateNodeReturns(result1 error)

func (*FakeNodeClient) UpdateNodeReturnsOnCall Uses

func (fake *FakeNodeClient) UpdateNodeReturnsOnCall(i int, result1 error)

func (*FakeNodeClient) Watch Uses

func (fake *FakeNodeClient) Watch(arg1 context.Context) (<-chan ipfs.Event, <-chan error)

func (*FakeNodeClient) WatchArgsForCall Uses

func (fake *FakeNodeClient) WatchArgsForCall(i int) context.Context

func (*FakeNodeClient) WatchCallCount Uses

func (fake *FakeNodeClient) WatchCallCount() int

func (*FakeNodeClient) WatchCalls Uses

func (fake *FakeNodeClient) WatchCalls(stub func(context.Context) (<-chan ipfs.Event, <-chan error))

func (*FakeNodeClient) WatchReturns Uses

func (fake *FakeNodeClient) WatchReturns(result1 <-chan ipfs.Event, result2 <-chan error)

func (*FakeNodeClient) WatchReturnsOnCall Uses

func (fake *FakeNodeClient) WatchReturnsOnCall(i int, result1 <-chan ipfs.Event, result2 <-chan error)

Package mock imports 3 packages (graph). Updated 2019-03-04. Refresh now. Tools for package owners.