record

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2026 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	Command        []string
	IncludeEnvVals bool
	OutputJSON     string
	DBPath         string
	ConfigRunner   config.Runner
	SkipDocker     bool // for tests / environments without a daemon
}

Options configures a recording session.

type Result

type Result struct {
	Run      *model.Run
	ExitCode int
	JSONPath string
}

Result is the outcome of a recording session.

func Run

func Run(ctx context.Context, opts Options) (*Result, error)

Run executes the wrapped command while recording the Compose lifecycle.

Jump to

Keyboard shortcuts

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