package
0.10.0
Repository: https://github.com/guacsec/guac.git
Documentation: pkg.go.dev

# Functions

And groups predicates with the AND operator between them.
ByCertification orders the results by certification terms.
ByCertificationCount orders the results by certification count.
ByCertifyLegal orders the results by certify_legal terms.
ByCertifyLegalCount orders the results by certify_legal count.
ByDependency orders the results by dependency terms.
ByDependencyCount orders the results by dependency count.
ByDependencySubject orders the results by dependency_subject terms.
ByDependencySubjectCount orders the results by dependency_subject count.
ByHash orders the results by the hash field.
ByHasSourceAt orders the results by has_source_at terms.
ByHasSourceAtCount orders the results by has_source_at count.
ByID orders the results by the id field.
ByIncludedInSboms orders the results by included_in_sboms terms.
ByIncludedInSbomsCount orders the results by included_in_sboms count.
ByMetadata orders the results by metadata terms.
ByMetadataCount orders the results by metadata count.
ByNameField orders the results by name field.
ByNameID orders the results by the name_id field.
ByOccurrences orders the results by occurrences terms.
ByOccurrencesCount orders the results by occurrences count.
ByPkgEqualPkgA orders the results by pkg_equal_pkg_a terms.
ByPkgEqualPkgACount orders the results by pkg_equal_pkg_a count.
ByPkgEqualPkgB orders the results by pkg_equal_pkg_b terms.
ByPkgEqualPkgBCount orders the results by pkg_equal_pkg_b count.
ByPoc orders the results by poc terms.
ByPocCount orders the results by poc count.
BySbom orders the results by sbom terms.
BySbomCount orders the results by sbom count.
BySubpath orders the results by the subpath field.
ByVersion orders the results by the version field.
ByVex orders the results by vex terms.
ByVexCount orders the results by vex count.
ByVuln orders the results by vuln terms.
ByVulnCount orders the results by vuln count.
HasCertification applies the HasEdge predicate on the "certification" edge.
HasCertificationWith applies the HasEdge predicate on the "certification" edge with a given conditions (other predicates).
HasCertifyLegal applies the HasEdge predicate on the "certify_legal" edge.
HasCertifyLegalWith applies the HasEdge predicate on the "certify_legal" edge with a given conditions (other predicates).
HasDependency applies the HasEdge predicate on the "dependency" edge.
HasDependencySubject applies the HasEdge predicate on the "dependency_subject" edge.
HasDependencySubjectWith applies the HasEdge predicate on the "dependency_subject" edge with a given conditions (other predicates).
HasDependencyWith applies the HasEdge predicate on the "dependency" edge with a given conditions (other predicates).
Hash applies equality check predicate on the "hash" field.
HasHasSourceAt applies the HasEdge predicate on the "has_source_at" edge.
HasHasSourceAtWith applies the HasEdge predicate on the "has_source_at" edge with a given conditions (other predicates).
HashContains applies the Contains predicate on the "hash" field.
HashContainsFold applies the ContainsFold predicate on the "hash" field.
HashEQ applies the EQ predicate on the "hash" field.
HashEqualFold applies the EqualFold predicate on the "hash" field.
HashGT applies the GT predicate on the "hash" field.
HashGTE applies the GTE predicate on the "hash" field.
HashHasPrefix applies the HasPrefix predicate on the "hash" field.
HashHasSuffix applies the HasSuffix predicate on the "hash" field.
HashIn applies the In predicate on the "hash" field.
HashLT applies the LT predicate on the "hash" field.
HashLTE applies the LTE predicate on the "hash" field.
HashNEQ applies the NEQ predicate on the "hash" field.
HashNotIn applies the NotIn predicate on the "hash" field.
HasIncludedInSboms applies the HasEdge predicate on the "included_in_sboms" edge.
HasIncludedInSbomsWith applies the HasEdge predicate on the "included_in_sboms" edge with a given conditions (other predicates).
HasMetadata applies the HasEdge predicate on the "metadata" edge.
HasMetadataWith applies the HasEdge predicate on the "metadata" edge with a given conditions (other predicates).
HasName applies the HasEdge predicate on the "name" edge.
HasNameWith applies the HasEdge predicate on the "name" edge with a given conditions (other predicates).
HasOccurrences applies the HasEdge predicate on the "occurrences" edge.
HasOccurrencesWith applies the HasEdge predicate on the "occurrences" edge with a given conditions (other predicates).
HasPkgEqualPkgA applies the HasEdge predicate on the "pkg_equal_pkg_a" edge.
HasPkgEqualPkgAWith applies the HasEdge predicate on the "pkg_equal_pkg_a" edge with a given conditions (other predicates).
HasPkgEqualPkgB applies the HasEdge predicate on the "pkg_equal_pkg_b" edge.
HasPkgEqualPkgBWith applies the HasEdge predicate on the "pkg_equal_pkg_b" edge with a given conditions (other predicates).
HasPoc applies the HasEdge predicate on the "poc" edge.
HasPocWith applies the HasEdge predicate on the "poc" edge with a given conditions (other predicates).
HasSbom applies the HasEdge predicate on the "sbom" edge.
HasSbomWith applies the HasEdge predicate on the "sbom" edge with a given conditions (other predicates).
HasVex applies the HasEdge predicate on the "vex" edge.
HasVexWith applies the HasEdge predicate on the "vex" edge with a given conditions (other predicates).
HasVuln applies the HasEdge predicate on the "vuln" edge.
HasVulnWith applies the HasEdge predicate on the "vuln" edge with a given conditions (other predicates).
ID filters vertices based on their ID field.
IDEQ applies the EQ predicate on the ID field.
IDGT applies the GT predicate on the ID field.
IDGTE applies the GTE predicate on the ID field.
IDIn applies the In predicate on the ID field.
IDLT applies the LT predicate on the ID field.
IDLTE applies the LTE predicate on the ID field.
IDNEQ applies the NEQ predicate on the ID field.
IDNotIn applies the NotIn predicate on the ID field.
NameID applies equality check predicate on the "name_id" field.
NameIDEQ applies the EQ predicate on the "name_id" field.
NameIDIn applies the In predicate on the "name_id" field.
NameIDNEQ applies the NEQ predicate on the "name_id" field.
NameIDNotIn applies the NotIn predicate on the "name_id" field.
Not applies the not operator on the given predicate.
Or groups predicates with the OR operator between them.
QualifiersContains filters out package versions that do not have the given qualifier key/value pair.
QualifiersIsEmpty filters out package versions that have no qualifiers.
QualifiersIsNil applies the IsNil predicate on the "qualifiers" field.
QualifiersMatch constructs a JSON field query for the given qualifiers.
QualifiersNotNil applies the NotNil predicate on the "qualifiers" field.
QualifiersSizeMatch checks the size of the qualifiers array is the expected one.
QualifiersWithKeys filters out package versions that do not have the given qualifier keys.
Subpath applies equality check predicate on the "subpath" field.
SubpathContains applies the Contains predicate on the "subpath" field.
SubpathContainsFold applies the ContainsFold predicate on the "subpath" field.
SubpathEQ applies the EQ predicate on the "subpath" field.
SubpathEqualFold applies the EqualFold predicate on the "subpath" field.
SubpathGT applies the GT predicate on the "subpath" field.
SubpathGTE applies the GTE predicate on the "subpath" field.
SubpathHasPrefix applies the HasPrefix predicate on the "subpath" field.
SubpathHasSuffix applies the HasSuffix predicate on the "subpath" field.
SubpathIn applies the In predicate on the "subpath" field.
SubpathLT applies the LT predicate on the "subpath" field.
SubpathLTE applies the LTE predicate on the "subpath" field.
SubpathNEQ applies the NEQ predicate on the "subpath" field.
SubpathNotIn applies the NotIn predicate on the "subpath" field.
ValidColumn reports if the column name is valid (part of the table columns).
Version applies equality check predicate on the "version" field.
VersionContains applies the Contains predicate on the "version" field.
VersionContainsFold applies the ContainsFold predicate on the "version" field.
VersionEQ applies the EQ predicate on the "version" field.
VersionEqualFold applies the EqualFold predicate on the "version" field.
VersionGT applies the GT predicate on the "version" field.
VersionGTE applies the GTE predicate on the "version" field.
VersionHasPrefix applies the HasPrefix predicate on the "version" field.
VersionHasSuffix applies the HasSuffix predicate on the "version" field.
VersionIn applies the In predicate on the "version" field.
VersionLT applies the LT predicate on the "version" field.
VersionLTE applies the LTE predicate on the "version" field.
VersionNEQ applies the NEQ predicate on the "version" field.
VersionNotIn applies the NotIn predicate on the "version" field.

# Constants

CertificationColumn is the table column denoting the certification relation/edge.
CertificationInverseTable is the table name for the Certification entity.
CertificationTable is the table that holds the certification relation/edge.
CertifyLegalColumn is the table column denoting the certify_legal relation/edge.
CertifyLegalInverseTable is the table name for the CertifyLegal entity.
CertifyLegalTable is the table that holds the certify_legal relation/edge.
DependencyColumn is the table column denoting the dependency relation/edge.
DependencyInverseTable is the table name for the Dependency entity.
DependencySubjectColumn is the table column denoting the dependency_subject relation/edge.
DependencySubjectInverseTable is the table name for the Dependency entity.
DependencySubjectTable is the table that holds the dependency_subject relation/edge.
DependencyTable is the table that holds the dependency relation/edge.
EdgeCertification holds the string denoting the certification edge name in mutations.
EdgeCertifyLegal holds the string denoting the certify_legal edge name in mutations.
EdgeDependency holds the string denoting the dependency edge name in mutations.
EdgeDependencySubject holds the string denoting the dependency_subject edge name in mutations.
EdgeHasSourceAt holds the string denoting the has_source_at edge name in mutations.
EdgeIncludedInSboms holds the string denoting the included_in_sboms edge name in mutations.
EdgeMetadata holds the string denoting the metadata edge name in mutations.
EdgeName holds the string denoting the name edge name in mutations.
EdgeOccurrences holds the string denoting the occurrences edge name in mutations.
EdgePkgEqualPkgA holds the string denoting the pkg_equal_pkg_a edge name in mutations.
EdgePkgEqualPkgB holds the string denoting the pkg_equal_pkg_b edge name in mutations.
EdgePoc holds the string denoting the poc edge name in mutations.
EdgeSbom holds the string denoting the sbom edge name in mutations.
EdgeVex holds the string denoting the vex edge name in mutations.
EdgeVuln holds the string denoting the vuln edge name in mutations.
FieldHash holds the string denoting the hash field in the database.
FieldID holds the string denoting the id field in the database.
FieldNameID holds the string denoting the name_id field in the database.
FieldQualifiers holds the string denoting the qualifiers field in the database.
FieldSubpath holds the string denoting the subpath field in the database.
FieldVersion holds the string denoting the version field in the database.
HasSourceAtColumn is the table column denoting the has_source_at relation/edge.
HasSourceAtInverseTable is the table name for the HasSourceAt entity.
HasSourceAtTable is the table that holds the has_source_at relation/edge.
IncludedInSbomsInverseTable is the table name for the BillOfMaterials entity.
IncludedInSbomsTable is the table that holds the included_in_sboms relation/edge.
Label holds the string label denoting the packageversion type in the database.
MetadataColumn is the table column denoting the metadata relation/edge.
MetadataInverseTable is the table name for the HasMetadata entity.
MetadataTable is the table that holds the metadata relation/edge.
NameColumn is the table column denoting the name relation/edge.
NameInverseTable is the table name for the PackageName entity.
NameTable is the table that holds the name relation/edge.
OccurrencesColumn is the table column denoting the occurrences relation/edge.
OccurrencesInverseTable is the table name for the Occurrence entity.
OccurrencesTable is the table that holds the occurrences relation/edge.
PkgEqualPkgAColumn is the table column denoting the pkg_equal_pkg_a relation/edge.
PkgEqualPkgAInverseTable is the table name for the PkgEqual entity.
PkgEqualPkgATable is the table that holds the pkg_equal_pkg_a relation/edge.
PkgEqualPkgBColumn is the table column denoting the pkg_equal_pkg_b relation/edge.
PkgEqualPkgBInverseTable is the table name for the PkgEqual entity.
PkgEqualPkgBTable is the table that holds the pkg_equal_pkg_b relation/edge.
PocColumn is the table column denoting the poc relation/edge.
PocInverseTable is the table name for the PointOfContact entity.
PocTable is the table that holds the poc relation/edge.
SbomColumn is the table column denoting the sbom relation/edge.
SbomInverseTable is the table name for the BillOfMaterials entity.
SbomTable is the table that holds the sbom relation/edge.
Table holds the table name of the packageversion in the database.
VexColumn is the table column denoting the vex relation/edge.
VexInverseTable is the table name for the CertifyVex entity.
VexTable is the table that holds the vex relation/edge.
VulnColumn is the table column denoting the vuln relation/edge.
VulnInverseTable is the table name for the CertifyVuln entity.
VulnTable is the table that holds the vuln relation/edge.

# Variables

Columns holds all SQL columns for packageversion fields.
DefaultID holds the default value on creation for the "id" field.
DefaultSubpath holds the default value on creation for the "subpath" field.
DefaultVersion holds the default value on creation for the "version" field.
IncludedInSbomsPrimaryKey and IncludedInSbomsColumn2 are the table columns denoting the primary key for the included_in_sboms relation (M2M).

# Type aliases

OrderOption defines the ordering options for the PackageVersion queries.