certifyvuln

package
v0.12.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the certifyvuln type in the database.
	Label = "certify_vuln"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldVulnerabilityID holds the string denoting the vulnerability_id field in the database.
	FieldVulnerabilityID = "vulnerability_id"
	// FieldPackageID holds the string denoting the package_id field in the database.
	FieldPackageID = "package_id"
	// FieldTimeScanned holds the string denoting the time_scanned field in the database.
	FieldTimeScanned = "time_scanned"
	// FieldDbURI holds the string denoting the db_uri field in the database.
	FieldDbURI = "db_uri"
	// FieldDbVersion holds the string denoting the db_version field in the database.
	FieldDbVersion = "db_version"
	// FieldScannerURI holds the string denoting the scanner_uri field in the database.
	FieldScannerURI = "scanner_uri"
	// FieldScannerVersion holds the string denoting the scanner_version field in the database.
	FieldScannerVersion = "scanner_version"
	// FieldOrigin holds the string denoting the origin field in the database.
	FieldOrigin = "origin"
	// FieldCollector holds the string denoting the collector field in the database.
	FieldCollector = "collector"
	// FieldDocumentRef holds the string denoting the document_ref field in the database.
	FieldDocumentRef = "document_ref"
	// EdgeVulnerability holds the string denoting the vulnerability edge name in mutations.
	EdgeVulnerability = "vulnerability"
	// EdgePackage holds the string denoting the package edge name in mutations.
	EdgePackage = "package"
	// Table holds the table name of the certifyvuln in the database.
	Table = "certify_vulns"
	// VulnerabilityTable is the table that holds the vulnerability relation/edge.
	VulnerabilityTable = "certify_vulns"
	// VulnerabilityInverseTable is the table name for the VulnerabilityID entity.
	// It exists in this package in order to avoid circular dependency with the "vulnerabilityid" package.
	VulnerabilityInverseTable = "vulnerability_ids"
	// VulnerabilityColumn is the table column denoting the vulnerability relation/edge.
	VulnerabilityColumn = "vulnerability_id"
	// PackageTable is the table that holds the package relation/edge.
	PackageTable = "certify_vulns"
	// PackageInverseTable is the table name for the PackageVersion entity.
	// It exists in this package in order to avoid circular dependency with the "packageversion" package.
	PackageInverseTable = "package_versions"
	// PackageColumn is the table column denoting the package relation/edge.
	PackageColumn = "package_id"
)

Variables

Columns holds all SQL columns for certifyvuln fields.

View Source
var (
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() uuid.UUID
)

Functions

func And

func And(predicates ...predicate.CertifyVuln) predicate.CertifyVuln

And groups predicates with the AND operator between them.

func Collector

func Collector(v string) predicate.CertifyVuln

Collector applies equality check predicate on the "collector" field. It's identical to CollectorEQ.

func CollectorContains

func CollectorContains(v string) predicate.CertifyVuln

CollectorContains applies the Contains predicate on the "collector" field.

func CollectorContainsFold

func CollectorContainsFold(v string) predicate.CertifyVuln

CollectorContainsFold applies the ContainsFold predicate on the "collector" field.

func CollectorEQ

func CollectorEQ(v string) predicate.CertifyVuln

CollectorEQ applies the EQ predicate on the "collector" field.

func CollectorEqualFold

func CollectorEqualFold(v string) predicate.CertifyVuln

CollectorEqualFold applies the EqualFold predicate on the "collector" field.

func CollectorGT

func CollectorGT(v string) predicate.CertifyVuln

CollectorGT applies the GT predicate on the "collector" field.

func CollectorGTE

func CollectorGTE(v string) predicate.CertifyVuln

CollectorGTE applies the GTE predicate on the "collector" field.

func CollectorHasPrefix

func CollectorHasPrefix(v string) predicate.CertifyVuln

CollectorHasPrefix applies the HasPrefix predicate on the "collector" field.

func CollectorHasSuffix

func CollectorHasSuffix(v string) predicate.CertifyVuln

CollectorHasSuffix applies the HasSuffix predicate on the "collector" field.

func CollectorIn

func CollectorIn(vs ...string) predicate.CertifyVuln

CollectorIn applies the In predicate on the "collector" field.

func CollectorLT

func CollectorLT(v string) predicate.CertifyVuln

CollectorLT applies the LT predicate on the "collector" field.

func CollectorLTE

func CollectorLTE(v string) predicate.CertifyVuln

CollectorLTE applies the LTE predicate on the "collector" field.

func CollectorNEQ

func CollectorNEQ(v string) predicate.CertifyVuln

CollectorNEQ applies the NEQ predicate on the "collector" field.

func CollectorNotIn

func CollectorNotIn(vs ...string) predicate.CertifyVuln

CollectorNotIn applies the NotIn predicate on the "collector" field.

func DbURI

func DbURI(v string) predicate.CertifyVuln

DbURI applies equality check predicate on the "db_uri" field. It's identical to DbURIEQ.

func DbURIContains

func DbURIContains(v string) predicate.CertifyVuln

DbURIContains applies the Contains predicate on the "db_uri" field.

func DbURIContainsFold

func DbURIContainsFold(v string) predicate.CertifyVuln

DbURIContainsFold applies the ContainsFold predicate on the "db_uri" field.

func DbURIEQ

func DbURIEQ(v string) predicate.CertifyVuln

DbURIEQ applies the EQ predicate on the "db_uri" field.

func DbURIEqualFold

func DbURIEqualFold(v string) predicate.CertifyVuln

DbURIEqualFold applies the EqualFold predicate on the "db_uri" field.

func DbURIGT

func DbURIGT(v string) predicate.CertifyVuln

DbURIGT applies the GT predicate on the "db_uri" field.

func DbURIGTE

func DbURIGTE(v string) predicate.CertifyVuln

DbURIGTE applies the GTE predicate on the "db_uri" field.

func DbURIHasPrefix

func DbURIHasPrefix(v string) predicate.CertifyVuln

DbURIHasPrefix applies the HasPrefix predicate on the "db_uri" field.

func DbURIHasSuffix

func DbURIHasSuffix(v string) predicate.CertifyVuln

DbURIHasSuffix applies the HasSuffix predicate on the "db_uri" field.

func DbURIIn

func DbURIIn(vs ...string) predicate.CertifyVuln

DbURIIn applies the In predicate on the "db_uri" field.

func DbURILT

func DbURILT(v string) predicate.CertifyVuln

DbURILT applies the LT predicate on the "db_uri" field.

func DbURILTE

func DbURILTE(v string) predicate.CertifyVuln

DbURILTE applies the LTE predicate on the "db_uri" field.

func DbURINEQ

func DbURINEQ(v string) predicate.CertifyVuln

DbURINEQ applies the NEQ predicate on the "db_uri" field.

func DbURINotIn

func DbURINotIn(vs ...string) predicate.CertifyVuln

DbURINotIn applies the NotIn predicate on the "db_uri" field.

func DbVersion

func DbVersion(v string) predicate.CertifyVuln

DbVersion applies equality check predicate on the "db_version" field. It's identical to DbVersionEQ.

func DbVersionContains

func DbVersionContains(v string) predicate.CertifyVuln

DbVersionContains applies the Contains predicate on the "db_version" field.

func DbVersionContainsFold

func DbVersionContainsFold(v string) predicate.CertifyVuln

DbVersionContainsFold applies the ContainsFold predicate on the "db_version" field.

func DbVersionEQ

func DbVersionEQ(v string) predicate.CertifyVuln

DbVersionEQ applies the EQ predicate on the "db_version" field.

func DbVersionEqualFold

func DbVersionEqualFold(v string) predicate.CertifyVuln

DbVersionEqualFold applies the EqualFold predicate on the "db_version" field.

func DbVersionGT

func DbVersionGT(v string) predicate.CertifyVuln

DbVersionGT applies the GT predicate on the "db_version" field.

func DbVersionGTE

func DbVersionGTE(v string) predicate.CertifyVuln

DbVersionGTE applies the GTE predicate on the "db_version" field.

func DbVersionHasPrefix

func DbVersionHasPrefix(v string) predicate.CertifyVuln

DbVersionHasPrefix applies the HasPrefix predicate on the "db_version" field.

func DbVersionHasSuffix

func DbVersionHasSuffix(v string) predicate.CertifyVuln

DbVersionHasSuffix applies the HasSuffix predicate on the "db_version" field.

func DbVersionIn

func DbVersionIn(vs ...string) predicate.CertifyVuln

DbVersionIn applies the In predicate on the "db_version" field.

func DbVersionLT

func DbVersionLT(v string) predicate.CertifyVuln

DbVersionLT applies the LT predicate on the "db_version" field.

func DbVersionLTE

func DbVersionLTE(v string) predicate.CertifyVuln

DbVersionLTE applies the LTE predicate on the "db_version" field.

func DbVersionNEQ

func DbVersionNEQ(v string) predicate.CertifyVuln

DbVersionNEQ applies the NEQ predicate on the "db_version" field.

func DbVersionNotIn

func DbVersionNotIn(vs ...string) predicate.CertifyVuln

DbVersionNotIn applies the NotIn predicate on the "db_version" field.

func DocumentRef added in v0.6.0

func DocumentRef(v string) predicate.CertifyVuln

DocumentRef applies equality check predicate on the "document_ref" field. It's identical to DocumentRefEQ.

func DocumentRefContains added in v0.6.0

func DocumentRefContains(v string) predicate.CertifyVuln

DocumentRefContains applies the Contains predicate on the "document_ref" field.

func DocumentRefContainsFold added in v0.6.0

func DocumentRefContainsFold(v string) predicate.CertifyVuln

DocumentRefContainsFold applies the ContainsFold predicate on the "document_ref" field.

func DocumentRefEQ added in v0.6.0

func DocumentRefEQ(v string) predicate.CertifyVuln

DocumentRefEQ applies the EQ predicate on the "document_ref" field.

func DocumentRefEqualFold added in v0.6.0

func DocumentRefEqualFold(v string) predicate.CertifyVuln

DocumentRefEqualFold applies the EqualFold predicate on the "document_ref" field.

func DocumentRefGT added in v0.6.0

func DocumentRefGT(v string) predicate.CertifyVuln

DocumentRefGT applies the GT predicate on the "document_ref" field.

func DocumentRefGTE added in v0.6.0

func DocumentRefGTE(v string) predicate.CertifyVuln

DocumentRefGTE applies the GTE predicate on the "document_ref" field.

func DocumentRefHasPrefix added in v0.6.0

func DocumentRefHasPrefix(v string) predicate.CertifyVuln

DocumentRefHasPrefix applies the HasPrefix predicate on the "document_ref" field.

func DocumentRefHasSuffix added in v0.6.0

func DocumentRefHasSuffix(v string) predicate.CertifyVuln

DocumentRefHasSuffix applies the HasSuffix predicate on the "document_ref" field.

func DocumentRefIn added in v0.6.0

func DocumentRefIn(vs ...string) predicate.CertifyVuln

DocumentRefIn applies the In predicate on the "document_ref" field.

func DocumentRefLT added in v0.6.0

func DocumentRefLT(v string) predicate.CertifyVuln

DocumentRefLT applies the LT predicate on the "document_ref" field.

func DocumentRefLTE added in v0.6.0

func DocumentRefLTE(v string) predicate.CertifyVuln

DocumentRefLTE applies the LTE predicate on the "document_ref" field.

func DocumentRefNEQ added in v0.6.0

func DocumentRefNEQ(v string) predicate.CertifyVuln

DocumentRefNEQ applies the NEQ predicate on the "document_ref" field.

func DocumentRefNotIn added in v0.6.0

func DocumentRefNotIn(vs ...string) predicate.CertifyVuln

DocumentRefNotIn applies the NotIn predicate on the "document_ref" field.

func HasPackage

func HasPackage() predicate.CertifyVuln

HasPackage applies the HasEdge predicate on the "package" edge.

func HasPackageWith

func HasPackageWith(preds ...predicate.PackageVersion) predicate.CertifyVuln

HasPackageWith applies the HasEdge predicate on the "package" edge with a given conditions (other predicates).

func HasVulnerability

func HasVulnerability() predicate.CertifyVuln

HasVulnerability applies the HasEdge predicate on the "vulnerability" edge.

func HasVulnerabilityWith

func HasVulnerabilityWith(preds ...predicate.VulnerabilityID) predicate.CertifyVuln

HasVulnerabilityWith applies the HasEdge predicate on the "vulnerability" edge with a given conditions (other predicates).

func ID

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uuid.UUID) predicate.CertifyVuln

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uuid.UUID) predicate.CertifyVuln

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uuid.UUID) predicate.CertifyVuln

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uuid.UUID) predicate.CertifyVuln

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uuid.UUID) predicate.CertifyVuln

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.CertifyVuln

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.CertifyVuln

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uuid.UUID) predicate.CertifyVuln

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.CertifyVuln) predicate.CertifyVuln

Or groups predicates with the OR operator between them.

func Origin

func Origin(v string) predicate.CertifyVuln

Origin applies equality check predicate on the "origin" field. It's identical to OriginEQ.

func OriginContains

func OriginContains(v string) predicate.CertifyVuln

OriginContains applies the Contains predicate on the "origin" field.

func OriginContainsFold

func OriginContainsFold(v string) predicate.CertifyVuln

OriginContainsFold applies the ContainsFold predicate on the "origin" field.

func OriginEQ

func OriginEQ(v string) predicate.CertifyVuln

OriginEQ applies the EQ predicate on the "origin" field.

func OriginEqualFold

func OriginEqualFold(v string) predicate.CertifyVuln

OriginEqualFold applies the EqualFold predicate on the "origin" field.

func OriginGT

func OriginGT(v string) predicate.CertifyVuln

OriginGT applies the GT predicate on the "origin" field.

func OriginGTE

func OriginGTE(v string) predicate.CertifyVuln

OriginGTE applies the GTE predicate on the "origin" field.

func OriginHasPrefix

func OriginHasPrefix(v string) predicate.CertifyVuln

OriginHasPrefix applies the HasPrefix predicate on the "origin" field.

func OriginHasSuffix

func OriginHasSuffix(v string) predicate.CertifyVuln

OriginHasSuffix applies the HasSuffix predicate on the "origin" field.

func OriginIn

func OriginIn(vs ...string) predicate.CertifyVuln

OriginIn applies the In predicate on the "origin" field.

func OriginLT

func OriginLT(v string) predicate.CertifyVuln

OriginLT applies the LT predicate on the "origin" field.

func OriginLTE

func OriginLTE(v string) predicate.CertifyVuln

OriginLTE applies the LTE predicate on the "origin" field.

func OriginNEQ

func OriginNEQ(v string) predicate.CertifyVuln

OriginNEQ applies the NEQ predicate on the "origin" field.

func OriginNotIn

func OriginNotIn(vs ...string) predicate.CertifyVuln

OriginNotIn applies the NotIn predicate on the "origin" field.

func PackageID

func PackageID(v uuid.UUID) predicate.CertifyVuln

PackageID applies equality check predicate on the "package_id" field. It's identical to PackageIDEQ.

func PackageIDEQ

func PackageIDEQ(v uuid.UUID) predicate.CertifyVuln

PackageIDEQ applies the EQ predicate on the "package_id" field.

func PackageIDIn

func PackageIDIn(vs ...uuid.UUID) predicate.CertifyVuln

PackageIDIn applies the In predicate on the "package_id" field.

func PackageIDNEQ

func PackageIDNEQ(v uuid.UUID) predicate.CertifyVuln

PackageIDNEQ applies the NEQ predicate on the "package_id" field.

func PackageIDNotIn

func PackageIDNotIn(vs ...uuid.UUID) predicate.CertifyVuln

PackageIDNotIn applies the NotIn predicate on the "package_id" field.

func ScannerURI

func ScannerURI(v string) predicate.CertifyVuln

ScannerURI applies equality check predicate on the "scanner_uri" field. It's identical to ScannerURIEQ.

func ScannerURIContains

func ScannerURIContains(v string) predicate.CertifyVuln

ScannerURIContains applies the Contains predicate on the "scanner_uri" field.

func ScannerURIContainsFold

func ScannerURIContainsFold(v string) predicate.CertifyVuln

ScannerURIContainsFold applies the ContainsFold predicate on the "scanner_uri" field.

func ScannerURIEQ

func ScannerURIEQ(v string) predicate.CertifyVuln

ScannerURIEQ applies the EQ predicate on the "scanner_uri" field.

func ScannerURIEqualFold

func ScannerURIEqualFold(v string) predicate.CertifyVuln

ScannerURIEqualFold applies the EqualFold predicate on the "scanner_uri" field.

func ScannerURIGT

func ScannerURIGT(v string) predicate.CertifyVuln

ScannerURIGT applies the GT predicate on the "scanner_uri" field.

func ScannerURIGTE

func ScannerURIGTE(v string) predicate.CertifyVuln

ScannerURIGTE applies the GTE predicate on the "scanner_uri" field.

func ScannerURIHasPrefix

func ScannerURIHasPrefix(v string) predicate.CertifyVuln

ScannerURIHasPrefix applies the HasPrefix predicate on the "scanner_uri" field.

func ScannerURIHasSuffix

func ScannerURIHasSuffix(v string) predicate.CertifyVuln

ScannerURIHasSuffix applies the HasSuffix predicate on the "scanner_uri" field.

func ScannerURIIn

func ScannerURIIn(vs ...string) predicate.CertifyVuln

ScannerURIIn applies the In predicate on the "scanner_uri" field.

func ScannerURILT

func ScannerURILT(v string) predicate.CertifyVuln

ScannerURILT applies the LT predicate on the "scanner_uri" field.

func ScannerURILTE

func ScannerURILTE(v string) predicate.CertifyVuln

ScannerURILTE applies the LTE predicate on the "scanner_uri" field.

func ScannerURINEQ

func ScannerURINEQ(v string) predicate.CertifyVuln

ScannerURINEQ applies the NEQ predicate on the "scanner_uri" field.

func ScannerURINotIn

func ScannerURINotIn(vs ...string) predicate.CertifyVuln

ScannerURINotIn applies the NotIn predicate on the "scanner_uri" field.

func ScannerVersion

func ScannerVersion(v string) predicate.CertifyVuln

ScannerVersion applies equality check predicate on the "scanner_version" field. It's identical to ScannerVersionEQ.

func ScannerVersionContains

func ScannerVersionContains(v string) predicate.CertifyVuln

ScannerVersionContains applies the Contains predicate on the "scanner_version" field.

func ScannerVersionContainsFold

func ScannerVersionContainsFold(v string) predicate.CertifyVuln

ScannerVersionContainsFold applies the ContainsFold predicate on the "scanner_version" field.

func ScannerVersionEQ

func ScannerVersionEQ(v string) predicate.CertifyVuln

ScannerVersionEQ applies the EQ predicate on the "scanner_version" field.

func ScannerVersionEqualFold

func ScannerVersionEqualFold(v string) predicate.CertifyVuln

ScannerVersionEqualFold applies the EqualFold predicate on the "scanner_version" field.

func ScannerVersionGT

func ScannerVersionGT(v string) predicate.CertifyVuln

ScannerVersionGT applies the GT predicate on the "scanner_version" field.

func ScannerVersionGTE

func ScannerVersionGTE(v string) predicate.CertifyVuln

ScannerVersionGTE applies the GTE predicate on the "scanner_version" field.

func ScannerVersionHasPrefix

func ScannerVersionHasPrefix(v string) predicate.CertifyVuln

ScannerVersionHasPrefix applies the HasPrefix predicate on the "scanner_version" field.

func ScannerVersionHasSuffix

func ScannerVersionHasSuffix(v string) predicate.CertifyVuln

ScannerVersionHasSuffix applies the HasSuffix predicate on the "scanner_version" field.

func ScannerVersionIn

func ScannerVersionIn(vs ...string) predicate.CertifyVuln

ScannerVersionIn applies the In predicate on the "scanner_version" field.

func ScannerVersionLT

func ScannerVersionLT(v string) predicate.CertifyVuln

ScannerVersionLT applies the LT predicate on the "scanner_version" field.

func ScannerVersionLTE

func ScannerVersionLTE(v string) predicate.CertifyVuln

ScannerVersionLTE applies the LTE predicate on the "scanner_version" field.

func ScannerVersionNEQ

func ScannerVersionNEQ(v string) predicate.CertifyVuln

ScannerVersionNEQ applies the NEQ predicate on the "scanner_version" field.

func ScannerVersionNotIn

func ScannerVersionNotIn(vs ...string) predicate.CertifyVuln

ScannerVersionNotIn applies the NotIn predicate on the "scanner_version" field.

func TimeScanned

func TimeScanned(v time.Time) predicate.CertifyVuln

TimeScanned applies equality check predicate on the "time_scanned" field. It's identical to TimeScannedEQ.

func TimeScannedEQ

func TimeScannedEQ(v time.Time) predicate.CertifyVuln

TimeScannedEQ applies the EQ predicate on the "time_scanned" field.

func TimeScannedGT

func TimeScannedGT(v time.Time) predicate.CertifyVuln

TimeScannedGT applies the GT predicate on the "time_scanned" field.

func TimeScannedGTE

func TimeScannedGTE(v time.Time) predicate.CertifyVuln

TimeScannedGTE applies the GTE predicate on the "time_scanned" field.

func TimeScannedIn

func TimeScannedIn(vs ...time.Time) predicate.CertifyVuln

TimeScannedIn applies the In predicate on the "time_scanned" field.

func TimeScannedLT

func TimeScannedLT(v time.Time) predicate.CertifyVuln

TimeScannedLT applies the LT predicate on the "time_scanned" field.

func TimeScannedLTE

func TimeScannedLTE(v time.Time) predicate.CertifyVuln

TimeScannedLTE applies the LTE predicate on the "time_scanned" field.

func TimeScannedNEQ

func TimeScannedNEQ(v time.Time) predicate.CertifyVuln

TimeScannedNEQ applies the NEQ predicate on the "time_scanned" field.

func TimeScannedNotIn

func TimeScannedNotIn(vs ...time.Time) predicate.CertifyVuln

TimeScannedNotIn applies the NotIn predicate on the "time_scanned" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

func VulnerabilityID

func VulnerabilityID(v uuid.UUID) predicate.CertifyVuln

VulnerabilityID applies equality check predicate on the "vulnerability_id" field. It's identical to VulnerabilityIDEQ.

func VulnerabilityIDEQ

func VulnerabilityIDEQ(v uuid.UUID) predicate.CertifyVuln

VulnerabilityIDEQ applies the EQ predicate on the "vulnerability_id" field.

func VulnerabilityIDIn

func VulnerabilityIDIn(vs ...uuid.UUID) predicate.CertifyVuln

VulnerabilityIDIn applies the In predicate on the "vulnerability_id" field.

func VulnerabilityIDNEQ

func VulnerabilityIDNEQ(v uuid.UUID) predicate.CertifyVuln

VulnerabilityIDNEQ applies the NEQ predicate on the "vulnerability_id" field.

func VulnerabilityIDNotIn

func VulnerabilityIDNotIn(vs ...uuid.UUID) predicate.CertifyVuln

VulnerabilityIDNotIn applies the NotIn predicate on the "vulnerability_id" field.

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the CertifyVuln queries.

func ByCollector

func ByCollector(opts ...sql.OrderTermOption) OrderOption

ByCollector orders the results by the collector field.

func ByDbURI

func ByDbURI(opts ...sql.OrderTermOption) OrderOption

ByDbURI orders the results by the db_uri field.

func ByDbVersion

func ByDbVersion(opts ...sql.OrderTermOption) OrderOption

ByDbVersion orders the results by the db_version field.

func ByDocumentRef added in v0.6.0

func ByDocumentRef(opts ...sql.OrderTermOption) OrderOption

ByDocumentRef orders the results by the document_ref field.

func ByID

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByOrigin

func ByOrigin(opts ...sql.OrderTermOption) OrderOption

ByOrigin orders the results by the origin field.

func ByPackageField

func ByPackageField(field string, opts ...sql.OrderTermOption) OrderOption

ByPackageField orders the results by package field.

func ByPackageID

func ByPackageID(opts ...sql.OrderTermOption) OrderOption

ByPackageID orders the results by the package_id field.

func ByScannerURI

func ByScannerURI(opts ...sql.OrderTermOption) OrderOption

ByScannerURI orders the results by the scanner_uri field.

func ByScannerVersion

func ByScannerVersion(opts ...sql.OrderTermOption) OrderOption

ByScannerVersion orders the results by the scanner_version field.

func ByTimeScanned

func ByTimeScanned(opts ...sql.OrderTermOption) OrderOption

ByTimeScanned orders the results by the time_scanned field.

func ByVulnerabilityField

func ByVulnerabilityField(field string, opts ...sql.OrderTermOption) OrderOption

ByVulnerabilityField orders the results by vulnerability field.

func ByVulnerabilityID

func ByVulnerabilityID(opts ...sql.OrderTermOption) OrderOption

ByVulnerabilityID orders the results by the vulnerability_id field.

Jump to

Keyboard shortcuts

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