Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExecutionService ¶
type ExecutionService struct {
*database.PostgresDBAccess
}
ExecutionService is the service that handles the code executions of the application
func NewExecutionService ¶
func NewExecutionService(db *database.PostgresDBAccess) *ExecutionService
NewExecutionService creates a new execution service
func (ExecutionService) CreateExecution ¶
func (e ExecutionService) CreateExecution(input model.NewExecution, temporalExec compiler.TemporalExecution) (*dbmodels.Execution, error)
CreateExecution creates a new execution in the database
func (ExecutionService) GetExecution ¶
func (e ExecutionService) GetExecution(id string) (*dbmodels.Execution, error)
GetExecution retrieves a single execution from the database
func (ExecutionService) GetExecutions ¶
func (e ExecutionService) GetExecutions() ([]dbmodels.Execution, error)
GetExecutions retrieves all the executions from the database
Click to show internal directories.
Click to hide internal directories.