workflow

package
v0.0.0-...-b8497f2 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

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

Manager coordinates the workflow pipeline.

func NewManager

NewManager creates a new WorkflowManager.

func (*Manager) Run

func (m *Manager) Run(ctx context.Context, cfg WorkflowConfig) error

Run executes the full 4-phase pipeline.

type PipelineStatus

type PipelineStatus struct {
	CurrentPhase string
	Error        error
}

PipelineStatus tracks the progress of the workflow.

type WorkflowConfig

type WorkflowConfig struct {
	// Paths
	InputTracePath  string `yaml:"input_trace_path"`
	InputSchemaPath string `yaml:"input_schema_path"`
	OutputDir       string `yaml:"output_dir"`

	// Settings
	TargetPlugin string `yaml:"target_plugin"`
	ReportStyle  string `yaml:"report_style"` // html, json

	// Phase Configs
	Generation generation.GenerateRequest `yaml:"generation"`
	Execution  execution.ExecutionConfig  `yaml:"execution"`

	// Validation
	BaselineMetricsPath string `yaml:"baseline_metrics_path"`
}

WorkflowConfig defines the configuration for the full pipeline.

Jump to

Keyboard shortcuts

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