Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertOutputToMap ¶
Types ¶
type AnalysisInfo ¶
type AnalysisInfo struct {
Status codeclarity.AnalysisStatus `json:"status"`
Errors []exceptions.Error `json:"errors"`
AnalysisStartTime string `json:"analysis_start_time"`
AnalysisEndTime string `json:"analysis_end_time"`
AnalysisDeltaTime float64 `json:"analysis_delta_time"`
VersionSeperator string `json:"version_seperator"`
ImportPathSeperator string `json:"import_path_seperator"`
DefaultWorkspaceName string `json:"default_workspace_name"`
SelfManagedWorkspaceName string `json:"self_managed_workspace_name"`
AnalysisStats AnalysisStats `json:"stats"`
}
type AnalysisStats ¶
type AnalysisStats struct {
NumberOfSpdxLicenses int `json:"number_of_spdx_licenses"`
NumberOfNonSpdxLicenses int `json:"number_of_non_spdx_licenses"`
NumberOfCopyLeftLicenses int `json:"number_of_copy_left_licenses"`
NumberOfPermissiveLicenses int `json:"number_of_permissive_licenses"`
LicenseDist AnalysisStatLicenseSeverityDist `json:"license_dist"`
}
type AnalysisStatus ¶
type AnalysisStatus string
const ( SUCCESS AnalysisStatus = "success" FAILURE AnalysisStatus = "failure" )
type DependencyInfo ¶
type Output ¶
type Output struct {
WorkSpaces map[string]WorkSpaceLicenseInfo `json:"workspaces"`
AnalysisInfo AnalysisInfo `json:"analysis_info"`
}
type WorkSpaceLicenseInfo ¶
Click to show internal directories.
Click to hide internal directories.