Documentation ¶
Index ¶
- type Broker
- func (_m *Broker) Create(ctx context.Context, dataCid cid.Cid, origin string) (broker.StorageRequest, error)
- func (_m *Broker) CreatePrepared(ctx context.Context, payloadCid cid.Cid, pc broker.PreparedCAR, ...) (broker.StorageRequest, error)
- func (_m *Broker) GetStorageRequestInfo(ctx context.Context, ID broker.StorageRequestID) (broker.StorageRequestInfo, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Broker ¶
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
Click to show internal directories.
Click to hide internal directories.