runner

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2026 License: Apache-2.0 Imports: 19 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 {
	CogBinary   string
	SDKVersion  string
	SDKWheel    string
	FixturesDir string
	CleanImages bool
	KeepOutputs bool
}

Options configures a Runner.

type Runner

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

Runner orchestrates the test lifecycle

func New

func New(opts Options) (*Runner, error)

New creates a new Runner

func (*Runner) BuildModel

func (r *Runner) BuildModel(ctx context.Context, model manifest.Model) *report.ModelResult

BuildModel builds a model image only

func (*Runner) Cleanup

func (r *Runner) Cleanup() error

Cleanup removes temp directories and Docker images

func (*Runner) CompareSchema

func (r *Runner) CompareSchema(ctx context.Context, model manifest.Model) *report.SchemaCompareResult

CompareSchema builds model twice and compares schemas

func (*Runner) RunModel

func (r *Runner) RunModel(ctx context.Context, model manifest.Model) *report.ModelResult

RunModel runs all tests for a single model

Jump to

Keyboard shortcuts

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