Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.CertifyVex) predicate.CertifyVex
- func ArtifactID(v uuid.UUID) predicate.CertifyVex
- func ArtifactIDEQ(v uuid.UUID) predicate.CertifyVex
- func ArtifactIDIn(vs ...uuid.UUID) predicate.CertifyVex
- func ArtifactIDIsNil() predicate.CertifyVex
- func ArtifactIDNEQ(v uuid.UUID) predicate.CertifyVex
- func ArtifactIDNotIn(vs ...uuid.UUID) predicate.CertifyVex
- func ArtifactIDNotNil() predicate.CertifyVex
- func Collector(v string) predicate.CertifyVex
- func CollectorContains(v string) predicate.CertifyVex
- func CollectorContainsFold(v string) predicate.CertifyVex
- func CollectorEQ(v string) predicate.CertifyVex
- func CollectorEqualFold(v string) predicate.CertifyVex
- func CollectorGT(v string) predicate.CertifyVex
- func CollectorGTE(v string) predicate.CertifyVex
- func CollectorHasPrefix(v string) predicate.CertifyVex
- func CollectorHasSuffix(v string) predicate.CertifyVex
- func CollectorIn(vs ...string) predicate.CertifyVex
- func CollectorLT(v string) predicate.CertifyVex
- func CollectorLTE(v string) predicate.CertifyVex
- func CollectorNEQ(v string) predicate.CertifyVex
- func CollectorNotIn(vs ...string) predicate.CertifyVex
- func DocumentRef(v string) predicate.CertifyVex
- func DocumentRefContains(v string) predicate.CertifyVex
- func DocumentRefContainsFold(v string) predicate.CertifyVex
- func DocumentRefEQ(v string) predicate.CertifyVex
- func DocumentRefEqualFold(v string) predicate.CertifyVex
- func DocumentRefGT(v string) predicate.CertifyVex
- func DocumentRefGTE(v string) predicate.CertifyVex
- func DocumentRefHasPrefix(v string) predicate.CertifyVex
- func DocumentRefHasSuffix(v string) predicate.CertifyVex
- func DocumentRefIn(vs ...string) predicate.CertifyVex
- func DocumentRefLT(v string) predicate.CertifyVex
- func DocumentRefLTE(v string) predicate.CertifyVex
- func DocumentRefNEQ(v string) predicate.CertifyVex
- func DocumentRefNotIn(vs ...string) predicate.CertifyVex
- func HasArtifact() predicate.CertifyVex
- func HasArtifactWith(preds ...predicate.Artifact) predicate.CertifyVex
- func HasPackage() predicate.CertifyVex
- func HasPackageWith(preds ...predicate.PackageVersion) predicate.CertifyVex
- func HasVulnerability() predicate.CertifyVex
- func HasVulnerabilityWith(preds ...predicate.VulnerabilityID) predicate.CertifyVex
- func ID(id uuid.UUID) predicate.CertifyVex
- func IDEQ(id uuid.UUID) predicate.CertifyVex
- func IDGT(id uuid.UUID) predicate.CertifyVex
- func IDGTE(id uuid.UUID) predicate.CertifyVex
- func IDIn(ids ...uuid.UUID) predicate.CertifyVex
- func IDLT(id uuid.UUID) predicate.CertifyVex
- func IDLTE(id uuid.UUID) predicate.CertifyVex
- func IDNEQ(id uuid.UUID) predicate.CertifyVex
- func IDNotIn(ids ...uuid.UUID) predicate.CertifyVex
- func Justification(v string) predicate.CertifyVex
- func JustificationContains(v string) predicate.CertifyVex
- func JustificationContainsFold(v string) predicate.CertifyVex
- func JustificationEQ(v string) predicate.CertifyVex
- func JustificationEqualFold(v string) predicate.CertifyVex
- func JustificationGT(v string) predicate.CertifyVex
- func JustificationGTE(v string) predicate.CertifyVex
- func JustificationHasPrefix(v string) predicate.CertifyVex
- func JustificationHasSuffix(v string) predicate.CertifyVex
- func JustificationIn(vs ...string) predicate.CertifyVex
- func JustificationLT(v string) predicate.CertifyVex
- func JustificationLTE(v string) predicate.CertifyVex
- func JustificationNEQ(v string) predicate.CertifyVex
- func JustificationNotIn(vs ...string) predicate.CertifyVex
- func KnownSince(v time.Time) predicate.CertifyVex
- func KnownSinceEQ(v time.Time) predicate.CertifyVex
- func KnownSinceGT(v time.Time) predicate.CertifyVex
- func KnownSinceGTE(v time.Time) predicate.CertifyVex
- func KnownSinceIn(vs ...time.Time) predicate.CertifyVex
- func KnownSinceLT(v time.Time) predicate.CertifyVex
- func KnownSinceLTE(v time.Time) predicate.CertifyVex
- func KnownSinceNEQ(v time.Time) predicate.CertifyVex
- func KnownSinceNotIn(vs ...time.Time) predicate.CertifyVex
- func Not(p predicate.CertifyVex) predicate.CertifyVex
- func Or(predicates ...predicate.CertifyVex) predicate.CertifyVex
- func Origin(v string) predicate.CertifyVex
- func OriginContains(v string) predicate.CertifyVex
- func OriginContainsFold(v string) predicate.CertifyVex
- func OriginEQ(v string) predicate.CertifyVex
- func OriginEqualFold(v string) predicate.CertifyVex
- func OriginGT(v string) predicate.CertifyVex
- func OriginGTE(v string) predicate.CertifyVex
- func OriginHasPrefix(v string) predicate.CertifyVex
- func OriginHasSuffix(v string) predicate.CertifyVex
- func OriginIn(vs ...string) predicate.CertifyVex
- func OriginLT(v string) predicate.CertifyVex
- func OriginLTE(v string) predicate.CertifyVex
- func OriginNEQ(v string) predicate.CertifyVex
- func OriginNotIn(vs ...string) predicate.CertifyVex
- func PackageID(v uuid.UUID) predicate.CertifyVex
- func PackageIDEQ(v uuid.UUID) predicate.CertifyVex
- func PackageIDIn(vs ...uuid.UUID) predicate.CertifyVex
- func PackageIDIsNil() predicate.CertifyVex
- func PackageIDNEQ(v uuid.UUID) predicate.CertifyVex
- func PackageIDNotIn(vs ...uuid.UUID) predicate.CertifyVex
- func PackageIDNotNil() predicate.CertifyVex
- func Statement(v string) predicate.CertifyVex
- func StatementContains(v string) predicate.CertifyVex
- func StatementContainsFold(v string) predicate.CertifyVex
- func StatementEQ(v string) predicate.CertifyVex
- func StatementEqualFold(v string) predicate.CertifyVex
- func StatementGT(v string) predicate.CertifyVex
- func StatementGTE(v string) predicate.CertifyVex
- func StatementHasPrefix(v string) predicate.CertifyVex
- func StatementHasSuffix(v string) predicate.CertifyVex
- func StatementIn(vs ...string) predicate.CertifyVex
- func StatementLT(v string) predicate.CertifyVex
- func StatementLTE(v string) predicate.CertifyVex
- func StatementNEQ(v string) predicate.CertifyVex
- func StatementNotIn(vs ...string) predicate.CertifyVex
- func Status(v string) predicate.CertifyVex
- func StatusContains(v string) predicate.CertifyVex
- func StatusContainsFold(v string) predicate.CertifyVex
- func StatusEQ(v string) predicate.CertifyVex
- func StatusEqualFold(v string) predicate.CertifyVex
- func StatusGT(v string) predicate.CertifyVex
- func StatusGTE(v string) predicate.CertifyVex
- func StatusHasPrefix(v string) predicate.CertifyVex
- func StatusHasSuffix(v string) predicate.CertifyVex
- func StatusIn(vs ...string) predicate.CertifyVex
- func StatusLT(v string) predicate.CertifyVex
- func StatusLTE(v string) predicate.CertifyVex
- func StatusNEQ(v string) predicate.CertifyVex
- func StatusNotIn(vs ...string) predicate.CertifyVex
- func StatusNotes(v string) predicate.CertifyVex
- func StatusNotesContains(v string) predicate.CertifyVex
- func StatusNotesContainsFold(v string) predicate.CertifyVex
- func StatusNotesEQ(v string) predicate.CertifyVex
- func StatusNotesEqualFold(v string) predicate.CertifyVex
- func StatusNotesGT(v string) predicate.CertifyVex
- func StatusNotesGTE(v string) predicate.CertifyVex
- func StatusNotesHasPrefix(v string) predicate.CertifyVex
- func StatusNotesHasSuffix(v string) predicate.CertifyVex
- func StatusNotesIn(vs ...string) predicate.CertifyVex
- func StatusNotesLT(v string) predicate.CertifyVex
- func StatusNotesLTE(v string) predicate.CertifyVex
- func StatusNotesNEQ(v string) predicate.CertifyVex
- func StatusNotesNotIn(vs ...string) predicate.CertifyVex
- func ValidColumn(column string) bool
- func VulnerabilityID(v uuid.UUID) predicate.CertifyVex
- func VulnerabilityIDEQ(v uuid.UUID) predicate.CertifyVex
- func VulnerabilityIDIn(vs ...uuid.UUID) predicate.CertifyVex
- func VulnerabilityIDNEQ(v uuid.UUID) predicate.CertifyVex
- func VulnerabilityIDNotIn(vs ...uuid.UUID) predicate.CertifyVex
- type OrderOption
- func ByArtifactField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByArtifactID(opts ...sql.OrderTermOption) OrderOption
- func ByCollector(opts ...sql.OrderTermOption) OrderOption
- func ByDocumentRef(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByJustification(opts ...sql.OrderTermOption) OrderOption
- func ByKnownSince(opts ...sql.OrderTermOption) OrderOption
- func ByOrigin(opts ...sql.OrderTermOption) OrderOption
- func ByPackageField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByPackageID(opts ...sql.OrderTermOption) OrderOption
- func ByStatement(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func ByStatusNotes(opts ...sql.OrderTermOption) OrderOption
- func ByVulnerabilityField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByVulnerabilityID(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the certifyvex type in the database. Label = "certify_vex" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldPackageID holds the string denoting the package_id field in the database. FieldPackageID = "package_id" // FieldArtifactID holds the string denoting the artifact_id field in the database. FieldArtifactID = "artifact_id" // FieldVulnerabilityID holds the string denoting the vulnerability_id field in the database. FieldVulnerabilityID = "vulnerability_id" // FieldKnownSince holds the string denoting the known_since field in the database. FieldKnownSince = "known_since" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldStatement holds the string denoting the statement field in the database. FieldStatement = "statement" // FieldStatusNotes holds the string denoting the status_notes field in the database. FieldStatusNotes = "status_notes" // FieldJustification holds the string denoting the justification field in the database. FieldJustification = "justification" // 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" // EdgePackage holds the string denoting the package edge name in mutations. EdgePackage = "package" // EdgeArtifact holds the string denoting the artifact edge name in mutations. EdgeArtifact = "artifact" // EdgeVulnerability holds the string denoting the vulnerability edge name in mutations. EdgeVulnerability = "vulnerability" // Table holds the table name of the certifyvex in the database. Table = "certify_vexes" // PackageTable is the table that holds the package relation/edge. PackageTable = "certify_vexes" // 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" // ArtifactTable is the table that holds the artifact relation/edge. ArtifactTable = "certify_vexes" // ArtifactInverseTable is the table name for the Artifact entity. // It exists in this package in order to avoid circular dependency with the "artifact" package. ArtifactInverseTable = "artifacts" // ArtifactColumn is the table column denoting the artifact relation/edge. ArtifactColumn = "artifact_id" // VulnerabilityTable is the table that holds the vulnerability relation/edge. VulnerabilityTable = "certify_vexes" // 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" )
Variables ¶
var Columns = []string{ FieldID, FieldPackageID, FieldArtifactID, FieldVulnerabilityID, FieldKnownSince, FieldStatus, FieldStatement, FieldStatusNotes, FieldJustification, FieldOrigin, FieldCollector, FieldDocumentRef, }
Columns holds all SQL columns for certifyvex fields.
var ( // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
Functions ¶
func And ¶
func And(predicates ...predicate.CertifyVex) predicate.CertifyVex
And groups predicates with the AND operator between them.
func ArtifactID ¶
func ArtifactID(v uuid.UUID) predicate.CertifyVex
ArtifactID applies equality check predicate on the "artifact_id" field. It's identical to ArtifactIDEQ.
func ArtifactIDEQ ¶
func ArtifactIDEQ(v uuid.UUID) predicate.CertifyVex
ArtifactIDEQ applies the EQ predicate on the "artifact_id" field.
func ArtifactIDIn ¶
func ArtifactIDIn(vs ...uuid.UUID) predicate.CertifyVex
ArtifactIDIn applies the In predicate on the "artifact_id" field.
func ArtifactIDIsNil ¶
func ArtifactIDIsNil() predicate.CertifyVex
ArtifactIDIsNil applies the IsNil predicate on the "artifact_id" field.
func ArtifactIDNEQ ¶
func ArtifactIDNEQ(v uuid.UUID) predicate.CertifyVex
ArtifactIDNEQ applies the NEQ predicate on the "artifact_id" field.
func ArtifactIDNotIn ¶
func ArtifactIDNotIn(vs ...uuid.UUID) predicate.CertifyVex
ArtifactIDNotIn applies the NotIn predicate on the "artifact_id" field.
func ArtifactIDNotNil ¶
func ArtifactIDNotNil() predicate.CertifyVex
ArtifactIDNotNil applies the NotNil predicate on the "artifact_id" field.
func Collector ¶
func Collector(v string) predicate.CertifyVex
Collector applies equality check predicate on the "collector" field. It's identical to CollectorEQ.
func CollectorContains ¶
func CollectorContains(v string) predicate.CertifyVex
CollectorContains applies the Contains predicate on the "collector" field.
func CollectorContainsFold ¶
func CollectorContainsFold(v string) predicate.CertifyVex
CollectorContainsFold applies the ContainsFold predicate on the "collector" field.
func CollectorEQ ¶
func CollectorEQ(v string) predicate.CertifyVex
CollectorEQ applies the EQ predicate on the "collector" field.
func CollectorEqualFold ¶
func CollectorEqualFold(v string) predicate.CertifyVex
CollectorEqualFold applies the EqualFold predicate on the "collector" field.
func CollectorGT ¶
func CollectorGT(v string) predicate.CertifyVex
CollectorGT applies the GT predicate on the "collector" field.
func CollectorGTE ¶
func CollectorGTE(v string) predicate.CertifyVex
CollectorGTE applies the GTE predicate on the "collector" field.
func CollectorHasPrefix ¶
func CollectorHasPrefix(v string) predicate.CertifyVex
CollectorHasPrefix applies the HasPrefix predicate on the "collector" field.
func CollectorHasSuffix ¶
func CollectorHasSuffix(v string) predicate.CertifyVex
CollectorHasSuffix applies the HasSuffix predicate on the "collector" field.
func CollectorIn ¶
func CollectorIn(vs ...string) predicate.CertifyVex
CollectorIn applies the In predicate on the "collector" field.
func CollectorLT ¶
func CollectorLT(v string) predicate.CertifyVex
CollectorLT applies the LT predicate on the "collector" field.
func CollectorLTE ¶
func CollectorLTE(v string) predicate.CertifyVex
CollectorLTE applies the LTE predicate on the "collector" field.
func CollectorNEQ ¶
func CollectorNEQ(v string) predicate.CertifyVex
CollectorNEQ applies the NEQ predicate on the "collector" field.
func CollectorNotIn ¶
func CollectorNotIn(vs ...string) predicate.CertifyVex
CollectorNotIn applies the NotIn predicate on the "collector" field.
func DocumentRef ¶ added in v0.6.0
func DocumentRef(v string) predicate.CertifyVex
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.CertifyVex
DocumentRefContains applies the Contains predicate on the "document_ref" field.
func DocumentRefContainsFold ¶ added in v0.6.0
func DocumentRefContainsFold(v string) predicate.CertifyVex
DocumentRefContainsFold applies the ContainsFold predicate on the "document_ref" field.
func DocumentRefEQ ¶ added in v0.6.0
func DocumentRefEQ(v string) predicate.CertifyVex
DocumentRefEQ applies the EQ predicate on the "document_ref" field.
func DocumentRefEqualFold ¶ added in v0.6.0
func DocumentRefEqualFold(v string) predicate.CertifyVex
DocumentRefEqualFold applies the EqualFold predicate on the "document_ref" field.
func DocumentRefGT ¶ added in v0.6.0
func DocumentRefGT(v string) predicate.CertifyVex
DocumentRefGT applies the GT predicate on the "document_ref" field.
func DocumentRefGTE ¶ added in v0.6.0
func DocumentRefGTE(v string) predicate.CertifyVex
DocumentRefGTE applies the GTE predicate on the "document_ref" field.
func DocumentRefHasPrefix ¶ added in v0.6.0
func DocumentRefHasPrefix(v string) predicate.CertifyVex
DocumentRefHasPrefix applies the HasPrefix predicate on the "document_ref" field.
func DocumentRefHasSuffix ¶ added in v0.6.0
func DocumentRefHasSuffix(v string) predicate.CertifyVex
DocumentRefHasSuffix applies the HasSuffix predicate on the "document_ref" field.
func DocumentRefIn ¶ added in v0.6.0
func DocumentRefIn(vs ...string) predicate.CertifyVex
DocumentRefIn applies the In predicate on the "document_ref" field.
func DocumentRefLT ¶ added in v0.6.0
func DocumentRefLT(v string) predicate.CertifyVex
DocumentRefLT applies the LT predicate on the "document_ref" field.
func DocumentRefLTE ¶ added in v0.6.0
func DocumentRefLTE(v string) predicate.CertifyVex
DocumentRefLTE applies the LTE predicate on the "document_ref" field.
func DocumentRefNEQ ¶ added in v0.6.0
func DocumentRefNEQ(v string) predicate.CertifyVex
DocumentRefNEQ applies the NEQ predicate on the "document_ref" field.
func DocumentRefNotIn ¶ added in v0.6.0
func DocumentRefNotIn(vs ...string) predicate.CertifyVex
DocumentRefNotIn applies the NotIn predicate on the "document_ref" field.
func HasArtifact ¶
func HasArtifact() predicate.CertifyVex
HasArtifact applies the HasEdge predicate on the "artifact" edge.
func HasArtifactWith ¶
func HasArtifactWith(preds ...predicate.Artifact) predicate.CertifyVex
HasArtifactWith applies the HasEdge predicate on the "artifact" edge with a given conditions (other predicates).
func HasPackage ¶
func HasPackage() predicate.CertifyVex
HasPackage applies the HasEdge predicate on the "package" edge.
func HasPackageWith ¶
func HasPackageWith(preds ...predicate.PackageVersion) predicate.CertifyVex
HasPackageWith applies the HasEdge predicate on the "package" edge with a given conditions (other predicates).
func HasVulnerability ¶
func HasVulnerability() predicate.CertifyVex
HasVulnerability applies the HasEdge predicate on the "vulnerability" edge.
func HasVulnerabilityWith ¶
func HasVulnerabilityWith(preds ...predicate.VulnerabilityID) predicate.CertifyVex
HasVulnerabilityWith applies the HasEdge predicate on the "vulnerability" edge with a given conditions (other predicates).
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.CertifyVex
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.CertifyVex
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.CertifyVex
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.CertifyVex
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.CertifyVex
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.CertifyVex
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.CertifyVex
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.CertifyVex
IDNotIn applies the NotIn predicate on the ID field.
func Justification ¶
func Justification(v string) predicate.CertifyVex
Justification applies equality check predicate on the "justification" field. It's identical to JustificationEQ.
func JustificationContains ¶
func JustificationContains(v string) predicate.CertifyVex
JustificationContains applies the Contains predicate on the "justification" field.
func JustificationContainsFold ¶
func JustificationContainsFold(v string) predicate.CertifyVex
JustificationContainsFold applies the ContainsFold predicate on the "justification" field.
func JustificationEQ ¶
func JustificationEQ(v string) predicate.CertifyVex
JustificationEQ applies the EQ predicate on the "justification" field.
func JustificationEqualFold ¶
func JustificationEqualFold(v string) predicate.CertifyVex
JustificationEqualFold applies the EqualFold predicate on the "justification" field.
func JustificationGT ¶
func JustificationGT(v string) predicate.CertifyVex
JustificationGT applies the GT predicate on the "justification" field.
func JustificationGTE ¶
func JustificationGTE(v string) predicate.CertifyVex
JustificationGTE applies the GTE predicate on the "justification" field.
func JustificationHasPrefix ¶
func JustificationHasPrefix(v string) predicate.CertifyVex
JustificationHasPrefix applies the HasPrefix predicate on the "justification" field.
func JustificationHasSuffix ¶
func JustificationHasSuffix(v string) predicate.CertifyVex
JustificationHasSuffix applies the HasSuffix predicate on the "justification" field.
func JustificationIn ¶
func JustificationIn(vs ...string) predicate.CertifyVex
JustificationIn applies the In predicate on the "justification" field.
func JustificationLT ¶
func JustificationLT(v string) predicate.CertifyVex
JustificationLT applies the LT predicate on the "justification" field.
func JustificationLTE ¶
func JustificationLTE(v string) predicate.CertifyVex
JustificationLTE applies the LTE predicate on the "justification" field.
func JustificationNEQ ¶
func JustificationNEQ(v string) predicate.CertifyVex
JustificationNEQ applies the NEQ predicate on the "justification" field.
func JustificationNotIn ¶
func JustificationNotIn(vs ...string) predicate.CertifyVex
JustificationNotIn applies the NotIn predicate on the "justification" field.
func KnownSince ¶
func KnownSince(v time.Time) predicate.CertifyVex
KnownSince applies equality check predicate on the "known_since" field. It's identical to KnownSinceEQ.
func KnownSinceEQ ¶
func KnownSinceEQ(v time.Time) predicate.CertifyVex
KnownSinceEQ applies the EQ predicate on the "known_since" field.
func KnownSinceGT ¶
func KnownSinceGT(v time.Time) predicate.CertifyVex
KnownSinceGT applies the GT predicate on the "known_since" field.
func KnownSinceGTE ¶
func KnownSinceGTE(v time.Time) predicate.CertifyVex
KnownSinceGTE applies the GTE predicate on the "known_since" field.
func KnownSinceIn ¶
func KnownSinceIn(vs ...time.Time) predicate.CertifyVex
KnownSinceIn applies the In predicate on the "known_since" field.
func KnownSinceLT ¶
func KnownSinceLT(v time.Time) predicate.CertifyVex
KnownSinceLT applies the LT predicate on the "known_since" field.
func KnownSinceLTE ¶
func KnownSinceLTE(v time.Time) predicate.CertifyVex
KnownSinceLTE applies the LTE predicate on the "known_since" field.
func KnownSinceNEQ ¶
func KnownSinceNEQ(v time.Time) predicate.CertifyVex
KnownSinceNEQ applies the NEQ predicate on the "known_since" field.
func KnownSinceNotIn ¶
func KnownSinceNotIn(vs ...time.Time) predicate.CertifyVex
KnownSinceNotIn applies the NotIn predicate on the "known_since" field.
func Not ¶
func Not(p predicate.CertifyVex) predicate.CertifyVex
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.CertifyVex) predicate.CertifyVex
Or groups predicates with the OR operator between them.
func Origin ¶
func Origin(v string) predicate.CertifyVex
Origin applies equality check predicate on the "origin" field. It's identical to OriginEQ.
func OriginContains ¶
func OriginContains(v string) predicate.CertifyVex
OriginContains applies the Contains predicate on the "origin" field.
func OriginContainsFold ¶
func OriginContainsFold(v string) predicate.CertifyVex
OriginContainsFold applies the ContainsFold predicate on the "origin" field.
func OriginEQ ¶
func OriginEQ(v string) predicate.CertifyVex
OriginEQ applies the EQ predicate on the "origin" field.
func OriginEqualFold ¶
func OriginEqualFold(v string) predicate.CertifyVex
OriginEqualFold applies the EqualFold predicate on the "origin" field.
func OriginGT ¶
func OriginGT(v string) predicate.CertifyVex
OriginGT applies the GT predicate on the "origin" field.
func OriginGTE ¶
func OriginGTE(v string) predicate.CertifyVex
OriginGTE applies the GTE predicate on the "origin" field.
func OriginHasPrefix ¶
func OriginHasPrefix(v string) predicate.CertifyVex
OriginHasPrefix applies the HasPrefix predicate on the "origin" field.
func OriginHasSuffix ¶
func OriginHasSuffix(v string) predicate.CertifyVex
OriginHasSuffix applies the HasSuffix predicate on the "origin" field.
func OriginIn ¶
func OriginIn(vs ...string) predicate.CertifyVex
OriginIn applies the In predicate on the "origin" field.
func OriginLT ¶
func OriginLT(v string) predicate.CertifyVex
OriginLT applies the LT predicate on the "origin" field.
func OriginLTE ¶
func OriginLTE(v string) predicate.CertifyVex
OriginLTE applies the LTE predicate on the "origin" field.
func OriginNEQ ¶
func OriginNEQ(v string) predicate.CertifyVex
OriginNEQ applies the NEQ predicate on the "origin" field.
func OriginNotIn ¶
func OriginNotIn(vs ...string) predicate.CertifyVex
OriginNotIn applies the NotIn predicate on the "origin" field.
func PackageID ¶
func PackageID(v uuid.UUID) predicate.CertifyVex
PackageID applies equality check predicate on the "package_id" field. It's identical to PackageIDEQ.
func PackageIDEQ ¶
func PackageIDEQ(v uuid.UUID) predicate.CertifyVex
PackageIDEQ applies the EQ predicate on the "package_id" field.
func PackageIDIn ¶
func PackageIDIn(vs ...uuid.UUID) predicate.CertifyVex
PackageIDIn applies the In predicate on the "package_id" field.
func PackageIDIsNil ¶
func PackageIDIsNil() predicate.CertifyVex
PackageIDIsNil applies the IsNil predicate on the "package_id" field.
func PackageIDNEQ ¶
func PackageIDNEQ(v uuid.UUID) predicate.CertifyVex
PackageIDNEQ applies the NEQ predicate on the "package_id" field.
func PackageIDNotIn ¶
func PackageIDNotIn(vs ...uuid.UUID) predicate.CertifyVex
PackageIDNotIn applies the NotIn predicate on the "package_id" field.
func PackageIDNotNil ¶
func PackageIDNotNil() predicate.CertifyVex
PackageIDNotNil applies the NotNil predicate on the "package_id" field.
func Statement ¶
func Statement(v string) predicate.CertifyVex
Statement applies equality check predicate on the "statement" field. It's identical to StatementEQ.
func StatementContains ¶
func StatementContains(v string) predicate.CertifyVex
StatementContains applies the Contains predicate on the "statement" field.
func StatementContainsFold ¶
func StatementContainsFold(v string) predicate.CertifyVex
StatementContainsFold applies the ContainsFold predicate on the "statement" field.
func StatementEQ ¶
func StatementEQ(v string) predicate.CertifyVex
StatementEQ applies the EQ predicate on the "statement" field.
func StatementEqualFold ¶
func StatementEqualFold(v string) predicate.CertifyVex
StatementEqualFold applies the EqualFold predicate on the "statement" field.
func StatementGT ¶
func StatementGT(v string) predicate.CertifyVex
StatementGT applies the GT predicate on the "statement" field.
func StatementGTE ¶
func StatementGTE(v string) predicate.CertifyVex
StatementGTE applies the GTE predicate on the "statement" field.
func StatementHasPrefix ¶
func StatementHasPrefix(v string) predicate.CertifyVex
StatementHasPrefix applies the HasPrefix predicate on the "statement" field.
func StatementHasSuffix ¶
func StatementHasSuffix(v string) predicate.CertifyVex
StatementHasSuffix applies the HasSuffix predicate on the "statement" field.
func StatementIn ¶
func StatementIn(vs ...string) predicate.CertifyVex
StatementIn applies the In predicate on the "statement" field.
func StatementLT ¶
func StatementLT(v string) predicate.CertifyVex
StatementLT applies the LT predicate on the "statement" field.
func StatementLTE ¶
func StatementLTE(v string) predicate.CertifyVex
StatementLTE applies the LTE predicate on the "statement" field.
func StatementNEQ ¶
func StatementNEQ(v string) predicate.CertifyVex
StatementNEQ applies the NEQ predicate on the "statement" field.
func StatementNotIn ¶
func StatementNotIn(vs ...string) predicate.CertifyVex
StatementNotIn applies the NotIn predicate on the "statement" field.
func Status ¶
func Status(v string) predicate.CertifyVex
Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
func StatusContains ¶
func StatusContains(v string) predicate.CertifyVex
StatusContains applies the Contains predicate on the "status" field.
func StatusContainsFold ¶
func StatusContainsFold(v string) predicate.CertifyVex
StatusContainsFold applies the ContainsFold predicate on the "status" field.
func StatusEQ ¶
func StatusEQ(v string) predicate.CertifyVex
StatusEQ applies the EQ predicate on the "status" field.
func StatusEqualFold ¶
func StatusEqualFold(v string) predicate.CertifyVex
StatusEqualFold applies the EqualFold predicate on the "status" field.
func StatusGT ¶
func StatusGT(v string) predicate.CertifyVex
StatusGT applies the GT predicate on the "status" field.
func StatusGTE ¶
func StatusGTE(v string) predicate.CertifyVex
StatusGTE applies the GTE predicate on the "status" field.
func StatusHasPrefix ¶
func StatusHasPrefix(v string) predicate.CertifyVex
StatusHasPrefix applies the HasPrefix predicate on the "status" field.
func StatusHasSuffix ¶
func StatusHasSuffix(v string) predicate.CertifyVex
StatusHasSuffix applies the HasSuffix predicate on the "status" field.
func StatusIn ¶
func StatusIn(vs ...string) predicate.CertifyVex
StatusIn applies the In predicate on the "status" field.
func StatusLT ¶
func StatusLT(v string) predicate.CertifyVex
StatusLT applies the LT predicate on the "status" field.
func StatusLTE ¶
func StatusLTE(v string) predicate.CertifyVex
StatusLTE applies the LTE predicate on the "status" field.
func StatusNEQ ¶
func StatusNEQ(v string) predicate.CertifyVex
StatusNEQ applies the NEQ predicate on the "status" field.
func StatusNotIn ¶
func StatusNotIn(vs ...string) predicate.CertifyVex
StatusNotIn applies the NotIn predicate on the "status" field.
func StatusNotes ¶
func StatusNotes(v string) predicate.CertifyVex
StatusNotes applies equality check predicate on the "status_notes" field. It's identical to StatusNotesEQ.
func StatusNotesContains ¶
func StatusNotesContains(v string) predicate.CertifyVex
StatusNotesContains applies the Contains predicate on the "status_notes" field.
func StatusNotesContainsFold ¶
func StatusNotesContainsFold(v string) predicate.CertifyVex
StatusNotesContainsFold applies the ContainsFold predicate on the "status_notes" field.
func StatusNotesEQ ¶
func StatusNotesEQ(v string) predicate.CertifyVex
StatusNotesEQ applies the EQ predicate on the "status_notes" field.
func StatusNotesEqualFold ¶
func StatusNotesEqualFold(v string) predicate.CertifyVex
StatusNotesEqualFold applies the EqualFold predicate on the "status_notes" field.
func StatusNotesGT ¶
func StatusNotesGT(v string) predicate.CertifyVex
StatusNotesGT applies the GT predicate on the "status_notes" field.
func StatusNotesGTE ¶
func StatusNotesGTE(v string) predicate.CertifyVex
StatusNotesGTE applies the GTE predicate on the "status_notes" field.
func StatusNotesHasPrefix ¶
func StatusNotesHasPrefix(v string) predicate.CertifyVex
StatusNotesHasPrefix applies the HasPrefix predicate on the "status_notes" field.
func StatusNotesHasSuffix ¶
func StatusNotesHasSuffix(v string) predicate.CertifyVex
StatusNotesHasSuffix applies the HasSuffix predicate on the "status_notes" field.
func StatusNotesIn ¶
func StatusNotesIn(vs ...string) predicate.CertifyVex
StatusNotesIn applies the In predicate on the "status_notes" field.
func StatusNotesLT ¶
func StatusNotesLT(v string) predicate.CertifyVex
StatusNotesLT applies the LT predicate on the "status_notes" field.
func StatusNotesLTE ¶
func StatusNotesLTE(v string) predicate.CertifyVex
StatusNotesLTE applies the LTE predicate on the "status_notes" field.
func StatusNotesNEQ ¶
func StatusNotesNEQ(v string) predicate.CertifyVex
StatusNotesNEQ applies the NEQ predicate on the "status_notes" field.
func StatusNotesNotIn ¶
func StatusNotesNotIn(vs ...string) predicate.CertifyVex
StatusNotesNotIn applies the NotIn predicate on the "status_notes" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func VulnerabilityID ¶
func VulnerabilityID(v uuid.UUID) predicate.CertifyVex
VulnerabilityID applies equality check predicate on the "vulnerability_id" field. It's identical to VulnerabilityIDEQ.
func VulnerabilityIDEQ ¶
func VulnerabilityIDEQ(v uuid.UUID) predicate.CertifyVex
VulnerabilityIDEQ applies the EQ predicate on the "vulnerability_id" field.
func VulnerabilityIDIn ¶
func VulnerabilityIDIn(vs ...uuid.UUID) predicate.CertifyVex
VulnerabilityIDIn applies the In predicate on the "vulnerability_id" field.
func VulnerabilityIDNEQ ¶
func VulnerabilityIDNEQ(v uuid.UUID) predicate.CertifyVex
VulnerabilityIDNEQ applies the NEQ predicate on the "vulnerability_id" field.
func VulnerabilityIDNotIn ¶
func VulnerabilityIDNotIn(vs ...uuid.UUID) predicate.CertifyVex
VulnerabilityIDNotIn applies the NotIn predicate on the "vulnerability_id" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the CertifyVex queries.
func ByArtifactField ¶
func ByArtifactField(field string, opts ...sql.OrderTermOption) OrderOption
ByArtifactField orders the results by artifact field.
func ByArtifactID ¶
func ByArtifactID(opts ...sql.OrderTermOption) OrderOption
ByArtifactID orders the results by the artifact_id field.
func ByCollector ¶
func ByCollector(opts ...sql.OrderTermOption) OrderOption
ByCollector orders the results by the collector 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 ByJustification ¶
func ByJustification(opts ...sql.OrderTermOption) OrderOption
ByJustification orders the results by the justification field.
func ByKnownSince ¶
func ByKnownSince(opts ...sql.OrderTermOption) OrderOption
ByKnownSince orders the results by the known_since 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 ByStatement ¶
func ByStatement(opts ...sql.OrderTermOption) OrderOption
ByStatement orders the results by the statement field.
func ByStatus ¶
func ByStatus(opts ...sql.OrderTermOption) OrderOption
ByStatus orders the results by the status field.
func ByStatusNotes ¶
func ByStatusNotes(opts ...sql.OrderTermOption) OrderOption
ByStatusNotes orders the results by the status_notes 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.