Documentation ¶
Index ¶
- Constants
- Variables
- func AggregateScore(v float64) predicate.CertifyScorecard
- func AggregateScoreEQ(v float64) predicate.CertifyScorecard
- func AggregateScoreGT(v float64) predicate.CertifyScorecard
- func AggregateScoreGTE(v float64) predicate.CertifyScorecard
- func AggregateScoreIn(vs ...float64) predicate.CertifyScorecard
- func AggregateScoreLT(v float64) predicate.CertifyScorecard
- func AggregateScoreLTE(v float64) predicate.CertifyScorecard
- func AggregateScoreNEQ(v float64) predicate.CertifyScorecard
- func AggregateScoreNotIn(vs ...float64) predicate.CertifyScorecard
- func And(predicates ...predicate.CertifyScorecard) predicate.CertifyScorecard
- func ChecksHash(v string) predicate.CertifyScorecard
- func ChecksHashContains(v string) predicate.CertifyScorecard
- func ChecksHashContainsFold(v string) predicate.CertifyScorecard
- func ChecksHashEQ(v string) predicate.CertifyScorecard
- func ChecksHashEqualFold(v string) predicate.CertifyScorecard
- func ChecksHashGT(v string) predicate.CertifyScorecard
- func ChecksHashGTE(v string) predicate.CertifyScorecard
- func ChecksHashHasPrefix(v string) predicate.CertifyScorecard
- func ChecksHashHasSuffix(v string) predicate.CertifyScorecard
- func ChecksHashIn(vs ...string) predicate.CertifyScorecard
- func ChecksHashLT(v string) predicate.CertifyScorecard
- func ChecksHashLTE(v string) predicate.CertifyScorecard
- func ChecksHashNEQ(v string) predicate.CertifyScorecard
- func ChecksHashNotIn(vs ...string) predicate.CertifyScorecard
- func Collector(v string) predicate.CertifyScorecard
- func CollectorContains(v string) predicate.CertifyScorecard
- func CollectorContainsFold(v string) predicate.CertifyScorecard
- func CollectorEQ(v string) predicate.CertifyScorecard
- func CollectorEqualFold(v string) predicate.CertifyScorecard
- func CollectorGT(v string) predicate.CertifyScorecard
- func CollectorGTE(v string) predicate.CertifyScorecard
- func CollectorHasPrefix(v string) predicate.CertifyScorecard
- func CollectorHasSuffix(v string) predicate.CertifyScorecard
- func CollectorIn(vs ...string) predicate.CertifyScorecard
- func CollectorLT(v string) predicate.CertifyScorecard
- func CollectorLTE(v string) predicate.CertifyScorecard
- func CollectorNEQ(v string) predicate.CertifyScorecard
- func CollectorNotIn(vs ...string) predicate.CertifyScorecard
- func HasSource() predicate.CertifyScorecard
- func HasSourceWith(preds ...predicate.SourceName) predicate.CertifyScorecard
- func ID(id uuid.UUID) predicate.CertifyScorecard
- func IDEQ(id uuid.UUID) predicate.CertifyScorecard
- func IDGT(id uuid.UUID) predicate.CertifyScorecard
- func IDGTE(id uuid.UUID) predicate.CertifyScorecard
- func IDIn(ids ...uuid.UUID) predicate.CertifyScorecard
- func IDLT(id uuid.UUID) predicate.CertifyScorecard
- func IDLTE(id uuid.UUID) predicate.CertifyScorecard
- func IDNEQ(id uuid.UUID) predicate.CertifyScorecard
- func IDNotIn(ids ...uuid.UUID) predicate.CertifyScorecard
- func Not(p predicate.CertifyScorecard) predicate.CertifyScorecard
- func Or(predicates ...predicate.CertifyScorecard) predicate.CertifyScorecard
- func Origin(v string) predicate.CertifyScorecard
- func OriginContains(v string) predicate.CertifyScorecard
- func OriginContainsFold(v string) predicate.CertifyScorecard
- func OriginEQ(v string) predicate.CertifyScorecard
- func OriginEqualFold(v string) predicate.CertifyScorecard
- func OriginGT(v string) predicate.CertifyScorecard
- func OriginGTE(v string) predicate.CertifyScorecard
- func OriginHasPrefix(v string) predicate.CertifyScorecard
- func OriginHasSuffix(v string) predicate.CertifyScorecard
- func OriginIn(vs ...string) predicate.CertifyScorecard
- func OriginLT(v string) predicate.CertifyScorecard
- func OriginLTE(v string) predicate.CertifyScorecard
- func OriginNEQ(v string) predicate.CertifyScorecard
- func OriginNotIn(vs ...string) predicate.CertifyScorecard
- func ScorecardCommit(v string) predicate.CertifyScorecard
- func ScorecardCommitContains(v string) predicate.CertifyScorecard
- func ScorecardCommitContainsFold(v string) predicate.CertifyScorecard
- func ScorecardCommitEQ(v string) predicate.CertifyScorecard
- func ScorecardCommitEqualFold(v string) predicate.CertifyScorecard
- func ScorecardCommitGT(v string) predicate.CertifyScorecard
- func ScorecardCommitGTE(v string) predicate.CertifyScorecard
- func ScorecardCommitHasPrefix(v string) predicate.CertifyScorecard
- func ScorecardCommitHasSuffix(v string) predicate.CertifyScorecard
- func ScorecardCommitIn(vs ...string) predicate.CertifyScorecard
- func ScorecardCommitLT(v string) predicate.CertifyScorecard
- func ScorecardCommitLTE(v string) predicate.CertifyScorecard
- func ScorecardCommitNEQ(v string) predicate.CertifyScorecard
- func ScorecardCommitNotIn(vs ...string) predicate.CertifyScorecard
- func ScorecardVersion(v string) predicate.CertifyScorecard
- func ScorecardVersionContains(v string) predicate.CertifyScorecard
- func ScorecardVersionContainsFold(v string) predicate.CertifyScorecard
- func ScorecardVersionEQ(v string) predicate.CertifyScorecard
- func ScorecardVersionEqualFold(v string) predicate.CertifyScorecard
- func ScorecardVersionGT(v string) predicate.CertifyScorecard
- func ScorecardVersionGTE(v string) predicate.CertifyScorecard
- func ScorecardVersionHasPrefix(v string) predicate.CertifyScorecard
- func ScorecardVersionHasSuffix(v string) predicate.CertifyScorecard
- func ScorecardVersionIn(vs ...string) predicate.CertifyScorecard
- func ScorecardVersionLT(v string) predicate.CertifyScorecard
- func ScorecardVersionLTE(v string) predicate.CertifyScorecard
- func ScorecardVersionNEQ(v string) predicate.CertifyScorecard
- func ScorecardVersionNotIn(vs ...string) predicate.CertifyScorecard
- func SourceID(v uuid.UUID) predicate.CertifyScorecard
- func SourceIDEQ(v uuid.UUID) predicate.CertifyScorecard
- func SourceIDIn(vs ...uuid.UUID) predicate.CertifyScorecard
- func SourceIDNEQ(v uuid.UUID) predicate.CertifyScorecard
- func SourceIDNotIn(vs ...uuid.UUID) predicate.CertifyScorecard
- func TimeScanned(v time.Time) predicate.CertifyScorecard
- func TimeScannedEQ(v time.Time) predicate.CertifyScorecard
- func TimeScannedGT(v time.Time) predicate.CertifyScorecard
- func TimeScannedGTE(v time.Time) predicate.CertifyScorecard
- func TimeScannedIn(vs ...time.Time) predicate.CertifyScorecard
- func TimeScannedLT(v time.Time) predicate.CertifyScorecard
- func TimeScannedLTE(v time.Time) predicate.CertifyScorecard
- func TimeScannedNEQ(v time.Time) predicate.CertifyScorecard
- func TimeScannedNotIn(vs ...time.Time) predicate.CertifyScorecard
- func ValidColumn(column string) bool
- type OrderOption
- func ByAggregateScore(opts ...sql.OrderTermOption) OrderOption
- func ByChecksHash(opts ...sql.OrderTermOption) OrderOption
- func ByCollector(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByOrigin(opts ...sql.OrderTermOption) OrderOption
- func ByScorecardCommit(opts ...sql.OrderTermOption) OrderOption
- func ByScorecardVersion(opts ...sql.OrderTermOption) OrderOption
- func BySourceField(field string, opts ...sql.OrderTermOption) OrderOption
- func BySourceID(opts ...sql.OrderTermOption) OrderOption
- func ByTimeScanned(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the certifyscorecard type in the database. Label = "certify_scorecard" // 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" // FieldChecks holds the string denoting the checks field in the database. FieldChecks = "checks" // FieldAggregateScore holds the string denoting the aggregate_score field in the database. FieldAggregateScore = "aggregate_score" // FieldTimeScanned holds the string denoting the time_scanned field in the database. FieldTimeScanned = "time_scanned" // FieldScorecardVersion holds the string denoting the scorecard_version field in the database. FieldScorecardVersion = "scorecard_version" // FieldScorecardCommit holds the string denoting the scorecard_commit field in the database. FieldScorecardCommit = "scorecard_commit" // 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" // FieldChecksHash holds the string denoting the checks_hash field in the database. FieldChecksHash = "checks_hash" // EdgeSource holds the string denoting the source edge name in mutations. EdgeSource = "source" // Table holds the table name of the certifyscorecard in the database. Table = "certify_scorecards" // SourceTable is the table that holds the source relation/edge. SourceTable = "certify_scorecards" // 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" )
Variables ¶
var ( // DefaultAggregateScore holds the default value on creation for the "aggregate_score" field. DefaultAggregateScore float64 // DefaultTimeScanned holds the default value on creation for the "time_scanned" field. DefaultTimeScanned func() time.Time // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldSourceID, FieldChecks, FieldAggregateScore, FieldTimeScanned, FieldScorecardVersion, FieldScorecardCommit, FieldOrigin, FieldCollector, FieldChecksHash, }
Columns holds all SQL columns for certifyscorecard fields.
Functions ¶
func AggregateScore ¶ added in v0.5.0
func AggregateScore(v float64) predicate.CertifyScorecard
AggregateScore applies equality check predicate on the "aggregate_score" field. It's identical to AggregateScoreEQ.
func AggregateScoreEQ ¶ added in v0.5.0
func AggregateScoreEQ(v float64) predicate.CertifyScorecard
AggregateScoreEQ applies the EQ predicate on the "aggregate_score" field.
func AggregateScoreGT ¶ added in v0.5.0
func AggregateScoreGT(v float64) predicate.CertifyScorecard
AggregateScoreGT applies the GT predicate on the "aggregate_score" field.
func AggregateScoreGTE ¶ added in v0.5.0
func AggregateScoreGTE(v float64) predicate.CertifyScorecard
AggregateScoreGTE applies the GTE predicate on the "aggregate_score" field.
func AggregateScoreIn ¶ added in v0.5.0
func AggregateScoreIn(vs ...float64) predicate.CertifyScorecard
AggregateScoreIn applies the In predicate on the "aggregate_score" field.
func AggregateScoreLT ¶ added in v0.5.0
func AggregateScoreLT(v float64) predicate.CertifyScorecard
AggregateScoreLT applies the LT predicate on the "aggregate_score" field.
func AggregateScoreLTE ¶ added in v0.5.0
func AggregateScoreLTE(v float64) predicate.CertifyScorecard
AggregateScoreLTE applies the LTE predicate on the "aggregate_score" field.
func AggregateScoreNEQ ¶ added in v0.5.0
func AggregateScoreNEQ(v float64) predicate.CertifyScorecard
AggregateScoreNEQ applies the NEQ predicate on the "aggregate_score" field.
func AggregateScoreNotIn ¶ added in v0.5.0
func AggregateScoreNotIn(vs ...float64) predicate.CertifyScorecard
AggregateScoreNotIn applies the NotIn predicate on the "aggregate_score" field.
func And ¶
func And(predicates ...predicate.CertifyScorecard) predicate.CertifyScorecard
And groups predicates with the AND operator between them.
func ChecksHash ¶ added in v0.5.0
func ChecksHash(v string) predicate.CertifyScorecard
ChecksHash applies equality check predicate on the "checks_hash" field. It's identical to ChecksHashEQ.
func ChecksHashContains ¶ added in v0.5.0
func ChecksHashContains(v string) predicate.CertifyScorecard
ChecksHashContains applies the Contains predicate on the "checks_hash" field.
func ChecksHashContainsFold ¶ added in v0.5.0
func ChecksHashContainsFold(v string) predicate.CertifyScorecard
ChecksHashContainsFold applies the ContainsFold predicate on the "checks_hash" field.
func ChecksHashEQ ¶ added in v0.5.0
func ChecksHashEQ(v string) predicate.CertifyScorecard
ChecksHashEQ applies the EQ predicate on the "checks_hash" field.
func ChecksHashEqualFold ¶ added in v0.5.0
func ChecksHashEqualFold(v string) predicate.CertifyScorecard
ChecksHashEqualFold applies the EqualFold predicate on the "checks_hash" field.
func ChecksHashGT ¶ added in v0.5.0
func ChecksHashGT(v string) predicate.CertifyScorecard
ChecksHashGT applies the GT predicate on the "checks_hash" field.
func ChecksHashGTE ¶ added in v0.5.0
func ChecksHashGTE(v string) predicate.CertifyScorecard
ChecksHashGTE applies the GTE predicate on the "checks_hash" field.
func ChecksHashHasPrefix ¶ added in v0.5.0
func ChecksHashHasPrefix(v string) predicate.CertifyScorecard
ChecksHashHasPrefix applies the HasPrefix predicate on the "checks_hash" field.
func ChecksHashHasSuffix ¶ added in v0.5.0
func ChecksHashHasSuffix(v string) predicate.CertifyScorecard
ChecksHashHasSuffix applies the HasSuffix predicate on the "checks_hash" field.
func ChecksHashIn ¶ added in v0.5.0
func ChecksHashIn(vs ...string) predicate.CertifyScorecard
ChecksHashIn applies the In predicate on the "checks_hash" field.
func ChecksHashLT ¶ added in v0.5.0
func ChecksHashLT(v string) predicate.CertifyScorecard
ChecksHashLT applies the LT predicate on the "checks_hash" field.
func ChecksHashLTE ¶ added in v0.5.0
func ChecksHashLTE(v string) predicate.CertifyScorecard
ChecksHashLTE applies the LTE predicate on the "checks_hash" field.
func ChecksHashNEQ ¶ added in v0.5.0
func ChecksHashNEQ(v string) predicate.CertifyScorecard
ChecksHashNEQ applies the NEQ predicate on the "checks_hash" field.
func ChecksHashNotIn ¶ added in v0.5.0
func ChecksHashNotIn(vs ...string) predicate.CertifyScorecard
ChecksHashNotIn applies the NotIn predicate on the "checks_hash" field.
func Collector ¶ added in v0.5.0
func Collector(v string) predicate.CertifyScorecard
Collector applies equality check predicate on the "collector" field. It's identical to CollectorEQ.
func CollectorContains ¶ added in v0.5.0
func CollectorContains(v string) predicate.CertifyScorecard
CollectorContains applies the Contains predicate on the "collector" field.
func CollectorContainsFold ¶ added in v0.5.0
func CollectorContainsFold(v string) predicate.CertifyScorecard
CollectorContainsFold applies the ContainsFold predicate on the "collector" field.
func CollectorEQ ¶ added in v0.5.0
func CollectorEQ(v string) predicate.CertifyScorecard
CollectorEQ applies the EQ predicate on the "collector" field.
func CollectorEqualFold ¶ added in v0.5.0
func CollectorEqualFold(v string) predicate.CertifyScorecard
CollectorEqualFold applies the EqualFold predicate on the "collector" field.
func CollectorGT ¶ added in v0.5.0
func CollectorGT(v string) predicate.CertifyScorecard
CollectorGT applies the GT predicate on the "collector" field.
func CollectorGTE ¶ added in v0.5.0
func CollectorGTE(v string) predicate.CertifyScorecard
CollectorGTE applies the GTE predicate on the "collector" field.
func CollectorHasPrefix ¶ added in v0.5.0
func CollectorHasPrefix(v string) predicate.CertifyScorecard
CollectorHasPrefix applies the HasPrefix predicate on the "collector" field.
func CollectorHasSuffix ¶ added in v0.5.0
func CollectorHasSuffix(v string) predicate.CertifyScorecard
CollectorHasSuffix applies the HasSuffix predicate on the "collector" field.
func CollectorIn ¶ added in v0.5.0
func CollectorIn(vs ...string) predicate.CertifyScorecard
CollectorIn applies the In predicate on the "collector" field.
func CollectorLT ¶ added in v0.5.0
func CollectorLT(v string) predicate.CertifyScorecard
CollectorLT applies the LT predicate on the "collector" field.
func CollectorLTE ¶ added in v0.5.0
func CollectorLTE(v string) predicate.CertifyScorecard
CollectorLTE applies the LTE predicate on the "collector" field.
func CollectorNEQ ¶ added in v0.5.0
func CollectorNEQ(v string) predicate.CertifyScorecard
CollectorNEQ applies the NEQ predicate on the "collector" field.
func CollectorNotIn ¶ added in v0.5.0
func CollectorNotIn(vs ...string) predicate.CertifyScorecard
CollectorNotIn applies the NotIn predicate on the "collector" field.
func HasSource ¶
func HasSource() predicate.CertifyScorecard
HasSource applies the HasEdge predicate on the "source" edge.
func HasSourceWith ¶
func HasSourceWith(preds ...predicate.SourceName) predicate.CertifyScorecard
HasSourceWith applies the HasEdge predicate on the "source" edge with a given conditions (other predicates).
func ID ¶
func ID(id uuid.UUID) predicate.CertifyScorecard
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.CertifyScorecard
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.CertifyScorecard
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.CertifyScorecard
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.CertifyScorecard
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.CertifyScorecard
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.CertifyScorecard
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.CertifyScorecard
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.CertifyScorecard
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.CertifyScorecard) predicate.CertifyScorecard
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.CertifyScorecard) predicate.CertifyScorecard
Or groups predicates with the OR operator between them.
func Origin ¶ added in v0.5.0
func Origin(v string) predicate.CertifyScorecard
Origin applies equality check predicate on the "origin" field. It's identical to OriginEQ.
func OriginContains ¶ added in v0.5.0
func OriginContains(v string) predicate.CertifyScorecard
OriginContains applies the Contains predicate on the "origin" field.
func OriginContainsFold ¶ added in v0.5.0
func OriginContainsFold(v string) predicate.CertifyScorecard
OriginContainsFold applies the ContainsFold predicate on the "origin" field.
func OriginEQ ¶ added in v0.5.0
func OriginEQ(v string) predicate.CertifyScorecard
OriginEQ applies the EQ predicate on the "origin" field.
func OriginEqualFold ¶ added in v0.5.0
func OriginEqualFold(v string) predicate.CertifyScorecard
OriginEqualFold applies the EqualFold predicate on the "origin" field.
func OriginGT ¶ added in v0.5.0
func OriginGT(v string) predicate.CertifyScorecard
OriginGT applies the GT predicate on the "origin" field.
func OriginGTE ¶ added in v0.5.0
func OriginGTE(v string) predicate.CertifyScorecard
OriginGTE applies the GTE predicate on the "origin" field.
func OriginHasPrefix ¶ added in v0.5.0
func OriginHasPrefix(v string) predicate.CertifyScorecard
OriginHasPrefix applies the HasPrefix predicate on the "origin" field.
func OriginHasSuffix ¶ added in v0.5.0
func OriginHasSuffix(v string) predicate.CertifyScorecard
OriginHasSuffix applies the HasSuffix predicate on the "origin" field.
func OriginIn ¶ added in v0.5.0
func OriginIn(vs ...string) predicate.CertifyScorecard
OriginIn applies the In predicate on the "origin" field.
func OriginLT ¶ added in v0.5.0
func OriginLT(v string) predicate.CertifyScorecard
OriginLT applies the LT predicate on the "origin" field.
func OriginLTE ¶ added in v0.5.0
func OriginLTE(v string) predicate.CertifyScorecard
OriginLTE applies the LTE predicate on the "origin" field.
func OriginNEQ ¶ added in v0.5.0
func OriginNEQ(v string) predicate.CertifyScorecard
OriginNEQ applies the NEQ predicate on the "origin" field.
func OriginNotIn ¶ added in v0.5.0
func OriginNotIn(vs ...string) predicate.CertifyScorecard
OriginNotIn applies the NotIn predicate on the "origin" field.
func ScorecardCommit ¶ added in v0.5.0
func ScorecardCommit(v string) predicate.CertifyScorecard
ScorecardCommit applies equality check predicate on the "scorecard_commit" field. It's identical to ScorecardCommitEQ.
func ScorecardCommitContains ¶ added in v0.5.0
func ScorecardCommitContains(v string) predicate.CertifyScorecard
ScorecardCommitContains applies the Contains predicate on the "scorecard_commit" field.
func ScorecardCommitContainsFold ¶ added in v0.5.0
func ScorecardCommitContainsFold(v string) predicate.CertifyScorecard
ScorecardCommitContainsFold applies the ContainsFold predicate on the "scorecard_commit" field.
func ScorecardCommitEQ ¶ added in v0.5.0
func ScorecardCommitEQ(v string) predicate.CertifyScorecard
ScorecardCommitEQ applies the EQ predicate on the "scorecard_commit" field.
func ScorecardCommitEqualFold ¶ added in v0.5.0
func ScorecardCommitEqualFold(v string) predicate.CertifyScorecard
ScorecardCommitEqualFold applies the EqualFold predicate on the "scorecard_commit" field.
func ScorecardCommitGT ¶ added in v0.5.0
func ScorecardCommitGT(v string) predicate.CertifyScorecard
ScorecardCommitGT applies the GT predicate on the "scorecard_commit" field.
func ScorecardCommitGTE ¶ added in v0.5.0
func ScorecardCommitGTE(v string) predicate.CertifyScorecard
ScorecardCommitGTE applies the GTE predicate on the "scorecard_commit" field.
func ScorecardCommitHasPrefix ¶ added in v0.5.0
func ScorecardCommitHasPrefix(v string) predicate.CertifyScorecard
ScorecardCommitHasPrefix applies the HasPrefix predicate on the "scorecard_commit" field.
func ScorecardCommitHasSuffix ¶ added in v0.5.0
func ScorecardCommitHasSuffix(v string) predicate.CertifyScorecard
ScorecardCommitHasSuffix applies the HasSuffix predicate on the "scorecard_commit" field.
func ScorecardCommitIn ¶ added in v0.5.0
func ScorecardCommitIn(vs ...string) predicate.CertifyScorecard
ScorecardCommitIn applies the In predicate on the "scorecard_commit" field.
func ScorecardCommitLT ¶ added in v0.5.0
func ScorecardCommitLT(v string) predicate.CertifyScorecard
ScorecardCommitLT applies the LT predicate on the "scorecard_commit" field.
func ScorecardCommitLTE ¶ added in v0.5.0
func ScorecardCommitLTE(v string) predicate.CertifyScorecard
ScorecardCommitLTE applies the LTE predicate on the "scorecard_commit" field.
func ScorecardCommitNEQ ¶ added in v0.5.0
func ScorecardCommitNEQ(v string) predicate.CertifyScorecard
ScorecardCommitNEQ applies the NEQ predicate on the "scorecard_commit" field.
func ScorecardCommitNotIn ¶ added in v0.5.0
func ScorecardCommitNotIn(vs ...string) predicate.CertifyScorecard
ScorecardCommitNotIn applies the NotIn predicate on the "scorecard_commit" field.
func ScorecardVersion ¶ added in v0.5.0
func ScorecardVersion(v string) predicate.CertifyScorecard
ScorecardVersion applies equality check predicate on the "scorecard_version" field. It's identical to ScorecardVersionEQ.
func ScorecardVersionContains ¶ added in v0.5.0
func ScorecardVersionContains(v string) predicate.CertifyScorecard
ScorecardVersionContains applies the Contains predicate on the "scorecard_version" field.
func ScorecardVersionContainsFold ¶ added in v0.5.0
func ScorecardVersionContainsFold(v string) predicate.CertifyScorecard
ScorecardVersionContainsFold applies the ContainsFold predicate on the "scorecard_version" field.
func ScorecardVersionEQ ¶ added in v0.5.0
func ScorecardVersionEQ(v string) predicate.CertifyScorecard
ScorecardVersionEQ applies the EQ predicate on the "scorecard_version" field.
func ScorecardVersionEqualFold ¶ added in v0.5.0
func ScorecardVersionEqualFold(v string) predicate.CertifyScorecard
ScorecardVersionEqualFold applies the EqualFold predicate on the "scorecard_version" field.
func ScorecardVersionGT ¶ added in v0.5.0
func ScorecardVersionGT(v string) predicate.CertifyScorecard
ScorecardVersionGT applies the GT predicate on the "scorecard_version" field.
func ScorecardVersionGTE ¶ added in v0.5.0
func ScorecardVersionGTE(v string) predicate.CertifyScorecard
ScorecardVersionGTE applies the GTE predicate on the "scorecard_version" field.
func ScorecardVersionHasPrefix ¶ added in v0.5.0
func ScorecardVersionHasPrefix(v string) predicate.CertifyScorecard
ScorecardVersionHasPrefix applies the HasPrefix predicate on the "scorecard_version" field.
func ScorecardVersionHasSuffix ¶ added in v0.5.0
func ScorecardVersionHasSuffix(v string) predicate.CertifyScorecard
ScorecardVersionHasSuffix applies the HasSuffix predicate on the "scorecard_version" field.
func ScorecardVersionIn ¶ added in v0.5.0
func ScorecardVersionIn(vs ...string) predicate.CertifyScorecard
ScorecardVersionIn applies the In predicate on the "scorecard_version" field.
func ScorecardVersionLT ¶ added in v0.5.0
func ScorecardVersionLT(v string) predicate.CertifyScorecard
ScorecardVersionLT applies the LT predicate on the "scorecard_version" field.
func ScorecardVersionLTE ¶ added in v0.5.0
func ScorecardVersionLTE(v string) predicate.CertifyScorecard
ScorecardVersionLTE applies the LTE predicate on the "scorecard_version" field.
func ScorecardVersionNEQ ¶ added in v0.5.0
func ScorecardVersionNEQ(v string) predicate.CertifyScorecard
ScorecardVersionNEQ applies the NEQ predicate on the "scorecard_version" field.
func ScorecardVersionNotIn ¶ added in v0.5.0
func ScorecardVersionNotIn(vs ...string) predicate.CertifyScorecard
ScorecardVersionNotIn applies the NotIn predicate on the "scorecard_version" field.
func SourceID ¶
func SourceID(v uuid.UUID) predicate.CertifyScorecard
SourceID applies equality check predicate on the "source_id" field. It's identical to SourceIDEQ.
func SourceIDEQ ¶
func SourceIDEQ(v uuid.UUID) predicate.CertifyScorecard
SourceIDEQ applies the EQ predicate on the "source_id" field.
func SourceIDIn ¶
func SourceIDIn(vs ...uuid.UUID) predicate.CertifyScorecard
SourceIDIn applies the In predicate on the "source_id" field.
func SourceIDNEQ ¶
func SourceIDNEQ(v uuid.UUID) predicate.CertifyScorecard
SourceIDNEQ applies the NEQ predicate on the "source_id" field.
func SourceIDNotIn ¶
func SourceIDNotIn(vs ...uuid.UUID) predicate.CertifyScorecard
SourceIDNotIn applies the NotIn predicate on the "source_id" field.
func TimeScanned ¶ added in v0.5.0
func TimeScanned(v time.Time) predicate.CertifyScorecard
TimeScanned applies equality check predicate on the "time_scanned" field. It's identical to TimeScannedEQ.
func TimeScannedEQ ¶ added in v0.5.0
func TimeScannedEQ(v time.Time) predicate.CertifyScorecard
TimeScannedEQ applies the EQ predicate on the "time_scanned" field.
func TimeScannedGT ¶ added in v0.5.0
func TimeScannedGT(v time.Time) predicate.CertifyScorecard
TimeScannedGT applies the GT predicate on the "time_scanned" field.
func TimeScannedGTE ¶ added in v0.5.0
func TimeScannedGTE(v time.Time) predicate.CertifyScorecard
TimeScannedGTE applies the GTE predicate on the "time_scanned" field.
func TimeScannedIn ¶ added in v0.5.0
func TimeScannedIn(vs ...time.Time) predicate.CertifyScorecard
TimeScannedIn applies the In predicate on the "time_scanned" field.
func TimeScannedLT ¶ added in v0.5.0
func TimeScannedLT(v time.Time) predicate.CertifyScorecard
TimeScannedLT applies the LT predicate on the "time_scanned" field.
func TimeScannedLTE ¶ added in v0.5.0
func TimeScannedLTE(v time.Time) predicate.CertifyScorecard
TimeScannedLTE applies the LTE predicate on the "time_scanned" field.
func TimeScannedNEQ ¶ added in v0.5.0
func TimeScannedNEQ(v time.Time) predicate.CertifyScorecard
TimeScannedNEQ applies the NEQ predicate on the "time_scanned" field.
func TimeScannedNotIn ¶ added in v0.5.0
func TimeScannedNotIn(vs ...time.Time) predicate.CertifyScorecard
TimeScannedNotIn applies the NotIn predicate on the "time_scanned" field.
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 CertifyScorecard queries.
func ByAggregateScore ¶ added in v0.5.0
func ByAggregateScore(opts ...sql.OrderTermOption) OrderOption
ByAggregateScore orders the results by the aggregate_score field.
func ByChecksHash ¶ added in v0.5.0
func ByChecksHash(opts ...sql.OrderTermOption) OrderOption
ByChecksHash orders the results by the checks_hash field.
func ByCollector ¶ added in v0.5.0
func ByCollector(opts ...sql.OrderTermOption) OrderOption
ByCollector orders the results by the collector field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByOrigin ¶ added in v0.5.0
func ByOrigin(opts ...sql.OrderTermOption) OrderOption
ByOrigin orders the results by the origin field.
func ByScorecardCommit ¶ added in v0.5.0
func ByScorecardCommit(opts ...sql.OrderTermOption) OrderOption
ByScorecardCommit orders the results by the scorecard_commit field.
func ByScorecardVersion ¶ added in v0.5.0
func ByScorecardVersion(opts ...sql.OrderTermOption) OrderOption
ByScorecardVersion orders the results by the scorecard_version 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 ByTimeScanned ¶ added in v0.5.0
func ByTimeScanned(opts ...sql.OrderTermOption) OrderOption
ByTimeScanned orders the results by the time_scanned field.