util

package
v1.5.1-rc1 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2024 License: Apache-2.0 Imports: 22 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(
	cfg types.EngineConfig,
	executorOptions StandardExecutorOptions,
) (executor.ExecutorProvider, error)

func NewStandardStorageProvider

func NewStandardStorageProvider(cfg types.Bacalhau) (storage.StorageProvider, error)

Types

type StandardExecutorOptions

type StandardExecutorOptions struct {
	DockerID string
}

type StandardStorageProviderOptions

type StandardStorageProviderOptions struct {
	IPFSConnect           string
	DownloadPath          string
	AllowListedLocalPaths []string
}

Jump to

Keyboard shortcuts

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