Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FailureOutput ¶
FailureOutput generates the output for a failed analysis. It takes the sbomAnalysisInfo and start time as input parameters. It returns an instance of patchingTypes.Output.
func SuccessOutput ¶
func SuccessOutput(workspaceData map[string]patching.Workspace, sbomAnalysisInfo sbomTypes.AnalysisInfo, start time.Time) patching.Output
SuccessOutput generates the output for a successful analysis. It takes in the workspaceData, analysisStats, sbomAnalysisInfo, and start time as parameters. It returns a patchingTypes.Output struct containing the workspace data, analysis information, and timing details.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.