mocks

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 14, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Index

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) Add

func (fake *IPFSClient) Add(r io.Reader, options ...shell.AddOpts) (string, error)

func (*IPFSClient) AddArgsForCall

func (fake *IPFSClient) AddArgsForCall(i int) (io.Reader, []shell.AddOpts)

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{}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL