application

package
v0.53.5 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SubmissionUseCases

type SubmissionUseCases struct {
	StaticFilesRepository   staticFilesDefinitions.StaticFilesRepository
	LaboratoriesRepository  laboratoriesDefinitions.LaboratoriesRepository
	BlocksRepository        blocksDefinitions.BlockRepository
	SubmissionsRepository   definitions.SubmissionsRepository
	SubmissionsQueueManager definitions.SubmissionsQueueManager
}

func (*SubmissionUseCases) CanStudentSubmitToTestBlock

func (useCases *SubmissionUseCases) CanStudentSubmitToTestBlock(studentUUID string, testBlockUUID string) (bool, error)

func (*SubmissionUseCases) GetSubmissionArchive added in v0.51.0

func (useCases *SubmissionUseCases) GetSubmissionArchive(dto *dtos.GetSubmissionArchiveDTO) ([]byte, error)

GetSubmissionArchive Use case to return the bytes of the `zip` archive of a submission

func (*SubmissionUseCases) GetSubmissionStatus added in v0.42.0

func (useCases *SubmissionUseCases) GetSubmissionStatus(studentUUID, testBlockUUID string) (*dtos.SubmissionStatusUpdateDTO, error)

func (*SubmissionUseCases) SaveSubmission

func (useCases *SubmissionUseCases) SaveSubmission(dto *dtos.CreateSubmissionDTO) (string, error)

Jump to

Keyboard shortcuts

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