workflows

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PendingStatus        = "pending"
	RunningStatus        = "running"
	FinishedStatus       = "finished"
	RollbackedStatus     = "rollbacked"
	FailedRollbackStatus = "failed_rollback"
)

Variables

This section is empty.

Functions

func Create

func Create(tx *sql.Tx, name string) (int64, error)

func CreateTable

func CreateTable(db *sql.Tx) error

func GetLastStatus

func GetLastStatus(db *sql.DB, name string) (*string, error)

func UpdateStatus

func UpdateStatus(db *sql.DB, workflow int64, status string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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