sqlite_execution_repository

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2024 License: Apache-2.0 Imports: 9 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 SqliteExecutionRepository

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

func (*SqliteExecutionRepository) CloseExecution

func (*SqliteExecutionRepository) CreateExecution

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

func (*SqliteExecutionRepository) GetExecution

func (*SqliteExecutionRepository) Init

Jump to

Keyboard shortcuts

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