postexecchecks

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2026 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DEFAULT_EXPECTED_EXIT_CODE = 0
)
View Source
const (
	DEFAULT_SQL_DRIVER_NAME = "pgx"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type PostExecCheck

type PostExecCheck interface {
	Check() (bool, error)
}

func NewPostExecCheck

func NewPostExecCheck(dto *parser.PostExecCheckDTO, baseDir string, ctx context.Context) (PostExecCheck, error)

func NewPostExecChecks

func NewPostExecChecks(dtos []*parser.PostExecCheckDTO, baseDir string, ctx context.Context) ([]PostExecCheck, error)

type SQLPostExecCheck

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

func NewSQLPostExecCheck

func NewSQLPostExecCheck(dto *parser.PostExecCheckDTO, ctx context.Context) (*SQLPostExecCheck, error)

func (*SQLPostExecCheck) Check

func (s *SQLPostExecCheck) Check() (bool, error)

type ShellPostExecCheck

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

func NewShellPostExecCheck

func NewShellPostExecCheck(dto *parser.PostExecCheckDTO, baseDir string, ctx context.Context) (*ShellPostExecCheck, error)

func (*ShellPostExecCheck) Check

func (s *ShellPostExecCheck) Check() (bool, error)

Jump to

Keyboard shortcuts

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