bacalhau

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateBacalhauClient

func CreateBacalhauClient() (*client.APIClient, error)

func CreateBacalhauJob

func CreateBacalhauJob(cid, container, cmd, selector string, maxTime, memory int, gpu, network bool, annotations []string) (job *model.Job, err error)

func CreateBacalhauJobV2 added in v0.11.0

func CreateBacalhauJobV2(inputs map[string]string, container, selector string, cmd []string, maxTime, memory int, gpu, network bool, annotations []string) (job *model.Job, err error)

func DownloadBacalhauResults

func DownloadBacalhauResults(dir string, submittedJob *model.Job, results []model.PublishedResult) error

func GetBacalhauApiHost

func GetBacalhauApiHost() string

func GetBacalhauJobResults

func GetBacalhauJobResults(submittedJob *model.Job, showAnimation bool, maxTime int) (results []model.PublishedResult, err error)

func GetBacalhauJobState added in v0.11.0

func GetBacalhauJobState(jobId string) (*model.JobWithInfo, error)

func SubmitBacalhauJob

func SubmitBacalhauJob(job *model.Job) (submittedJob *model.Job, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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