sql_execution_repository

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type ExecutionSqlRecord

type ExecutionSqlRecord struct {
	Identifier string     `db:"identifier"`
	Workflow   string     `db:"workflow"`
	Status     string     `db:"status"`
	CreatedAt  time.Time  `db:"created_at"`
	UpdatedAt  time.Time  `db:"updated_at"`
	FinishedAt *time.Time `db:"finished_at"`
	Results    *string    `db:"results"`
}

func (*ExecutionSqlRecord) ToExecution

func (n *ExecutionSqlRecord) ToExecution() *workflow.Execution

type SqlExecutionRepository

type SqlExecutionRepository struct {
	// contains filtered or unexported fields
}

func (*SqlExecutionRepository) Close

func (r *SqlExecutionRepository) Close()

func (*SqlExecutionRepository) CloseExecution

func (*SqlExecutionRepository) CreateExecution

func (r *SqlExecutionRepository) CreateExecution(ctx context.Context, ex *workflow.Execution) error

func (*SqlExecutionRepository) GetExecution

func (*SqlExecutionRepository) Init

Jump to

Keyboard shortcuts

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