bacalhau

package
v2.21.0 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2025 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const MINIMUM_DISK_SPACE = 3 * 1024 * 1024 * 1024 // 3 Gb
View Source
const RESULTS_DIR = "bacalhau-results"

Variables

This section is empty.

Functions

This section is empty.

Types

type BacalhauClient

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

type BacalhauExecutor

type BacalhauExecutor struct {
	Options BacalhauExecutorOptions
	// contains filtered or unexported fields
}

func NewBacalhauExecutor

func NewBacalhauExecutor(options BacalhauExecutorOptions) (*BacalhauExecutor, error)

func (*BacalhauExecutor) GetMachineSpecs

func (executor *BacalhauExecutor) GetMachineSpecs() ([]data.MachineSpec, error)

func (*BacalhauExecutor) Id

func (executor *BacalhauExecutor) Id() (string, error)

func (*BacalhauExecutor) IsAvailable

func (executor *BacalhauExecutor) IsAvailable() (bool, error)

Checks that Bacalhau is installed, correctly configured, and available

func (*BacalhauExecutor) Preflight added in v2.21.0

func (executor *BacalhauExecutor) Preflight() error

func (*BacalhauExecutor) RunJob

func (executor *BacalhauExecutor) RunJob(
	deal data.DealContainer,
	module data.Module,
) (*executorlib.ExecutorResults, error)

type BacalhauExecutorOptions

type BacalhauExecutorOptions struct {
	ApiHost               string
	ApiPort               string
	JobStatusPollInterval uint64
}

Jump to

Keyboard shortcuts

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