results

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Aggregator

type Aggregator struct{}

Aggregator handles the business logic for PackExecutionResult operations. It provides methods to manipulate pack results without embedding business logic in the data structure itself.

func NewAggregator

func NewAggregator() *Aggregator

NewAggregator creates a new results aggregator

func (*Aggregator) AddHandlerResult

func (a *Aggregator) AddHandlerResult(per *context.PackExecutionResult, result *context.HandlerResult)

AddHandlerResult adds a handler result and updates statistics

func (*Aggregator) CompletePackResult

func (a *Aggregator) CompletePackResult(per *context.PackExecutionResult)

CompletePackResult marks the pack execution as complete

func (*Aggregator) CreatePackResult

func (a *Aggregator) CreatePackResult(pack *types.Pack) *context.PackExecutionResult

CreatePackResult creates a new pack execution result

Jump to

Keyboard shortcuts

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