mocks

package
v0.0.0-...-269d6e4 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Broker

type Broker struct {
	mock.Mock
}

Broker is an autogenerated mock type for the Broker type

func (*Broker) Create

func (_m *Broker) Create(ctx context.Context, dataCid cid.Cid, origin string) (broker.StorageRequest, error)

Create provides a mock function with given fields: ctx, dataCid, origin

func (*Broker) CreatePrepared

func (_m *Broker) CreatePrepared(ctx context.Context, payloadCid cid.Cid, pc broker.PreparedCAR, m broker.BatchMetadata, rw *broker.RemoteWallet) (broker.StorageRequest, error)

CreatePrepared provides a mock function with given fields: ctx, payloadCid, pc, m, rw

func (*Broker) GetStorageRequestInfo

func (_m *Broker) GetStorageRequestInfo(ctx context.Context, ID broker.StorageRequestID) (broker.StorageRequestInfo, error)

GetStorageRequestInfo provides a mock function with given fields: ctx, ID

Jump to

Keyboard shortcuts

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