shared

package
v0.0.0-...-c6dbdfa Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SubmissionAMQPWorkerRequest

type SubmissionAMQPWorkerRequest struct {
	SubmissionID      int64     `json:"submission_id"`
	AccessToken       string    `json:"access_token"`
	FrameworkFileURL  string    `json:"framework_file_url"`
	SubmissionFileURL string    `json:"submission_file_url"`
	ResultEndpointURL string    `json:"result_endpoint_url"`
	DockerImage       string    `json:"docker_image"`
	Sha256            string    `json:"sha_256"`
	EnqueuedAt        time.Time `json:"enqueued_at"`
}

SubmissionAMQPWorkerRequest is the message which is handed over to the background workers

func NewSubmissionAMQPWorkerRequest

func NewSubmissionAMQPWorkerRequest(
	courseID int64, taskID int64, submissionID int64, gradeID int64,
	accessToken string, url string, dockerimage string, sha256 string, visibility string) *SubmissionAMQPWorkerRequest

NewSubmissionAMQPWorkerRequest creates a new message for the workers

Jump to

Keyboard shortcuts

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