Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractFilename ¶
ExtractFilename extracts the filename (with extension) from a full file path
func OutputJSON ¶
OutputJSON writes data as formatted JSON to the given writer
func OutputYAML ¶
OutputYAML writes data as formatted YAML to the given writer
Types ¶
type CheckResponse ¶
type CheckResponse struct {
Results map[string]*updater.UpdateResult `json:"results" yaml:"results"`
Summary CheckSummary `json:"summary" yaml:"summary"`
}
CheckResponse wraps check command results with summary metadata
type CheckSummary ¶
type CheckSummary struct {
TotalPackages int `json:"total_packages" yaml:"total_packages"`
UpdatesAvailable int `json:"updates_available" yaml:"updates_available"`
Errors int `json:"errors" yaml:"errors"`
Manual int `json:"manual" yaml:"manual"`
}
CheckSummary provides aggregate statistics for check command
type GoBumpResponse ¶
type GoBumpResponse struct {
Results map[string]*gobump.GoBumpResult `json:"results" yaml:"results"`
Summary GoBumpSummary `json:"summary" yaml:"summary"`
}
GoBumpResponse wraps gobump command results with summary metadata
type GoBumpSummary ¶
type GoBumpSummary struct {
TotalPackages int `json:"total_packages" yaml:"total_packages"`
PackagesWithVulns int `json:"packages_with_vulns" yaml:"packages_with_vulns"`
PackagesFixed int `json:"packages_fixed" yaml:"packages_fixed"`
TotalVulnsFound int `json:"total_vulns_found" yaml:"total_vulns_found"`
TotalVulnsFixed int `json:"total_vulns_fixed" yaml:"total_vulns_fixed"`
Errors int `json:"errors" yaml:"errors"`
}
GoBumpSummary provides aggregate statistics for gobump command
type UpdateResponse ¶
type UpdateResponse struct {
Results map[string]*updater.ApplyResult `json:"results" yaml:"results"`
Summary UpdateSummary `json:"summary" yaml:"summary"`
}
UpdateResponse wraps update command results with summary metadata
type UpdateSummary ¶
type UpdateSummary struct {
TotalPackages int `json:"total_packages" yaml:"total_packages"`
SuccessfulUpdates int `json:"successful_updates" yaml:"successful_updates"`
Errors int `json:"errors" yaml:"errors"`
Manual int `json:"manual" yaml:"manual"`
}
UpdateSummary provides aggregate statistics for update command
Click to show internal directories.
Click to hide internal directories.