statistics

package
v0.5.15 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2024 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDaemon

func NewDaemon(assetRepo assetRepository, statisticsService statisticsService) daemon

func NewHttpController

func NewHttpController(statisticsService statisticsService, assetRepository assetRepository, projectService projectService) *httpController

func NewService

func NewService(statisticsRepository statisticsRepository, componentRepository componentRepository, assetRiskHistoryRepository assetRiskHistoryRepository, flawRepository flawRepository, assetRepository assetRepository, projectRepository projectRepository, projectRiskHistoryRepository projectRiskHistoryRepository) *service

Types

type AssetRiskHistory

type AssetRiskHistory struct {
	Asset       models.Asset              `json:"asset"`
	RiskHistory []models.AssetRiskHistory `json:"riskHistory"`
}

type FlawAggregationState

type FlawAggregationState struct {
	Open  int `json:"open"`
	Fixed int `json:"fixed"`
}

type FlawAggregationStateAndChange

type FlawAggregationStateAndChange struct {
	Now FlawAggregationState `json:"now"`
	Was FlawAggregationState `json:"was"`
}

type ProjectRiskHistory

type ProjectRiskHistory struct {
	Project     models.Project              `json:"project"`
	RiskHistory []models.ProjectRiskHistory `json:"riskHistory"`
}

Jump to

Keyboard shortcuts

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