Documentation
¶
Overview ¶
Package processor handles the processing of tool installations and management.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorDetail ¶ added in v0.1.15
ErrorDetail contains detailed error information for a failed tool.
type Processor ¶
type Processor struct {
Options []tool.ResolveOption
NoDownload bool
// contains filtered or unexported fields
}
Processor is a thin orchestrator that coordinates tool processing.
type Result ¶ added in v0.1.15
type Result struct {
Error error
Tool *tool.Tool
Metadata map[string]any
Message string
Status Status
}
Result represents the outcome of a tool operation.
type Status ¶ added in v0.1.15
type Status int
Status represents the possible states of a tool operation.
type Summary ¶ added in v0.1.15
type Summary struct {
Results []Result
Errors []ErrorDetail
Total int
Successful int
Failed int
Skipped int
}
Summary provides an aggregated view of all results.
func (Summary) DetailedError ¶ added in v0.1.15
DetailedError returns a detailed error with all failure messages.
Click to show internal directories.
Click to hide internal directories.