mock

package
v1.0.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockIPFS

type MockIPFS struct {
	// contains filtered or unexported fields
}

MockIPFS is a mock of IPFS interface.

func NewMockIPFS

func NewMockIPFS(ctrl *gomock.Controller) *MockIPFS

NewMockIPFS creates a new mock instance.

func (*MockIPFS) AddFile

func (m *MockIPFS) AddFile(arg0 []byte, arg1 string, arg2 bool) (string, error)

AddFile mocks base method.

func (*MockIPFS) EXPECT

func (m *MockIPFS) EXPECT() *MockIPFSMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockIPFS) ListFiles

func (m *MockIPFS) ListFiles() ([]string, error)

ListFiles mocks base method.

func (*MockIPFS) RetrieveFile

func (m *MockIPFS) RetrieveFile(arg0 string) ([]byte, error)

RetrieveFile mocks base method.

func (*MockIPFS) Stop

func (m *MockIPFS) Stop() error

Stop mocks base method.

type MockIPFSMockRecorder

type MockIPFSMockRecorder struct {
	// contains filtered or unexported fields
}

MockIPFSMockRecorder is the mock recorder for MockIPFS.

func (*MockIPFSMockRecorder) AddFile

func (mr *MockIPFSMockRecorder) AddFile(arg0, arg1, arg2 interface{}) *gomock.Call

AddFile indicates an expected call of AddFile.

func (*MockIPFSMockRecorder) ListFiles

func (mr *MockIPFSMockRecorder) ListFiles() *gomock.Call

ListFiles indicates an expected call of ListFiles.

func (*MockIPFSMockRecorder) RetrieveFile

func (mr *MockIPFSMockRecorder) RetrieveFile(arg0 interface{}) *gomock.Call

RetrieveFile indicates an expected call of RetrieveFile.

func (*MockIPFSMockRecorder) Stop

func (mr *MockIPFSMockRecorder) Stop() *gomock.Call

Stop indicates an expected call of Stop.

Directories

Path Synopsis
Package ipfs_mock is a generated GoMock package.
Package ipfs_mock is a generated GoMock package.
path
Package resolved_mock is a generated GoMock package.
Package resolved_mock is a generated GoMock package.

Jump to

Keyboard shortcuts

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