viewsrepo

package
v0.3.11 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

package implements repofunctions to get resources for views

Index

Constants

View Source
const (
	ResourceCollectionName = "resources"
)

Variables

This section is empty.

Functions

func GetComplianceReports

func GetComplianceReports(ctx context.Context, clusterId string) ([]viewsmodels.ComplianceReport, error)

func GetComplianceReportsGlobal

func GetComplianceReportsGlobal(ctx context.Context) ([]viewsmodels.ComplianceReport, error)

func GetGlobalViewVulnerabilityReportsById

func GetGlobalViewVulnerabilityReportsById(ctx context.Context, cveId string) ([]viewsmodels.GlobalVulnerabilityReportsViewById, error)

func GetViewVulnerabilityReportsById

func GetViewVulnerabilityReportsById(ctx context.Context, cveId string) ([]viewsmodels.VulnerabilityByIdDB, error)

func GetViewVulnerabilityReportsGlobal

func GetViewVulnerabilityReportsGlobal(ctx context.Context) ([]viewsmodels.VulnerabilityReportsView, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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