outputGenerator

package
v0.0.17-alpha Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2025 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FailureOutput

func FailureOutput(sbomAnalysisInfo sbomTypes.AnalysisInfo, start time.Time) patching.Output

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.

Jump to

Keyboard shortcuts

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