Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Certification) predicate.Certification
- func ArtifactID(v uuid.UUID) predicate.Certification
- func ArtifactIDEQ(v uuid.UUID) predicate.Certification
- func ArtifactIDIn(vs ...uuid.UUID) predicate.Certification
- func ArtifactIDIsNil() predicate.Certification
- func ArtifactIDNEQ(v uuid.UUID) predicate.Certification
- func ArtifactIDNotIn(vs ...uuid.UUID) predicate.Certification
- func ArtifactIDNotNil() predicate.Certification
- func Collector(v string) predicate.Certification
- func CollectorContains(v string) predicate.Certification
- func CollectorContainsFold(v string) predicate.Certification
- func CollectorEQ(v string) predicate.Certification
- func CollectorEqualFold(v string) predicate.Certification
- func CollectorGT(v string) predicate.Certification
- func CollectorGTE(v string) predicate.Certification
- func CollectorHasPrefix(v string) predicate.Certification
- func CollectorHasSuffix(v string) predicate.Certification
- func CollectorIn(vs ...string) predicate.Certification
- func CollectorLT(v string) predicate.Certification
- func CollectorLTE(v string) predicate.Certification
- func CollectorNEQ(v string) predicate.Certification
- func CollectorNotIn(vs ...string) predicate.Certification
- func DocumentRef(v string) predicate.Certification
- func DocumentRefContains(v string) predicate.Certification
- func DocumentRefContainsFold(v string) predicate.Certification
- func DocumentRefEQ(v string) predicate.Certification
- func DocumentRefEqualFold(v string) predicate.Certification
- func DocumentRefGT(v string) predicate.Certification
- func DocumentRefGTE(v string) predicate.Certification
- func DocumentRefHasPrefix(v string) predicate.Certification
- func DocumentRefHasSuffix(v string) predicate.Certification
- func DocumentRefIn(vs ...string) predicate.Certification
- func DocumentRefLT(v string) predicate.Certification
- func DocumentRefLTE(v string) predicate.Certification
- func DocumentRefNEQ(v string) predicate.Certification
- func DocumentRefNotIn(vs ...string) predicate.Certification
- func HasAllVersions() predicate.Certification
- func HasAllVersionsWith(preds ...predicate.PackageName) predicate.Certification
- func HasArtifact() predicate.Certification
- func HasArtifactWith(preds ...predicate.Artifact) predicate.Certification
- func HasPackageVersion() predicate.Certification
- func HasPackageVersionWith(preds ...predicate.PackageVersion) predicate.Certification
- func HasSource() predicate.Certification
- func HasSourceWith(preds ...predicate.SourceName) predicate.Certification
- func ID(id uuid.UUID) predicate.Certification
- func IDEQ(id uuid.UUID) predicate.Certification
- func IDGT(id uuid.UUID) predicate.Certification
- func IDGTE(id uuid.UUID) predicate.Certification
- func IDIn(ids ...uuid.UUID) predicate.Certification
- func IDLT(id uuid.UUID) predicate.Certification
- func IDLTE(id uuid.UUID) predicate.Certification
- func IDNEQ(id uuid.UUID) predicate.Certification
- func IDNotIn(ids ...uuid.UUID) predicate.Certification
- func Justification(v string) predicate.Certification
- func JustificationContains(v string) predicate.Certification
- func JustificationContainsFold(v string) predicate.Certification
- func JustificationEQ(v string) predicate.Certification
- func JustificationEqualFold(v string) predicate.Certification
- func JustificationGT(v string) predicate.Certification
- func JustificationGTE(v string) predicate.Certification
- func JustificationHasPrefix(v string) predicate.Certification
- func JustificationHasSuffix(v string) predicate.Certification
- func JustificationIn(vs ...string) predicate.Certification
- func JustificationLT(v string) predicate.Certification
- func JustificationLTE(v string) predicate.Certification
- func JustificationNEQ(v string) predicate.Certification
- func JustificationNotIn(vs ...string) predicate.Certification
- func KnownSince(v time.Time) predicate.Certification
- func KnownSinceEQ(v time.Time) predicate.Certification
- func KnownSinceGT(v time.Time) predicate.Certification
- func KnownSinceGTE(v time.Time) predicate.Certification
- func KnownSinceIn(vs ...time.Time) predicate.Certification
- func KnownSinceLT(v time.Time) predicate.Certification
- func KnownSinceLTE(v time.Time) predicate.Certification
- func KnownSinceNEQ(v time.Time) predicate.Certification
- func KnownSinceNotIn(vs ...time.Time) predicate.Certification
- func Not(p predicate.Certification) predicate.Certification
- func Or(predicates ...predicate.Certification) predicate.Certification
- func Origin(v string) predicate.Certification
- func OriginContains(v string) predicate.Certification
- func OriginContainsFold(v string) predicate.Certification
- func OriginEQ(v string) predicate.Certification
- func OriginEqualFold(v string) predicate.Certification
- func OriginGT(v string) predicate.Certification
- func OriginGTE(v string) predicate.Certification
- func OriginHasPrefix(v string) predicate.Certification
- func OriginHasSuffix(v string) predicate.Certification
- func OriginIn(vs ...string) predicate.Certification
- func OriginLT(v string) predicate.Certification
- func OriginLTE(v string) predicate.Certification
- func OriginNEQ(v string) predicate.Certification
- func OriginNotIn(vs ...string) predicate.Certification
- func PackageNameID(v uuid.UUID) predicate.Certification
- func PackageNameIDEQ(v uuid.UUID) predicate.Certification
- func PackageNameIDIn(vs ...uuid.UUID) predicate.Certification
- func PackageNameIDIsNil() predicate.Certification
- func PackageNameIDNEQ(v uuid.UUID) predicate.Certification
- func PackageNameIDNotIn(vs ...uuid.UUID) predicate.Certification
- func PackageNameIDNotNil() predicate.Certification
- func PackageVersionID(v uuid.UUID) predicate.Certification
- func PackageVersionIDEQ(v uuid.UUID) predicate.Certification
- func PackageVersionIDIn(vs ...uuid.UUID) predicate.Certification
- func PackageVersionIDIsNil() predicate.Certification
- func PackageVersionIDNEQ(v uuid.UUID) predicate.Certification
- func PackageVersionIDNotIn(vs ...uuid.UUID) predicate.Certification
- func PackageVersionIDNotNil() predicate.Certification
- func SourceID(v uuid.UUID) predicate.Certification
- func SourceIDEQ(v uuid.UUID) predicate.Certification
- func SourceIDIn(vs ...uuid.UUID) predicate.Certification
- func SourceIDIsNil() predicate.Certification
- func SourceIDNEQ(v uuid.UUID) predicate.Certification
- func SourceIDNotIn(vs ...uuid.UUID) predicate.Certification
- func SourceIDNotNil() predicate.Certification
- func TypeEQ(v Type) predicate.Certification
- func TypeIn(vs ...Type) predicate.Certification
- func TypeNEQ(v Type) predicate.Certification
- func TypeNotIn(vs ...Type) predicate.Certification
- func TypeValidator(_type Type) error
- func ValidColumn(column string) bool
- type OrderOption
- func ByAllVersionsField(field string, opts ...sql.OrderTermOption) 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 ByPackageNameID(opts ...sql.OrderTermOption) OrderOption
- func ByPackageVersionField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByPackageVersionID(opts ...sql.OrderTermOption) OrderOption
- func BySourceField(field string, opts ...sql.OrderTermOption) OrderOption
- func BySourceID(opts ...sql.OrderTermOption) OrderOption
- func ByType(opts ...sql.OrderTermOption) OrderOption
- type Type
Constants ¶
const ( // Label holds the string label denoting the certification type in the database. Label = "certification" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldSourceID holds the string denoting the source_id field in the database. FieldSourceID = "source_id" // FieldPackageVersionID holds the string denoting the package_version_id field in the database. FieldPackageVersionID = "package_version_id" // FieldPackageNameID holds the string denoting the package_name_id field in the database. FieldPackageNameID = "package_name_id" // FieldArtifactID holds the string denoting the artifact_id field in the database. FieldArtifactID = "artifact_id" // FieldType holds the string denoting the type field in the database. FieldType = "type" // FieldJustification holds the string denoting the justification field in the database. FieldJustification = "justification" // FieldKnownSince holds the string denoting the known_since field in the database. FieldKnownSince = "known_since" // 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" // EdgeSource holds the string denoting the source edge name in mutations. EdgeSource = "source" // EdgePackageVersion holds the string denoting the package_version edge name in mutations. EdgePackageVersion = "package_version" // EdgeAllVersions holds the string denoting the all_versions edge name in mutations. EdgeAllVersions = "all_versions" // EdgeArtifact holds the string denoting the artifact edge name in mutations. EdgeArtifact = "artifact" // Table holds the table name of the certification in the database. Table = "certifications" // SourceTable is the table that holds the source relation/edge. SourceTable = "certifications" // SourceInverseTable is the table name for the SourceName entity. // It exists in this package in order to avoid circular dependency with the "sourcename" package. SourceInverseTable = "source_names" // SourceColumn is the table column denoting the source relation/edge. SourceColumn = "source_id" // PackageVersionTable is the table that holds the package_version relation/edge. PackageVersionTable = "certifications" // PackageVersionInverseTable is the table name for the PackageVersion entity. // It exists in this package in order to avoid circular dependency with the "packageversion" package. PackageVersionInverseTable = "package_versions" // PackageVersionColumn is the table column denoting the package_version relation/edge. PackageVersionColumn = "package_version_id" // AllVersionsTable is the table that holds the all_versions relation/edge. AllVersionsTable = "certifications" // AllVersionsInverseTable is the table name for the PackageName entity. // It exists in this package in order to avoid circular dependency with the "packagename" package. AllVersionsInverseTable = "package_names" // AllVersionsColumn is the table column denoting the all_versions relation/edge. AllVersionsColumn = "package_name_id" // ArtifactTable is the table that holds the artifact relation/edge. ArtifactTable = "certifications" // 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" )
const DefaultType = TypeGOOD
TypeGOOD is the default value of the Type enum.
Variables ¶
var Columns = []string{ FieldID, FieldSourceID, FieldPackageVersionID, FieldPackageNameID, FieldArtifactID, FieldType, FieldJustification, FieldKnownSince, FieldOrigin, FieldCollector, FieldDocumentRef, }
Columns holds all SQL columns for certification fields.
var ( // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
Functions ¶
func And ¶
func And(predicates ...predicate.Certification) predicate.Certification
And groups predicates with the AND operator between them.
func ArtifactID ¶
func ArtifactID(v uuid.UUID) predicate.Certification
ArtifactID applies equality check predicate on the "artifact_id" field. It's identical to ArtifactIDEQ.
func ArtifactIDEQ ¶
func ArtifactIDEQ(v uuid.UUID) predicate.Certification
ArtifactIDEQ applies the EQ predicate on the "artifact_id" field.
func ArtifactIDIn ¶
func ArtifactIDIn(vs ...uuid.UUID) predicate.Certification
ArtifactIDIn applies the In predicate on the "artifact_id" field.
func ArtifactIDIsNil ¶
func ArtifactIDIsNil() predicate.Certification
ArtifactIDIsNil applies the IsNil predicate on the "artifact_id" field.
func ArtifactIDNEQ ¶
func ArtifactIDNEQ(v uuid.UUID) predicate.Certification
ArtifactIDNEQ applies the NEQ predicate on the "artifact_id" field.
func ArtifactIDNotIn ¶
func ArtifactIDNotIn(vs ...uuid.UUID) predicate.Certification
ArtifactIDNotIn applies the NotIn predicate on the "artifact_id" field.
func ArtifactIDNotNil ¶
func ArtifactIDNotNil() predicate.Certification
ArtifactIDNotNil applies the NotNil predicate on the "artifact_id" field.
func Collector ¶
func Collector(v string) predicate.Certification
Collector applies equality check predicate on the "collector" field. It's identical to CollectorEQ.
func CollectorContains ¶
func CollectorContains(v string) predicate.Certification
CollectorContains applies the Contains predicate on the "collector" field.
func CollectorContainsFold ¶
func CollectorContainsFold(v string) predicate.Certification
CollectorContainsFold applies the ContainsFold predicate on the "collector" field.
func CollectorEQ ¶
func CollectorEQ(v string) predicate.Certification
CollectorEQ applies the EQ predicate on the "collector" field.
func CollectorEqualFold ¶
func CollectorEqualFold(v string) predicate.Certification
CollectorEqualFold applies the EqualFold predicate on the "collector" field.
func CollectorGT ¶
func CollectorGT(v string) predicate.Certification
CollectorGT applies the GT predicate on the "collector" field.
func CollectorGTE ¶
func CollectorGTE(v string) predicate.Certification
CollectorGTE applies the GTE predicate on the "collector" field.
func CollectorHasPrefix ¶
func CollectorHasPrefix(v string) predicate.Certification
CollectorHasPrefix applies the HasPrefix predicate on the "collector" field.
func CollectorHasSuffix ¶
func CollectorHasSuffix(v string) predicate.Certification
CollectorHasSuffix applies the HasSuffix predicate on the "collector" field.
func CollectorIn ¶
func CollectorIn(vs ...string) predicate.Certification
CollectorIn applies the In predicate on the "collector" field.
func CollectorLT ¶
func CollectorLT(v string) predicate.Certification
CollectorLT applies the LT predicate on the "collector" field.
func CollectorLTE ¶
func CollectorLTE(v string) predicate.Certification
CollectorLTE applies the LTE predicate on the "collector" field.
func CollectorNEQ ¶
func CollectorNEQ(v string) predicate.Certification
CollectorNEQ applies the NEQ predicate on the "collector" field.
func CollectorNotIn ¶
func CollectorNotIn(vs ...string) predicate.Certification
CollectorNotIn applies the NotIn predicate on the "collector" field.
func DocumentRef ¶ added in v0.6.0
func DocumentRef(v string) predicate.Certification
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.Certification
DocumentRefContains applies the Contains predicate on the "document_ref" field.
func DocumentRefContainsFold ¶ added in v0.6.0
func DocumentRefContainsFold(v string) predicate.Certification
DocumentRefContainsFold applies the ContainsFold predicate on the "document_ref" field.
func DocumentRefEQ ¶ added in v0.6.0
func DocumentRefEQ(v string) predicate.Certification
DocumentRefEQ applies the EQ predicate on the "document_ref" field.
func DocumentRefEqualFold ¶ added in v0.6.0
func DocumentRefEqualFold(v string) predicate.Certification
DocumentRefEqualFold applies the EqualFold predicate on the "document_ref" field.
func DocumentRefGT ¶ added in v0.6.0
func DocumentRefGT(v string) predicate.Certification
DocumentRefGT applies the GT predicate on the "document_ref" field.
func DocumentRefGTE ¶ added in v0.6.0
func DocumentRefGTE(v string) predicate.Certification
DocumentRefGTE applies the GTE predicate on the "document_ref" field.
func DocumentRefHasPrefix ¶ added in v0.6.0
func DocumentRefHasPrefix(v string) predicate.Certification
DocumentRefHasPrefix applies the HasPrefix predicate on the "document_ref" field.
func DocumentRefHasSuffix ¶ added in v0.6.0
func DocumentRefHasSuffix(v string) predicate.Certification
DocumentRefHasSuffix applies the HasSuffix predicate on the "document_ref" field.
func DocumentRefIn ¶ added in v0.6.0
func DocumentRefIn(vs ...string) predicate.Certification
DocumentRefIn applies the In predicate on the "document_ref" field.
func DocumentRefLT ¶ added in v0.6.0
func DocumentRefLT(v string) predicate.Certification
DocumentRefLT applies the LT predicate on the "document_ref" field.
func DocumentRefLTE ¶ added in v0.6.0
func DocumentRefLTE(v string) predicate.Certification
DocumentRefLTE applies the LTE predicate on the "document_ref" field.
func DocumentRefNEQ ¶ added in v0.6.0
func DocumentRefNEQ(v string) predicate.Certification
DocumentRefNEQ applies the NEQ predicate on the "document_ref" field.
func DocumentRefNotIn ¶ added in v0.6.0
func DocumentRefNotIn(vs ...string) predicate.Certification
DocumentRefNotIn applies the NotIn predicate on the "document_ref" field.
func HasAllVersions ¶
func HasAllVersions() predicate.Certification
HasAllVersions applies the HasEdge predicate on the "all_versions" edge.
func HasAllVersionsWith ¶
func HasAllVersionsWith(preds ...predicate.PackageName) predicate.Certification
HasAllVersionsWith applies the HasEdge predicate on the "all_versions" edge with a given conditions (other predicates).
func HasArtifact ¶
func HasArtifact() predicate.Certification
HasArtifact applies the HasEdge predicate on the "artifact" edge.
func HasArtifactWith ¶
func HasArtifactWith(preds ...predicate.Artifact) predicate.Certification
HasArtifactWith applies the HasEdge predicate on the "artifact" edge with a given conditions (other predicates).
func HasPackageVersion ¶
func HasPackageVersion() predicate.Certification
HasPackageVersion applies the HasEdge predicate on the "package_version" edge.
func HasPackageVersionWith ¶
func HasPackageVersionWith(preds ...predicate.PackageVersion) predicate.Certification
HasPackageVersionWith applies the HasEdge predicate on the "package_version" edge with a given conditions (other predicates).
func HasSource ¶
func HasSource() predicate.Certification
HasSource applies the HasEdge predicate on the "source" edge.
func HasSourceWith ¶
func HasSourceWith(preds ...predicate.SourceName) predicate.Certification
HasSourceWith applies the HasEdge predicate on the "source" edge with a given conditions (other predicates).
func ID ¶
func ID(id uuid.UUID) predicate.Certification
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.Certification
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.Certification
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.Certification
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.Certification
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.Certification
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.Certification
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.Certification
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.Certification
IDNotIn applies the NotIn predicate on the ID field.
func Justification ¶
func Justification(v string) predicate.Certification
Justification applies equality check predicate on the "justification" field. It's identical to JustificationEQ.
func JustificationContains ¶
func JustificationContains(v string) predicate.Certification
JustificationContains applies the Contains predicate on the "justification" field.
func JustificationContainsFold ¶
func JustificationContainsFold(v string) predicate.Certification
JustificationContainsFold applies the ContainsFold predicate on the "justification" field.
func JustificationEQ ¶
func JustificationEQ(v string) predicate.Certification
JustificationEQ applies the EQ predicate on the "justification" field.
func JustificationEqualFold ¶
func JustificationEqualFold(v string) predicate.Certification
JustificationEqualFold applies the EqualFold predicate on the "justification" field.
func JustificationGT ¶
func JustificationGT(v string) predicate.Certification
JustificationGT applies the GT predicate on the "justification" field.
func JustificationGTE ¶
func JustificationGTE(v string) predicate.Certification
JustificationGTE applies the GTE predicate on the "justification" field.
func JustificationHasPrefix ¶
func JustificationHasPrefix(v string) predicate.Certification
JustificationHasPrefix applies the HasPrefix predicate on the "justification" field.
func JustificationHasSuffix ¶
func JustificationHasSuffix(v string) predicate.Certification
JustificationHasSuffix applies the HasSuffix predicate on the "justification" field.
func JustificationIn ¶
func JustificationIn(vs ...string) predicate.Certification
JustificationIn applies the In predicate on the "justification" field.
func JustificationLT ¶
func JustificationLT(v string) predicate.Certification
JustificationLT applies the LT predicate on the "justification" field.
func JustificationLTE ¶
func JustificationLTE(v string) predicate.Certification
JustificationLTE applies the LTE predicate on the "justification" field.
func JustificationNEQ ¶
func JustificationNEQ(v string) predicate.Certification
JustificationNEQ applies the NEQ predicate on the "justification" field.
func JustificationNotIn ¶
func JustificationNotIn(vs ...string) predicate.Certification
JustificationNotIn applies the NotIn predicate on the "justification" field.
func KnownSince ¶ added in v0.4.0
func KnownSince(v time.Time) predicate.Certification
KnownSince applies equality check predicate on the "known_since" field. It's identical to KnownSinceEQ.
func KnownSinceEQ ¶ added in v0.4.0
func KnownSinceEQ(v time.Time) predicate.Certification
KnownSinceEQ applies the EQ predicate on the "known_since" field.
func KnownSinceGT ¶ added in v0.4.0
func KnownSinceGT(v time.Time) predicate.Certification
KnownSinceGT applies the GT predicate on the "known_since" field.
func KnownSinceGTE ¶ added in v0.4.0
func KnownSinceGTE(v time.Time) predicate.Certification
KnownSinceGTE applies the GTE predicate on the "known_since" field.
func KnownSinceIn ¶ added in v0.4.0
func KnownSinceIn(vs ...time.Time) predicate.Certification
KnownSinceIn applies the In predicate on the "known_since" field.
func KnownSinceLT ¶ added in v0.4.0
func KnownSinceLT(v time.Time) predicate.Certification
KnownSinceLT applies the LT predicate on the "known_since" field.
func KnownSinceLTE ¶ added in v0.4.0
func KnownSinceLTE(v time.Time) predicate.Certification
KnownSinceLTE applies the LTE predicate on the "known_since" field.
func KnownSinceNEQ ¶ added in v0.4.0
func KnownSinceNEQ(v time.Time) predicate.Certification
KnownSinceNEQ applies the NEQ predicate on the "known_since" field.
func KnownSinceNotIn ¶ added in v0.4.0
func KnownSinceNotIn(vs ...time.Time) predicate.Certification
KnownSinceNotIn applies the NotIn predicate on the "known_since" field.
func Not ¶
func Not(p predicate.Certification) predicate.Certification
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.Certification) predicate.Certification
Or groups predicates with the OR operator between them.
func Origin ¶
func Origin(v string) predicate.Certification
Origin applies equality check predicate on the "origin" field. It's identical to OriginEQ.
func OriginContains ¶
func OriginContains(v string) predicate.Certification
OriginContains applies the Contains predicate on the "origin" field.
func OriginContainsFold ¶
func OriginContainsFold(v string) predicate.Certification
OriginContainsFold applies the ContainsFold predicate on the "origin" field.
func OriginEQ ¶
func OriginEQ(v string) predicate.Certification
OriginEQ applies the EQ predicate on the "origin" field.
func OriginEqualFold ¶
func OriginEqualFold(v string) predicate.Certification
OriginEqualFold applies the EqualFold predicate on the "origin" field.
func OriginGT ¶
func OriginGT(v string) predicate.Certification
OriginGT applies the GT predicate on the "origin" field.
func OriginGTE ¶
func OriginGTE(v string) predicate.Certification
OriginGTE applies the GTE predicate on the "origin" field.
func OriginHasPrefix ¶
func OriginHasPrefix(v string) predicate.Certification
OriginHasPrefix applies the HasPrefix predicate on the "origin" field.
func OriginHasSuffix ¶
func OriginHasSuffix(v string) predicate.Certification
OriginHasSuffix applies the HasSuffix predicate on the "origin" field.
func OriginIn ¶
func OriginIn(vs ...string) predicate.Certification
OriginIn applies the In predicate on the "origin" field.
func OriginLT ¶
func OriginLT(v string) predicate.Certification
OriginLT applies the LT predicate on the "origin" field.
func OriginLTE ¶
func OriginLTE(v string) predicate.Certification
OriginLTE applies the LTE predicate on the "origin" field.
func OriginNEQ ¶
func OriginNEQ(v string) predicate.Certification
OriginNEQ applies the NEQ predicate on the "origin" field.
func OriginNotIn ¶
func OriginNotIn(vs ...string) predicate.Certification
OriginNotIn applies the NotIn predicate on the "origin" field.
func PackageNameID ¶
func PackageNameID(v uuid.UUID) predicate.Certification
PackageNameID applies equality check predicate on the "package_name_id" field. It's identical to PackageNameIDEQ.
func PackageNameIDEQ ¶
func PackageNameIDEQ(v uuid.UUID) predicate.Certification
PackageNameIDEQ applies the EQ predicate on the "package_name_id" field.
func PackageNameIDIn ¶
func PackageNameIDIn(vs ...uuid.UUID) predicate.Certification
PackageNameIDIn applies the In predicate on the "package_name_id" field.
func PackageNameIDIsNil ¶
func PackageNameIDIsNil() predicate.Certification
PackageNameIDIsNil applies the IsNil predicate on the "package_name_id" field.
func PackageNameIDNEQ ¶
func PackageNameIDNEQ(v uuid.UUID) predicate.Certification
PackageNameIDNEQ applies the NEQ predicate on the "package_name_id" field.
func PackageNameIDNotIn ¶
func PackageNameIDNotIn(vs ...uuid.UUID) predicate.Certification
PackageNameIDNotIn applies the NotIn predicate on the "package_name_id" field.
func PackageNameIDNotNil ¶
func PackageNameIDNotNil() predicate.Certification
PackageNameIDNotNil applies the NotNil predicate on the "package_name_id" field.
func PackageVersionID ¶
func PackageVersionID(v uuid.UUID) predicate.Certification
PackageVersionID applies equality check predicate on the "package_version_id" field. It's identical to PackageVersionIDEQ.
func PackageVersionIDEQ ¶
func PackageVersionIDEQ(v uuid.UUID) predicate.Certification
PackageVersionIDEQ applies the EQ predicate on the "package_version_id" field.
func PackageVersionIDIn ¶
func PackageVersionIDIn(vs ...uuid.UUID) predicate.Certification
PackageVersionIDIn applies the In predicate on the "package_version_id" field.
func PackageVersionIDIsNil ¶
func PackageVersionIDIsNil() predicate.Certification
PackageVersionIDIsNil applies the IsNil predicate on the "package_version_id" field.
func PackageVersionIDNEQ ¶
func PackageVersionIDNEQ(v uuid.UUID) predicate.Certification
PackageVersionIDNEQ applies the NEQ predicate on the "package_version_id" field.
func PackageVersionIDNotIn ¶
func PackageVersionIDNotIn(vs ...uuid.UUID) predicate.Certification
PackageVersionIDNotIn applies the NotIn predicate on the "package_version_id" field.
func PackageVersionIDNotNil ¶
func PackageVersionIDNotNil() predicate.Certification
PackageVersionIDNotNil applies the NotNil predicate on the "package_version_id" field.
func SourceID ¶
func SourceID(v uuid.UUID) predicate.Certification
SourceID applies equality check predicate on the "source_id" field. It's identical to SourceIDEQ.
func SourceIDEQ ¶
func SourceIDEQ(v uuid.UUID) predicate.Certification
SourceIDEQ applies the EQ predicate on the "source_id" field.
func SourceIDIn ¶
func SourceIDIn(vs ...uuid.UUID) predicate.Certification
SourceIDIn applies the In predicate on the "source_id" field.
func SourceIDIsNil ¶
func SourceIDIsNil() predicate.Certification
SourceIDIsNil applies the IsNil predicate on the "source_id" field.
func SourceIDNEQ ¶
func SourceIDNEQ(v uuid.UUID) predicate.Certification
SourceIDNEQ applies the NEQ predicate on the "source_id" field.
func SourceIDNotIn ¶
func SourceIDNotIn(vs ...uuid.UUID) predicate.Certification
SourceIDNotIn applies the NotIn predicate on the "source_id" field.
func SourceIDNotNil ¶
func SourceIDNotNil() predicate.Certification
SourceIDNotNil applies the NotNil predicate on the "source_id" field.
func TypeEQ ¶
func TypeEQ(v Type) predicate.Certification
TypeEQ applies the EQ predicate on the "type" field.
func TypeIn ¶
func TypeIn(vs ...Type) predicate.Certification
TypeIn applies the In predicate on the "type" field.
func TypeNEQ ¶
func TypeNEQ(v Type) predicate.Certification
TypeNEQ applies the NEQ predicate on the "type" field.
func TypeNotIn ¶
func TypeNotIn(vs ...Type) predicate.Certification
TypeNotIn applies the NotIn predicate on the "type" field.
func TypeValidator ¶
TypeValidator is a validator for the "type" field enum values. It is called by the builders before save.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the Certification queries.
func ByAllVersionsField ¶
func ByAllVersionsField(field string, opts ...sql.OrderTermOption) OrderOption
ByAllVersionsField orders the results by all_versions field.
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 ¶ added in v0.4.0
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 ByPackageNameID ¶
func ByPackageNameID(opts ...sql.OrderTermOption) OrderOption
ByPackageNameID orders the results by the package_name_id field.
func ByPackageVersionField ¶
func ByPackageVersionField(field string, opts ...sql.OrderTermOption) OrderOption
ByPackageVersionField orders the results by package_version field.
func ByPackageVersionID ¶
func ByPackageVersionID(opts ...sql.OrderTermOption) OrderOption
ByPackageVersionID orders the results by the package_version_id field.
func BySourceField ¶
func BySourceField(field string, opts ...sql.OrderTermOption) OrderOption
BySourceField orders the results by source field.
func BySourceID ¶
func BySourceID(opts ...sql.OrderTermOption) OrderOption
BySourceID orders the results by the source_id field.
func ByType ¶
func ByType(opts ...sql.OrderTermOption) OrderOption
ByType orders the results by the type field.
type Type ¶
type Type string
Type defines the type for the "type" enum field.
func (Type) MarshalGQL ¶
MarshalGQL implements graphql.Marshaler interface.
func (*Type) UnmarshalGQL ¶
UnmarshalGQL implements graphql.Unmarshaler interface.