vulnerability

package
v0.0.0-...-f5a16a3 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewController

func NewController(handler Handler) api.Controller

NewController Constructor

Types

type Handler

type Handler interface {
	GetApplicationVulnerabilitySummaries(ctx context.Context, user *models.User, appName string) (apiModels.ApplicationVulnerabilities, error)
	GetEnvironmentVulnerabilitySummary(ctx context.Context, user *models.User, appName, envName string) (*apiModels.EnvironmentVulnerabilities, error)
	GetComponentVulnerabilities(ctx context.Context, user *models.User, appName, envName, componentName string) (*apiModels.ImageWithLastScan, error)
	GetJobVulnerabilities(ctx context.Context, user *models.User, appName, envName, jobName string) (*apiModels.ImageWithLastScan, error)
}

func NewHandler

func NewHandler(radixapi service.RadixAPIService, repo repository.Interface) Handler

NewHandler Constructor

Directories

Path Synopsis
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.

Jump to

Keyboard shortcuts

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