Documentation ¶
Index ¶
- type Controller
- func (c *Controller) AddVulnerabilitiesByAuthor(entity *analysis.Analysis) error
- func (c *Controller) AddVulnerabilitiesByLanguage(entity *analysis.Analysis) error
- func (c *Controller) AddVulnerabilitiesByRepository(entity *analysis.Analysis) error
- func (c *Controller) AddVulnerabilitiesByTime(entity *analysis.Analysis) error
- func (c *Controller) GetAllDashboardChartsRepository(filter *dashboard.Filter) (*dashboard.Response, error)
- func (c *Controller) GetAllDashboardChartsWorkspace(filter *dashboard.Filter) (*dashboard.Response, error)
- type IController
- type Mock
- func (m *Mock) AddVulnerabilitiesByAuthor(_ *analysisEntities.Analysis) error
- func (m *Mock) AddVulnerabilitiesByLanguage(_ *analysisEntities.Analysis) error
- func (m *Mock) AddVulnerabilitiesByRepository(_ *analysisEntities.Analysis) error
- func (m *Mock) AddVulnerabilitiesByTime(_ *analysisEntities.Analysis) error
- func (m *Mock) GetAllDashboardChartsRepository(_ *dashboard.Filter) (*dashboard.Response, error)
- func (m *Mock) GetAllDashboardChartsWorkspace(_ *dashboard.Filter) (*dashboard.Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func (*Controller) AddVulnerabilitiesByAuthor ¶
func (c *Controller) AddVulnerabilitiesByAuthor(entity *analysis.Analysis) error
func (*Controller) AddVulnerabilitiesByLanguage ¶
func (c *Controller) AddVulnerabilitiesByLanguage(entity *analysis.Analysis) error
func (*Controller) AddVulnerabilitiesByRepository ¶
func (c *Controller) AddVulnerabilitiesByRepository(entity *analysis.Analysis) error
func (*Controller) AddVulnerabilitiesByTime ¶
func (c *Controller) AddVulnerabilitiesByTime(entity *analysis.Analysis) error
func (*Controller) GetAllDashboardChartsRepository ¶
func (*Controller) GetAllDashboardChartsWorkspace ¶
type IController ¶
type IController interface { GetAllDashboardChartsWorkspace(filter *dashboard.Filter) (*dashboard.Response, error) GetAllDashboardChartsRepository(filter *dashboard.Filter) (*dashboard.Response, error) AddVulnerabilitiesByAuthor(entity *analysis.Analysis) error AddVulnerabilitiesByRepository(entity *analysis.Analysis) error AddVulnerabilitiesByLanguage(entity *analysis.Analysis) error AddVulnerabilitiesByTime(entity *analysis.Analysis) error }
func NewDashboardController ¶
func NewDashboardController(repoRepository repositoriesdashboard.IRepoRepository, workspaceRepository repositoriesdashboard.IWorkspaceRepository, connection *database.Connection, useCases usecasesdashboard.IUseCases) IController
type Mock ¶
func (*Mock) AddVulnerabilitiesByAuthor ¶
func (m *Mock) AddVulnerabilitiesByAuthor(_ *analysisEntities.Analysis) error
func (*Mock) AddVulnerabilitiesByLanguage ¶
func (m *Mock) AddVulnerabilitiesByLanguage(_ *analysisEntities.Analysis) error
func (*Mock) AddVulnerabilitiesByRepository ¶
func (m *Mock) AddVulnerabilitiesByRepository(_ *analysisEntities.Analysis) error
func (*Mock) AddVulnerabilitiesByTime ¶
func (m *Mock) AddVulnerabilitiesByTime(_ *analysisEntities.Analysis) error
func (*Mock) GetAllDashboardChartsRepository ¶
Click to show internal directories.
Click to hide internal directories.