Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type IPFSClient
- func (fake *IPFSClient) Add(r io.Reader, options ...shell.AddOpts) (string, error)
- func (fake *IPFSClient) AddArgsForCall(i int) (io.Reader, []shell.AddOpts)
- func (fake *IPFSClient) AddCallCount() int
- func (fake *IPFSClient) AddReturns(result1 string, result2 error)
- func (fake *IPFSClient) AddReturnsOnCall(i int, result1 string, result2 error)
- func (fake *IPFSClient) Cat(path string) (io.ReadCloser, error)
- func (fake *IPFSClient) CatArgsForCall(i int) string
- func (fake *IPFSClient) CatCallCount() int
- func (fake *IPFSClient) CatReturns(result1 io.ReadCloser, result2 error)
- func (fake *IPFSClient) CatReturnsOnCall(i int, result1 io.ReadCloser, result2 error)
- func (fake *IPFSClient) Invocations() map[string][][]interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IPFSClient ¶
type IPFSClient struct { CatStub func(path string) (io.ReadCloser, error) AddStub func(r io.Reader, options ...shell.AddOpts) (string, error) // contains filtered or unexported fields }
func (*IPFSClient) AddArgsForCall ¶
func (*IPFSClient) AddCallCount ¶
func (fake *IPFSClient) AddCallCount() int
func (*IPFSClient) AddReturns ¶
func (fake *IPFSClient) AddReturns(result1 string, result2 error)
func (*IPFSClient) AddReturnsOnCall ¶
func (fake *IPFSClient) AddReturnsOnCall(i int, result1 string, result2 error)
func (*IPFSClient) Cat ¶
func (fake *IPFSClient) Cat(path string) (io.ReadCloser, error)
func (*IPFSClient) CatArgsForCall ¶
func (fake *IPFSClient) CatArgsForCall(i int) string
func (*IPFSClient) CatCallCount ¶
func (fake *IPFSClient) CatCallCount() int
func (*IPFSClient) CatReturns ¶
func (fake *IPFSClient) CatReturns(result1 io.ReadCloser, result2 error)
func (*IPFSClient) CatReturnsOnCall ¶
func (fake *IPFSClient) CatReturnsOnCall(i int, result1 io.ReadCloser, result2 error)
func (*IPFSClient) Invocations ¶
func (fake *IPFSClient) Invocations() map[string][][]interface{}
Click to show internal directories.
Click to hide internal directories.