dealfilter

package
v1.6.1-rc1 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2023 License: Apache-2.0, MIT Imports: 9 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DealFilterParams added in v1.5.1

type DealFilterParams struct {
	DealParams           types.DealParams
	SealingPipelineState sealingpipeline.Status
	FundsState           funds.Status
	StorageState         storagespace.Status
}

DealFilterParams is the struct that gets passed to the Storage Deal Filter

type RetrievalDealFilter added in v1.5.1

type RetrievalDealFilter func(ctx context.Context, deal retrievalmarket.ProviderDealState) (bool, string, error)

func CliRetrievalDealFilter

func CliRetrievalDealFilter(cmd string) RetrievalDealFilter

type StorageDealFilter added in v1.5.1

type StorageDealFilter func(ctx context.Context, deal DealFilterParams) (bool, string, error)

func CliStorageDealFilter

func CliStorageDealFilter(cmd string) StorageDealFilter

Jump to

Keyboard shortcuts

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