util

package
v0.3.27 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2023 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewExecutorSpecificBidStrategy added in v0.3.24

func NewExecutorSpecificBidStrategy(provider executor.ExecutorProvider) bidstrategy.BidStrategy

func NewNoopExecutors

func NewNoopExecutors(config noop_executor.ExecutorConfig) executor.ExecutorProvider

return noop executors for all engines

func NewStandardExecutorProvider

func NewStandardExecutorProvider(
	ctx context.Context,
	cm *system.CleanupManager,
	executorOptions StandardExecutorOptions,
) (executor.ExecutorProvider, error)

Types

type InputLocalityStrategy added in v0.3.24

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

func NewInputLocalityStrategy added in v0.3.24

func NewInputLocalityStrategy(params InputLocalityStrategyParams) *InputLocalityStrategy

func (*InputLocalityStrategy) ShouldBid added in v0.3.24

func (*InputLocalityStrategy) ShouldBidBasedOnUsage added in v0.3.24

type InputLocalityStrategyParams added in v0.3.24

type InputLocalityStrategyParams struct {
	Locality  model.JobSelectionDataLocality
	Executors executor.ExecutorProvider
}

type StandardExecutorOptions

type StandardExecutorOptions struct {
	DockerID string
	Storage  StandardStorageProviderOptions
}

type StandardStorageProviderOptions

type StandardStorageProviderOptions struct {
	API                  ipfs.Client
	FilecoinUnsealedPath string
	DownloadPath         string
	EstuaryAPIKey        string
}

Jump to

Keyboard shortcuts

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