Documentation ¶
Index ¶
- type RuntimeScan
- type Server
- func (s *Server) CreateApplication(params operations.PostApplicationsParams) middleware.Responder
- func (s *Server) DeleteApplication(id string) middleware.Responder
- func (s *Server) GetApplication(id string) middleware.Responder
- func (s *Server) GetApplicationResource(id string) middleware.Responder
- func (s *Server) GetApplicationResources(params operations.GetApplicationResourcesParams) middleware.Responder
- func (s *Server) GetApplications(params operations.GetApplicationsParams) middleware.Responder
- func (s *Server) GetDashboardCounters(_ operations.GetDashboardCountersParams) middleware.Responder
- func (s *Server) GetDashboardMostVulnerable(_ operations.GetDashboardMostVulnerableParams) middleware.Responder
- func (s *Server) GetDashboardPackagesPerLanguage(_ operations.GetDashboardPackagesPerLanguageParams) middleware.Responder
- func (s *Server) GetDashboardPackagesPerLicense(_ operations.GetDashboardPackagesPerLicenseParams) middleware.Responder
- func (s *Server) GetDashboardTrendsVulnerabilities(params operations.GetDashboardTrendsVulnerabilitiesParams) middleware.Responder
- func (s *Server) GetDashboardVulnerabilitiesWithFix(_ operations.GetDashboardVulnerabilitiesWithFixParams) middleware.Responder
- func (s *Server) GetNamespaceList() ([]string, error)
- func (s *Server) GetNamespaces(_ operations.GetNamespacesParams) middleware.Responder
- func (s *Server) GetPackage(id string) middleware.Responder
- func (s *Server) GetPackageApplicationResources(params operations.GetPackagesIDApplicationResourcesParams) middleware.Responder
- func (s *Server) GetPackages(params operations.GetPackagesParams) middleware.Responder
- func (s *Server) GetRuntimeQuickScanConfig(_ operations.GetRuntimeQuickscanConfigParams) middleware.Responder
- func (s *Server) GetRuntimeScanProgress(_ operations.GetRuntimeScanProgressParams) middleware.Responder
- func (s *Server) GetRuntimeScanResults(params operations.GetRuntimeScanResultsParams) middleware.Responder
- func (s *Server) GetState() *State
- func (s *Server) GetVulnerabilities(params operations.GetVulnerabilitiesParams) middleware.Responder
- func (s *Server) GetVulnerabilitiesVulIDPkgID(vulID, pkgID string) middleware.Responder
- func (s *Server) PostApplicationsContentAnalysis(params operations.PostApplicationsContentAnalysisIDParams) middleware.Responder
- func (s *Server) PostApplicationsVulnerabilityScan(params operations.PostApplicationsVulnerabilityScanIDParams) middleware.Responder
- func (s *Server) PutRuntimeQuickScanConfig(params operations.PutRuntimeQuickscanConfigParams) middleware.Responder
- func (s *Server) PutRuntimeScanStart(params operations.PutRuntimeScanStartParams) middleware.Responder
- func (s *Server) PutRuntimeScanStop(_ operations.PutRuntimeScanStopParams) middleware.Responder
- func (s *Server) SetState(state *State)
- func (s *Server) Start(errChan chan struct{})
- func (s *Server) Stop()
- func (s *Server) UpdateApplication(params operations.PutApplicationsIDParams) middleware.Responder
- type State
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RuntimeScan ¶
type RuntimeScan struct { State // contains filtered or unexported fields }
type Server ¶
type Server struct { RuntimeScan // contains filtered or unexported fields }
func CreateRESTServer ¶
func CreateRESTServer(port int, dbHandler *database.Handler, scanner orchestrator.VulnerabilitiesScanner, clientset kubernetes.Interface) (*Server, error)
func (*Server) CreateApplication ¶
func (s *Server) CreateApplication(params operations.PostApplicationsParams) middleware.Responder
func (*Server) DeleteApplication ¶
func (s *Server) DeleteApplication(id string) middleware.Responder
func (*Server) GetApplication ¶
func (s *Server) GetApplication(id string) middleware.Responder
func (*Server) GetApplicationResource ¶
func (s *Server) GetApplicationResource(id string) middleware.Responder
func (*Server) GetApplicationResources ¶
func (s *Server) GetApplicationResources(params operations.GetApplicationResourcesParams) middleware.Responder
func (*Server) GetApplications ¶
func (s *Server) GetApplications(params operations.GetApplicationsParams) middleware.Responder
func (*Server) GetDashboardCounters ¶
func (s *Server) GetDashboardCounters(_ operations.GetDashboardCountersParams) middleware.Responder
func (*Server) GetDashboardMostVulnerable ¶
func (s *Server) GetDashboardMostVulnerable(_ operations.GetDashboardMostVulnerableParams) middleware.Responder
func (*Server) GetDashboardPackagesPerLanguage ¶
func (s *Server) GetDashboardPackagesPerLanguage(_ operations.GetDashboardPackagesPerLanguageParams) middleware.Responder
func (*Server) GetDashboardPackagesPerLicense ¶
func (s *Server) GetDashboardPackagesPerLicense(_ operations.GetDashboardPackagesPerLicenseParams) middleware.Responder
func (*Server) GetDashboardTrendsVulnerabilities ¶
func (s *Server) GetDashboardTrendsVulnerabilities(params operations.GetDashboardTrendsVulnerabilitiesParams) middleware.Responder
func (*Server) GetDashboardVulnerabilitiesWithFix ¶
func (s *Server) GetDashboardVulnerabilitiesWithFix(_ operations.GetDashboardVulnerabilitiesWithFixParams) middleware.Responder
func (*Server) GetNamespaceList ¶
func (*Server) GetNamespaces ¶
func (s *Server) GetNamespaces(_ operations.GetNamespacesParams) middleware.Responder
func (*Server) GetPackage ¶
func (s *Server) GetPackage(id string) middleware.Responder
func (*Server) GetPackageApplicationResources ¶
func (s *Server) GetPackageApplicationResources(params operations.GetPackagesIDApplicationResourcesParams) middleware.Responder
func (*Server) GetPackages ¶
func (s *Server) GetPackages(params operations.GetPackagesParams) middleware.Responder
func (*Server) GetRuntimeQuickScanConfig ¶
func (s *Server) GetRuntimeQuickScanConfig(_ operations.GetRuntimeQuickscanConfigParams) middleware.Responder
func (*Server) GetRuntimeScanProgress ¶
func (s *Server) GetRuntimeScanProgress(_ operations.GetRuntimeScanProgressParams) middleware.Responder
func (*Server) GetRuntimeScanResults ¶
func (s *Server) GetRuntimeScanResults(params operations.GetRuntimeScanResultsParams) middleware.Responder
func (*Server) GetVulnerabilities ¶
func (s *Server) GetVulnerabilities(params operations.GetVulnerabilitiesParams) middleware.Responder
func (*Server) GetVulnerabilitiesVulIDPkgID ¶
func (s *Server) GetVulnerabilitiesVulIDPkgID(vulID, pkgID string) middleware.Responder
func (*Server) PostApplicationsContentAnalysis ¶
func (s *Server) PostApplicationsContentAnalysis(params operations.PostApplicationsContentAnalysisIDParams) middleware.Responder
func (*Server) PostApplicationsVulnerabilityScan ¶
func (s *Server) PostApplicationsVulnerabilityScan(params operations.PostApplicationsVulnerabilityScanIDParams) middleware.Responder
func (*Server) PutRuntimeQuickScanConfig ¶
func (s *Server) PutRuntimeQuickScanConfig(params operations.PutRuntimeQuickscanConfigParams) middleware.Responder
func (*Server) PutRuntimeScanStart ¶
func (s *Server) PutRuntimeScanStart(params operations.PutRuntimeScanStartParams) middleware.Responder
func (*Server) PutRuntimeScanStop ¶
func (s *Server) PutRuntimeScanStop(_ operations.PutRuntimeScanStopParams) middleware.Responder
func (*Server) UpdateApplication ¶
func (s *Server) UpdateApplication(params operations.PutApplicationsIDParams) middleware.Responder
Click to show internal directories.
Click to hide internal directories.