packageversion

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the packageversion type in the database.
	Label = "package_version"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldNameID holds the string denoting the name_id field in the database.
	FieldNameID = "name_id"
	// FieldVersion holds the string denoting the version field in the database.
	FieldVersion = "version"
	// FieldSubpath holds the string denoting the subpath field in the database.
	FieldSubpath = "subpath"
	// FieldQualifiers holds the string denoting the qualifiers field in the database.
	FieldQualifiers = "qualifiers"
	// FieldHash holds the string denoting the hash field in the database.
	FieldHash = "hash"
	// EdgeName holds the string denoting the name edge name in mutations.
	EdgeName = "name"
	// EdgeOccurrences holds the string denoting the occurrences edge name in mutations.
	EdgeOccurrences = "occurrences"
	// EdgeSbom holds the string denoting the sbom edge name in mutations.
	EdgeSbom = "sbom"
	// EdgeVuln holds the string denoting the vuln edge name in mutations.
	EdgeVuln = "vuln"
	// EdgeVex holds the string denoting the vex edge name in mutations.
	EdgeVex = "vex"
	// EdgeHasSourceAt holds the string denoting the has_source_at edge name in mutations.
	EdgeHasSourceAt = "has_source_at"
	// EdgeCertification holds the string denoting the certification edge name in mutations.
	EdgeCertification = "certification"
	// EdgeMetadata holds the string denoting the metadata edge name in mutations.
	EdgeMetadata = "metadata"
	// EdgeDependency holds the string denoting the dependency edge name in mutations.
	EdgeDependency = "dependency"
	// EdgeDependencySubject holds the string denoting the dependency_subject edge name in mutations.
	EdgeDependencySubject = "dependency_subject"
	// EdgeIncludedInSboms holds the string denoting the included_in_sboms edge name in mutations.
	EdgeIncludedInSboms = "included_in_sboms"
	// EdgePkgEqualPkgA holds the string denoting the pkg_equal_pkg_a edge name in mutations.
	EdgePkgEqualPkgA = "pkg_equal_pkg_a"
	// EdgePkgEqualPkgB holds the string denoting the pkg_equal_pkg_b edge name in mutations.
	EdgePkgEqualPkgB = "pkg_equal_pkg_b"
	// EdgePoc holds the string denoting the poc edge name in mutations.
	EdgePoc = "poc"
	// EdgeCertifyLegal holds the string denoting the certify_legal edge name in mutations.
	EdgeCertifyLegal = "certify_legal"
	// Table holds the table name of the packageversion in the database.
	Table = "package_versions"
	// NameTable is the table that holds the name relation/edge.
	NameTable = "package_versions"
	// NameInverseTable is the table name for the PackageName entity.
	// It exists in this package in order to avoid circular dependency with the "packagename" package.
	NameInverseTable = "package_names"
	// NameColumn is the table column denoting the name relation/edge.
	NameColumn = "name_id"
	// OccurrencesTable is the table that holds the occurrences relation/edge.
	OccurrencesTable = "occurrences"
	// OccurrencesInverseTable is the table name for the Occurrence entity.
	// It exists in this package in order to avoid circular dependency with the "occurrence" package.
	OccurrencesInverseTable = "occurrences"
	// OccurrencesColumn is the table column denoting the occurrences relation/edge.
	OccurrencesColumn = "package_id"
	// SbomTable is the table that holds the sbom relation/edge.
	SbomTable = "bill_of_materials"
	// SbomInverseTable is the table name for the BillOfMaterials entity.
	// It exists in this package in order to avoid circular dependency with the "billofmaterials" package.
	SbomInverseTable = "bill_of_materials"
	// SbomColumn is the table column denoting the sbom relation/edge.
	SbomColumn = "package_id"
	// VulnTable is the table that holds the vuln relation/edge.
	VulnTable = "certify_vulns"
	// VulnInverseTable is the table name for the CertifyVuln entity.
	// It exists in this package in order to avoid circular dependency with the "certifyvuln" package.
	VulnInverseTable = "certify_vulns"
	// VulnColumn is the table column denoting the vuln relation/edge.
	VulnColumn = "package_id"
	// VexTable is the table that holds the vex relation/edge.
	VexTable = "certify_vexes"
	// VexInverseTable is the table name for the CertifyVex entity.
	// It exists in this package in order to avoid circular dependency with the "certifyvex" package.
	VexInverseTable = "certify_vexes"
	// VexColumn is the table column denoting the vex relation/edge.
	VexColumn = "package_id"
	// HasSourceAtTable is the table that holds the has_source_at relation/edge.
	HasSourceAtTable = "has_source_ats"
	// HasSourceAtInverseTable is the table name for the HasSourceAt entity.
	// It exists in this package in order to avoid circular dependency with the "hassourceat" package.
	HasSourceAtInverseTable = "has_source_ats"
	// HasSourceAtColumn is the table column denoting the has_source_at relation/edge.
	HasSourceAtColumn = "package_version_id"
	// CertificationTable is the table that holds the certification relation/edge.
	CertificationTable = "certifications"
	// CertificationInverseTable is the table name for the Certification entity.
	// It exists in this package in order to avoid circular dependency with the "certification" package.
	CertificationInverseTable = "certifications"
	// CertificationColumn is the table column denoting the certification relation/edge.
	CertificationColumn = "package_version_id"
	// MetadataTable is the table that holds the metadata relation/edge.
	MetadataTable = "has_metadata"
	// MetadataInverseTable is the table name for the HasMetadata entity.
	// It exists in this package in order to avoid circular dependency with the "hasmetadata" package.
	MetadataInverseTable = "has_metadata"
	// MetadataColumn is the table column denoting the metadata relation/edge.
	MetadataColumn = "package_version_id"
	// DependencyTable is the table that holds the dependency relation/edge.
	DependencyTable = "dependencies"
	// DependencyInverseTable is the table name for the Dependency entity.
	// It exists in this package in order to avoid circular dependency with the "dependency" package.
	DependencyInverseTable = "dependencies"
	// DependencyColumn is the table column denoting the dependency relation/edge.
	DependencyColumn = "dependent_package_version_id"
	// DependencySubjectTable is the table that holds the dependency_subject relation/edge.
	DependencySubjectTable = "dependencies"
	// DependencySubjectInverseTable is the table name for the Dependency entity.
	// It exists in this package in order to avoid circular dependency with the "dependency" package.
	DependencySubjectInverseTable = "dependencies"
	// DependencySubjectColumn is the table column denoting the dependency_subject relation/edge.
	DependencySubjectColumn = "package_id"
	// IncludedInSbomsTable is the table that holds the included_in_sboms relation/edge. The primary key declared below.
	IncludedInSbomsTable = "bill_of_materials_included_software_packages"
	// IncludedInSbomsInverseTable is the table name for the BillOfMaterials entity.
	// It exists in this package in order to avoid circular dependency with the "billofmaterials" package.
	IncludedInSbomsInverseTable = "bill_of_materials"
	// PkgEqualPkgATable is the table that holds the pkg_equal_pkg_a relation/edge.
	PkgEqualPkgATable = "pkg_equals"
	// PkgEqualPkgAInverseTable is the table name for the PkgEqual entity.
	// It exists in this package in order to avoid circular dependency with the "pkgequal" package.
	PkgEqualPkgAInverseTable = "pkg_equals"
	// PkgEqualPkgAColumn is the table column denoting the pkg_equal_pkg_a relation/edge.
	PkgEqualPkgAColumn = "pkg_id"
	// PkgEqualPkgBTable is the table that holds the pkg_equal_pkg_b relation/edge.
	PkgEqualPkgBTable = "pkg_equals"
	// PkgEqualPkgBInverseTable is the table name for the PkgEqual entity.
	// It exists in this package in order to avoid circular dependency with the "pkgequal" package.
	PkgEqualPkgBInverseTable = "pkg_equals"
	// PkgEqualPkgBColumn is the table column denoting the pkg_equal_pkg_b relation/edge.
	PkgEqualPkgBColumn = "equal_pkg_id"
	// PocTable is the table that holds the poc relation/edge.
	PocTable = "point_of_contacts"
	// PocInverseTable is the table name for the PointOfContact entity.
	// It exists in this package in order to avoid circular dependency with the "pointofcontact" package.
	PocInverseTable = "point_of_contacts"
	// PocColumn is the table column denoting the poc relation/edge.
	PocColumn = "package_version_id"
	// CertifyLegalTable is the table that holds the certify_legal relation/edge.
	CertifyLegalTable = "certify_legals"
	// CertifyLegalInverseTable is the table name for the CertifyLegal entity.
	// It exists in this package in order to avoid circular dependency with the "certifylegal" package.
	CertifyLegalInverseTable = "certify_legals"
	// CertifyLegalColumn is the table column denoting the certify_legal relation/edge.
	CertifyLegalColumn = "package_id"
)

Variables

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

Columns holds all SQL columns for packageversion fields.

View Source
var (
	// IncludedInSbomsPrimaryKey and IncludedInSbomsColumn2 are the table columns denoting the
	// primary key for the included_in_sboms relation (M2M).
	IncludedInSbomsPrimaryKey = []string{"bill_of_materials_id", "package_version_id"}
)

Functions

func And

And groups predicates with the AND operator between them.

func HasCertification added in v0.6.0

func HasCertification() predicate.PackageVersion

HasCertification applies the HasEdge predicate on the "certification" edge.

func HasCertificationWith added in v0.6.0

func HasCertificationWith(preds ...predicate.Certification) predicate.PackageVersion

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

func HasCertifyLegal added in v0.6.0

func HasCertifyLegal() predicate.PackageVersion

HasCertifyLegal applies the HasEdge predicate on the "certify_legal" edge.

func HasCertifyLegalWith added in v0.6.0

func HasCertifyLegalWith(preds ...predicate.CertifyLegal) predicate.PackageVersion

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

func HasDependency added in v0.6.0

func HasDependency() predicate.PackageVersion

HasDependency applies the HasEdge predicate on the "dependency" edge.

func HasDependencySubject added in v0.6.0

func HasDependencySubject() predicate.PackageVersion

HasDependencySubject applies the HasEdge predicate on the "dependency_subject" edge.

func HasDependencySubjectWith added in v0.6.0

func HasDependencySubjectWith(preds ...predicate.Dependency) predicate.PackageVersion

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

func HasDependencyWith added in v0.6.0

func HasDependencyWith(preds ...predicate.Dependency) predicate.PackageVersion

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

func HasHasSourceAt added in v0.6.0

func HasHasSourceAt() predicate.PackageVersion

HasHasSourceAt applies the HasEdge predicate on the "has_source_at" edge.

func HasHasSourceAtWith added in v0.6.0

func HasHasSourceAtWith(preds ...predicate.HasSourceAt) predicate.PackageVersion

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

func HasIncludedInSboms added in v0.4.0

func HasIncludedInSboms() predicate.PackageVersion

HasIncludedInSboms applies the HasEdge predicate on the "included_in_sboms" edge.

func HasIncludedInSbomsWith added in v0.4.0

func HasIncludedInSbomsWith(preds ...predicate.BillOfMaterials) predicate.PackageVersion

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

func HasMetadata added in v0.6.0

func HasMetadata() predicate.PackageVersion

HasMetadata applies the HasEdge predicate on the "metadata" edge.

func HasMetadataWith added in v0.6.0

func HasMetadataWith(preds ...predicate.HasMetadata) predicate.PackageVersion

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

func HasName

func HasName() predicate.PackageVersion

HasName applies the HasEdge predicate on the "name" edge.

func HasNameWith

func HasNameWith(preds ...predicate.PackageName) predicate.PackageVersion

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

func HasOccurrences

func HasOccurrences() predicate.PackageVersion

HasOccurrences applies the HasEdge predicate on the "occurrences" edge.

func HasOccurrencesWith

func HasOccurrencesWith(preds ...predicate.Occurrence) predicate.PackageVersion

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

func HasPkgEqualPkgA added in v0.5.0

func HasPkgEqualPkgA() predicate.PackageVersion

HasPkgEqualPkgA applies the HasEdge predicate on the "pkg_equal_pkg_a" edge.

func HasPkgEqualPkgAWith added in v0.5.0

func HasPkgEqualPkgAWith(preds ...predicate.PkgEqual) predicate.PackageVersion

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

func HasPkgEqualPkgB added in v0.5.0

func HasPkgEqualPkgB() predicate.PackageVersion

HasPkgEqualPkgB applies the HasEdge predicate on the "pkg_equal_pkg_b" edge.

func HasPkgEqualPkgBWith added in v0.5.0

func HasPkgEqualPkgBWith(preds ...predicate.PkgEqual) predicate.PackageVersion

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

func HasPoc added in v0.6.0

func HasPoc() predicate.PackageVersion

HasPoc applies the HasEdge predicate on the "poc" edge.

func HasPocWith added in v0.6.0

func HasPocWith(preds ...predicate.PointOfContact) predicate.PackageVersion

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

func HasSbom

func HasSbom() predicate.PackageVersion

HasSbom applies the HasEdge predicate on the "sbom" edge.

func HasSbomWith

func HasSbomWith(preds ...predicate.BillOfMaterials) predicate.PackageVersion

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

func HasVex added in v0.6.0

func HasVex() predicate.PackageVersion

HasVex applies the HasEdge predicate on the "vex" edge.

func HasVexWith added in v0.6.0

func HasVexWith(preds ...predicate.CertifyVex) predicate.PackageVersion

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

func HasVuln added in v0.6.0

func HasVuln() predicate.PackageVersion

HasVuln applies the HasEdge predicate on the "vuln" edge.

func HasVulnWith added in v0.6.0

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

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

func Hash

Hash applies equality check predicate on the "hash" field. It's identical to HashEQ.

func HashContains

func HashContains(v string) predicate.PackageVersion

HashContains applies the Contains predicate on the "hash" field.

func HashContainsFold

func HashContainsFold(v string) predicate.PackageVersion

HashContainsFold applies the ContainsFold predicate on the "hash" field.

func HashEQ

HashEQ applies the EQ predicate on the "hash" field.

func HashEqualFold

func HashEqualFold(v string) predicate.PackageVersion

HashEqualFold applies the EqualFold predicate on the "hash" field.

func HashGT

HashGT applies the GT predicate on the "hash" field.

func HashGTE

func HashGTE(v string) predicate.PackageVersion

HashGTE applies the GTE predicate on the "hash" field.

func HashHasPrefix

func HashHasPrefix(v string) predicate.PackageVersion

HashHasPrefix applies the HasPrefix predicate on the "hash" field.

func HashHasSuffix

func HashHasSuffix(v string) predicate.PackageVersion

HashHasSuffix applies the HasSuffix predicate on the "hash" field.

func HashIn

func HashIn(vs ...string) predicate.PackageVersion

HashIn applies the In predicate on the "hash" field.

func HashLT

HashLT applies the LT predicate on the "hash" field.

func HashLTE

func HashLTE(v string) predicate.PackageVersion

HashLTE applies the LTE predicate on the "hash" field.

func HashNEQ

func HashNEQ(v string) predicate.PackageVersion

HashNEQ applies the NEQ predicate on the "hash" field.

func HashNotIn

func HashNotIn(vs ...string) predicate.PackageVersion

HashNotIn applies the NotIn predicate on the "hash" field.

func ID

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func NameID

NameID applies equality check predicate on the "name_id" field. It's identical to NameIDEQ.

func NameIDEQ

func NameIDEQ(v uuid.UUID) predicate.PackageVersion

NameIDEQ applies the EQ predicate on the "name_id" field.

func NameIDIn

func NameIDIn(vs ...uuid.UUID) predicate.PackageVersion

NameIDIn applies the In predicate on the "name_id" field.

func NameIDNEQ

func NameIDNEQ(v uuid.UUID) predicate.PackageVersion

NameIDNEQ applies the NEQ predicate on the "name_id" field.

func NameIDNotIn

func NameIDNotIn(vs ...uuid.UUID) predicate.PackageVersion

NameIDNotIn applies the NotIn predicate on the "name_id" field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func QualifiersContains

func QualifiersContains(key, value string) func(*sql.Selector)

QualifiersContains filters out package versions that do not have the given qualifier key/value pair.

func QualifiersIsEmpty

func QualifiersIsEmpty() func(*sql.Selector)

QualifiersIsEmpty filters out package versions that have no qualifiers. It accounts for null, empty array, and null literal json value.

func QualifiersIsNil

func QualifiersIsNil() predicate.PackageVersion

QualifiersIsNil applies the IsNil predicate on the "qualifiers" field.

func QualifiersMatch

func QualifiersMatch(spec []*model.PackageQualifierSpec, matchOnlyEmptyQualifiers bool) func(*sql.Selector)

QualifiersMatch constructs a JSON field query for the given qualifiers. If the value is nil, it will query for the key only. If the value is not nil, it will query for the key/value pair. Each additional spec will be ANDed together.

func QualifiersNotNil

func QualifiersNotNil() predicate.PackageVersion

QualifiersNotNil applies the NotNil predicate on the "qualifiers" field.

func QualifiersSizeMatch added in v0.8.0

func QualifiersSizeMatch(size int) func(*sql.Selector)

QualifiersSizeMatch checks the size of the qualifiers array is the expected one

func QualifiersWithKeys

func QualifiersWithKeys(key string, keys ...string) func(*sql.Selector)

QualifiersWithKeys filters out package versions that do not have the given qualifier keys.

func Subpath

func Subpath(v string) predicate.PackageVersion

Subpath applies equality check predicate on the "subpath" field. It's identical to SubpathEQ.

func SubpathContains

func SubpathContains(v string) predicate.PackageVersion

SubpathContains applies the Contains predicate on the "subpath" field.

func SubpathContainsFold

func SubpathContainsFold(v string) predicate.PackageVersion

SubpathContainsFold applies the ContainsFold predicate on the "subpath" field.

func SubpathEQ

func SubpathEQ(v string) predicate.PackageVersion

SubpathEQ applies the EQ predicate on the "subpath" field.

func SubpathEqualFold

func SubpathEqualFold(v string) predicate.PackageVersion

SubpathEqualFold applies the EqualFold predicate on the "subpath" field.

func SubpathGT

func SubpathGT(v string) predicate.PackageVersion

SubpathGT applies the GT predicate on the "subpath" field.

func SubpathGTE

func SubpathGTE(v string) predicate.PackageVersion

SubpathGTE applies the GTE predicate on the "subpath" field.

func SubpathHasPrefix

func SubpathHasPrefix(v string) predicate.PackageVersion

SubpathHasPrefix applies the HasPrefix predicate on the "subpath" field.

func SubpathHasSuffix

func SubpathHasSuffix(v string) predicate.PackageVersion

SubpathHasSuffix applies the HasSuffix predicate on the "subpath" field.

func SubpathIn

func SubpathIn(vs ...string) predicate.PackageVersion

SubpathIn applies the In predicate on the "subpath" field.

func SubpathLT

func SubpathLT(v string) predicate.PackageVersion

SubpathLT applies the LT predicate on the "subpath" field.

func SubpathLTE

func SubpathLTE(v string) predicate.PackageVersion

SubpathLTE applies the LTE predicate on the "subpath" field.

func SubpathNEQ

func SubpathNEQ(v string) predicate.PackageVersion

SubpathNEQ applies the NEQ predicate on the "subpath" field.

func SubpathNotIn

func SubpathNotIn(vs ...string) predicate.PackageVersion

SubpathNotIn applies the NotIn predicate on the "subpath" field.

func ValidColumn

func ValidColumn(column string) bool

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

func Version

func Version(v string) predicate.PackageVersion

Version applies equality check predicate on the "version" field. It's identical to VersionEQ.

func VersionContains

func VersionContains(v string) predicate.PackageVersion

VersionContains applies the Contains predicate on the "version" field.

func VersionContainsFold

func VersionContainsFold(v string) predicate.PackageVersion

VersionContainsFold applies the ContainsFold predicate on the "version" field.

func VersionEQ

func VersionEQ(v string) predicate.PackageVersion

VersionEQ applies the EQ predicate on the "version" field.

func VersionEqualFold

func VersionEqualFold(v string) predicate.PackageVersion

VersionEqualFold applies the EqualFold predicate on the "version" field.

func VersionGT

func VersionGT(v string) predicate.PackageVersion

VersionGT applies the GT predicate on the "version" field.

func VersionGTE

func VersionGTE(v string) predicate.PackageVersion

VersionGTE applies the GTE predicate on the "version" field.

func VersionHasPrefix

func VersionHasPrefix(v string) predicate.PackageVersion

VersionHasPrefix applies the HasPrefix predicate on the "version" field.

func VersionHasSuffix

func VersionHasSuffix(v string) predicate.PackageVersion

VersionHasSuffix applies the HasSuffix predicate on the "version" field.

func VersionIn

func VersionIn(vs ...string) predicate.PackageVersion

VersionIn applies the In predicate on the "version" field.

func VersionLT

func VersionLT(v string) predicate.PackageVersion

VersionLT applies the LT predicate on the "version" field.

func VersionLTE

func VersionLTE(v string) predicate.PackageVersion

VersionLTE applies the LTE predicate on the "version" field.

func VersionNEQ

func VersionNEQ(v string) predicate.PackageVersion

VersionNEQ applies the NEQ predicate on the "version" field.

func VersionNotIn

func VersionNotIn(vs ...string) predicate.PackageVersion

VersionNotIn applies the NotIn predicate on the "version" field.

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the PackageVersion queries.

func ByCertification added in v0.6.0

func ByCertification(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByCertification orders the results by certification terms.

func ByCertificationCount added in v0.6.0

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

ByCertificationCount orders the results by certification count.

func ByCertifyLegal added in v0.6.0

func ByCertifyLegal(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByCertifyLegal orders the results by certify_legal terms.

func ByCertifyLegalCount added in v0.6.0

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

ByCertifyLegalCount orders the results by certify_legal count.

func ByDependency added in v0.6.0

func ByDependency(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByDependency orders the results by dependency terms.

func ByDependencyCount added in v0.6.0

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

ByDependencyCount orders the results by dependency count.

func ByDependencySubject added in v0.6.0

func ByDependencySubject(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByDependencySubject orders the results by dependency_subject terms.

func ByDependencySubjectCount added in v0.6.0

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

ByDependencySubjectCount orders the results by dependency_subject count.

func ByHasSourceAt added in v0.6.0

func ByHasSourceAt(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByHasSourceAt orders the results by has_source_at terms.

func ByHasSourceAtCount added in v0.6.0

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

ByHasSourceAtCount orders the results by has_source_at count.

func ByHash

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

ByHash orders the results by the hash field.

func ByID

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

ByID orders the results by the id field.

func ByIncludedInSboms added in v0.4.0

func ByIncludedInSboms(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByIncludedInSboms orders the results by included_in_sboms terms.

func ByIncludedInSbomsCount added in v0.4.0

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

ByIncludedInSbomsCount orders the results by included_in_sboms count.

func ByMetadata added in v0.6.0

func ByMetadata(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByMetadata orders the results by metadata terms.

func ByMetadataCount added in v0.6.0

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

ByMetadataCount orders the results by metadata count.

func ByNameField

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

ByNameField orders the results by name field.

func ByNameID

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

ByNameID orders the results by the name_id field.

func ByOccurrences

func ByOccurrences(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByOccurrences orders the results by occurrences terms.

func ByOccurrencesCount

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

ByOccurrencesCount orders the results by occurrences count.

func ByPkgEqualPkgA added in v0.5.0

func ByPkgEqualPkgA(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByPkgEqualPkgA orders the results by pkg_equal_pkg_a terms.

func ByPkgEqualPkgACount added in v0.5.0

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

ByPkgEqualPkgACount orders the results by pkg_equal_pkg_a count.

func ByPkgEqualPkgB added in v0.5.0

func ByPkgEqualPkgB(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByPkgEqualPkgB orders the results by pkg_equal_pkg_b terms.

func ByPkgEqualPkgBCount added in v0.5.0

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

ByPkgEqualPkgBCount orders the results by pkg_equal_pkg_b count.

func ByPoc added in v0.6.0

func ByPoc(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByPoc orders the results by poc terms.

func ByPocCount added in v0.6.0

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

ByPocCount orders the results by poc count.

func BySbom

func BySbom(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

BySbom orders the results by sbom terms.

func BySbomCount

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

BySbomCount orders the results by sbom count.

func BySubpath

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

BySubpath orders the results by the subpath field.

func ByVersion

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

ByVersion orders the results by the version field.

func ByVex added in v0.6.0

func ByVex(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByVex orders the results by vex terms.

func ByVexCount added in v0.6.0

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

ByVexCount orders the results by vex count.

func ByVuln added in v0.6.0

func ByVuln(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByVuln orders the results by vuln terms.

func ByVulnCount added in v0.6.0

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

ByVulnCount orders the results by vuln count.

Jump to

Keyboard shortcuts

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