compiler

package
v0.0.0-...-0ea846c Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TemporalCompiler

type TemporalCompiler struct {
	TemporalClient client.Client
}

TemporalCompiler is the service that handles the temporal compiler

func NewTemporalCompiler

func NewTemporalCompiler(c client.Client) *TemporalCompiler

NewTemporalCompiler creates a new temporal compiler

func (TemporalCompiler) GetCompilationStatus

func (c TemporalCompiler) GetCompilationStatus(execution *dbmodels.Execution) (*model.ExecutionResult, error)

GetCompilationStatus retrieves the status of the compilation from the Temporal workflow

func (TemporalCompiler) RunCompileWorker

func (c TemporalCompiler) RunCompileWorker(execution model.NewExecution) TemporalExecution

RunCompileWorker runs starts a mew Temporal Workflow that will compile and execute the code

type TemporalExecution

type TemporalExecution struct {
	WorkflowID string
	RunID      string
}

TemporalExecution is the struct that contains the temporal execution information

Jump to

Keyboard shortcuts

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