job

package
v0.0.0-...-da65128 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteJob

func DeleteJob(ctx context.Context, c *app.RequestContext)

DeleteJob . @router /v1/job/delete/ [POST]

func DownloadJobOutput

func DownloadJobOutput(ctx context.Context, c *app.RequestContext)

DownloadJobOutput . @router /v1/job/file/download/ [POST]

func QueryJob

func QueryJob(ctx context.Context, c *app.RequestContext)

QueryJob . @router /v1/job/query/ [POST]

func QueryJobAttestationReport

func QueryJobAttestationReport(ctx context.Context, c *app.RequestContext)

QueryJobAttestationReport . @router /v1/job/attestation/ [POST]

func QueryJobOutputAttr

func QueryJobOutputAttr(ctx context.Context, c *app.RequestContext)

QueryJobOutputAttr . @router /v1/job/file/attrs/ [POST]

func SubmitJob

func SubmitJob(ctx context.Context, c *app.RequestContext)

CreateJob . @router /v1/job/submit/ [POST]

Types

type FileParas

type FileParas struct {
	FileHeader      *multipart.FileHeader `form:"file"`
	Creator         string                `form:"creator"`
	Envs            []*job.Env            `form:"envs"`
	JupyterFileName string                `form:"filename"`
	AccessToken     string                `header:"Authorization,required"`
}

Jump to

Keyboard shortcuts

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