Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DAO ¶
type DAO interface { // Set creates or updates the CVE allowlist to DB based on the project ID in the input parm, if the project does not // have a CVE allowlist, an empty allowlist will be created. The project ID should be 0 for system level CVE allowlist Set(ctx context.Context, l models.CVEAllowlist) (int64, error) // QueryByProjectID returns the CVE allowlist of the project based on the project ID in parameter. The project ID should be 0 // for system level CVE allowlist QueryByProjectID(ctx context.Context, pid int64) (*models.CVEAllowlist, error) }
DAO is the data access object interface for CVE allowlist
Click to show internal directories.
Click to hide internal directories.