Documentation ¶
Index ¶
- func CreateBacalhauClient() (*client.APIClient, error)
- func CreateBacalhauJob(cid, container, cmd, selector string, maxTime, memory int, gpu, network bool, ...) (job *model.Job, err error)
- func CreateBacalhauJobV2(inputs map[string]string, container, selector string, cmd []string, ...) (job *model.Job, err error)
- func DownloadBacalhauResults(dir string, submittedJob *model.Job, results []model.PublishedResult) error
- func GetBacalhauApiHost() string
- func GetBacalhauJobResults(submittedJob *model.Job, showAnimation bool, maxTime int) (results []model.PublishedResult, err error)
- func GetBacalhauJobState(jobId string) (*model.JobWithInfo, error)
- func SubmitBacalhauJob(job *model.Job) (submittedJob *model.Job, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateBacalhauClient ¶
func CreateBacalhauJob ¶
func CreateBacalhauJobV2 ¶ added in v0.11.0
func DownloadBacalhauResults ¶
func GetBacalhauApiHost ¶
func GetBacalhauApiHost() string
func GetBacalhauJobResults ¶
func GetBacalhauJobState ¶ added in v0.11.0
func GetBacalhauJobState(jobId string) (*model.JobWithInfo, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.