apply

package
v1.3.13 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func File

func File(ctx context.Context, d *db.DB, p Pending, st *steps.Step, dbDir, toolVersion, executedBy, host, database string) error

File runs a single pending file via psql with the step's `pre` SQL prefix.

func FileRel

func FileRel(stepsCfg *steps.Config, fp string, dbDir string) (*steps.Step, error)

Types

type Pending

type Pending struct {
	ID       int
	FilePath string
	FileName string
	StepName string
	StepType string
	Slug     string
	Version  *string
	Sha      string
	Size     int64
	Position int
}

func ListPending

func ListPending(ctx context.Context, d *db.DB) ([]Pending, error)

Jump to

Keyboard shortcuts

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