Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CountErrors ¶
CountErrors returns the number of failed results.
func ErrorSummary ¶
ErrorSummary returns a summary of all errors.
Types ¶
type Executor ¶
type Executor struct {
// contains filtered or unexported fields
}
Executor runs tasks in parallel with bounded concurrency.
type Result ¶
type Result struct {
// RepoName is the name of the repo this result belongs to.
RepoName string `json:"repo"`
// Success indicates if the task succeeded.
Success bool `json:"success"`
// Output contains any output from the task.
Output string `json:"output,omitempty"`
// Error contains the error message if the task failed.
Error string `json:"error,omitempty"`
// Data holds arbitrary result data.
Data any `json:"data,omitempty"`
}
Result represents the outcome of a task execution.
Click to show internal directories.
Click to hide internal directories.