Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ExecTemplates embed.FS
Functions ¶
This section is empty.
Types ¶
type ExecutionRequest ¶
type ExecutionRequest struct {
Flake string
Code string
LangNixPkg string
Language string
LangVersion int64
Template string
LanguageDependencies []string
SystemDependencies []string
CmdLineArgs string
CompilerArgs string
Input string
Command string
Setup string
SystemSetup string
PkgIndex string
// internal variables used for converting this to flake or script
IsFlake bool
ScriptName string
}
func ConvertExecSpecToNixScript ¶
func ConvertExecSpecToNixScript(ctx context.Context, execReq *db.ExecRequest, queries db.Store) (string, *ExecutionRequest, error)
type ExecutionService ¶
type ExecutionService struct {
// contains filtered or unexported fields
}
func NewExecutionService ¶
func (*ExecutionService) AddJob ¶
func (s *ExecutionService) AddJob(ctx context.Context, req *api.ExecutionRequest) (int64, error)
func (*ExecutionService) CheckExecRequest ¶
func (s *ExecutionService) CheckExecRequest(ctx context.Context, req *api.ExecutionRequest) ([]string, error)
Click to show internal directories.
Click to hide internal directories.