Documentation
¶
Index ¶
- Constants
- type BacalhauClient
- type BacalhauExecutor
- func (executor *BacalhauExecutor) GetMachineSpecs() ([]data.MachineSpec, error)
- func (executor *BacalhauExecutor) Id() (string, error)
- func (executor *BacalhauExecutor) IsAvailable() (bool, error)
- func (executor *BacalhauExecutor) Preflight() error
- func (executor *BacalhauExecutor) RunJob(deal data.DealContainer, module data.Module) (*executorlib.ExecutorResults, error)
- type BacalhauExecutorOptions
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 ¶
Click to show internal directories.
Click to hide internal directories.