dashboard

package
v0.0.0-...-46e61fc Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IUseCases

type IUseCases interface {
	FilterFromRequest(request *http.Request) (*dashboard.Filter, error)
	ParseAnalysisToVulnerabilitiesByAuthor(entity *analysis.Analysis) []*dashboard.VulnerabilitiesByAuthor
	ParseAnalysisToVulnerabilitiesByRepository(entity *analysis.Analysis) []*dashboard.VulnerabilitiesByRepository
	ParseAnalysisToVulnerabilitiesByLanguage(entity *analysis.Analysis) []*dashboard.VulnerabilitiesByLanguage
	ParseAnalysisToVulnerabilitiesByTime(entity *analysis.Analysis) *dashboard.VulnerabilitiesByTime
}

func NewUseCaseDashboard

func NewUseCaseDashboard() IUseCases

type UseCases

type UseCases struct{}

func (*UseCases) FilterFromRequest

func (u *UseCases) FilterFromRequest(request *http.Request) (*dashboard.Filter, error)

func (*UseCases) ParseAnalysisToVulnerabilitiesByAuthor

func (u *UseCases) ParseAnalysisToVulnerabilitiesByAuthor(
	entity *analysis.Analysis) []*dashboard.VulnerabilitiesByAuthor

func (*UseCases) ParseAnalysisToVulnerabilitiesByLanguage

func (u *UseCases) ParseAnalysisToVulnerabilitiesByLanguage(
	entity *analysis.Analysis) []*dashboard.VulnerabilitiesByLanguage

func (*UseCases) ParseAnalysisToVulnerabilitiesByRepository

func (u *UseCases) ParseAnalysisToVulnerabilitiesByRepository(
	entity *analysis.Analysis) []*dashboard.VulnerabilitiesByRepository

func (*UseCases) ParseAnalysisToVulnerabilitiesByTime

func (u *UseCases) ParseAnalysisToVulnerabilitiesByTime(
	entity *analysis.Analysis) *dashboard.VulnerabilitiesByTime

Jump to

Keyboard shortcuts

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