Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.EvidenceLog) predicate.EvidenceLog
- func CommitID(v string) predicate.EvidenceLog
- func CommitIDContains(v string) predicate.EvidenceLog
- func CommitIDContainsFold(v string) predicate.EvidenceLog
- func CommitIDEQ(v string) predicate.EvidenceLog
- func CommitIDEqualFold(v string) predicate.EvidenceLog
- func CommitIDGT(v string) predicate.EvidenceLog
- func CommitIDGTE(v string) predicate.EvidenceLog
- func CommitIDHasPrefix(v string) predicate.EvidenceLog
- func CommitIDHasSuffix(v string) predicate.EvidenceLog
- func CommitIDIn(vs ...string) predicate.EvidenceLog
- func CommitIDLT(v string) predicate.EvidenceLog
- func CommitIDLTE(v string) predicate.EvidenceLog
- func CommitIDNEQ(v string) predicate.EvidenceLog
- func CommitIDNotIn(vs ...string) predicate.EvidenceLog
- func Evidence(v string) predicate.EvidenceLog
- func EvidenceContains(v string) predicate.EvidenceLog
- func EvidenceContainsFold(v string) predicate.EvidenceLog
- func EvidenceEQ(v string) predicate.EvidenceLog
- func EvidenceEqualFold(v string) predicate.EvidenceLog
- func EvidenceGT(v string) predicate.EvidenceLog
- func EvidenceGTE(v string) predicate.EvidenceLog
- func EvidenceHasPrefix(v string) predicate.EvidenceLog
- func EvidenceHasSuffix(v string) predicate.EvidenceLog
- func EvidenceIn(vs ...string) predicate.EvidenceLog
- func EvidenceLT(v string) predicate.EvidenceLog
- func EvidenceLTE(v string) predicate.EvidenceLog
- func EvidenceNEQ(v string) predicate.EvidenceLog
- func EvidenceNotIn(vs ...string) predicate.EvidenceLog
- func HasTa() predicate.EvidenceLog
- func HasTaWith(preds ...predicate.TA) predicate.EvidenceLog
- func ID(id int) predicate.EvidenceLog
- func IDEQ(id int) predicate.EvidenceLog
- func IDGT(id int) predicate.EvidenceLog
- func IDGTE(id int) predicate.EvidenceLog
- func IDIn(ids ...int) predicate.EvidenceLog
- func IDLT(id int) predicate.EvidenceLog
- func IDLTE(id int) predicate.EvidenceLog
- func IDNEQ(id int) predicate.EvidenceLog
- func IDNotIn(ids ...int) predicate.EvidenceLog
- func Not(p predicate.EvidenceLog) predicate.EvidenceLog
- func Or(predicates ...predicate.EvidenceLog) predicate.EvidenceLog
- func Repository(v string) predicate.EvidenceLog
- func RepositoryContains(v string) predicate.EvidenceLog
- func RepositoryContainsFold(v string) predicate.EvidenceLog
- func RepositoryEQ(v string) predicate.EvidenceLog
- func RepositoryEqualFold(v string) predicate.EvidenceLog
- func RepositoryGT(v string) predicate.EvidenceLog
- func RepositoryGTE(v string) predicate.EvidenceLog
- func RepositoryHasPrefix(v string) predicate.EvidenceLog
- func RepositoryHasSuffix(v string) predicate.EvidenceLog
- func RepositoryIn(vs ...string) predicate.EvidenceLog
- func RepositoryLT(v string) predicate.EvidenceLog
- func RepositoryLTE(v string) predicate.EvidenceLog
- func RepositoryNEQ(v string) predicate.EvidenceLog
- func RepositoryNotIn(vs ...string) predicate.EvidenceLog
- func UniqueID(v []byte) predicate.EvidenceLog
- func UniqueIDEQ(v []byte) predicate.EvidenceLog
- func UniqueIDGT(v []byte) predicate.EvidenceLog
- func UniqueIDGTE(v []byte) predicate.EvidenceLog
- func UniqueIDIn(vs ...[]byte) predicate.EvidenceLog
- func UniqueIDLT(v []byte) predicate.EvidenceLog
- func UniqueIDLTE(v []byte) predicate.EvidenceLog
- func UniqueIDNEQ(v []byte) predicate.EvidenceLog
- func UniqueIDNotIn(vs ...[]byte) predicate.EvidenceLog
- func ValidColumn(column string) bool
- type OrderOption
Constants ¶
const ( // Label holds the string label denoting the evidencelog type in the database. Label = "evidence_log" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldEvidence holds the string denoting the evidence field in the database. FieldEvidence = "evidence" // FieldRepository holds the string denoting the repository field in the database. FieldRepository = "repository" // FieldCommitID holds the string denoting the commit_id field in the database. FieldCommitID = "commit_id" // FieldUniqueID holds the string denoting the unique_id field in the database. FieldUniqueID = "unique_id" // EdgeTa holds the string denoting the ta edge name in mutations. EdgeTa = "ta" // Table holds the table name of the evidencelog in the database. Table = "evidence_logs" // TaTable is the table that holds the ta relation/edge. TaTable = "tas" // TaInverseTable is the table name for the TA entity. // It exists in this package in order to avoid circular dependency with the "ta" package. TaInverseTable = "tas" // TaColumn is the table column denoting the ta relation/edge. TaColumn = "evidence_log_ta" )
Variables ¶
var Columns = []string{ FieldID, FieldEvidence, FieldRepository, FieldCommitID, FieldUniqueID, }
Columns holds all SQL columns for evidencelog fields.
Functions ¶
func And ¶
func And(predicates ...predicate.EvidenceLog) predicate.EvidenceLog
And groups predicates with the AND operator between them.
func CommitID ¶
func CommitID(v string) predicate.EvidenceLog
CommitID applies equality check predicate on the "commit_id" field. It's identical to CommitIDEQ.
func CommitIDContains ¶
func CommitIDContains(v string) predicate.EvidenceLog
CommitIDContains applies the Contains predicate on the "commit_id" field.
func CommitIDContainsFold ¶
func CommitIDContainsFold(v string) predicate.EvidenceLog
CommitIDContainsFold applies the ContainsFold predicate on the "commit_id" field.
func CommitIDEQ ¶
func CommitIDEQ(v string) predicate.EvidenceLog
CommitIDEQ applies the EQ predicate on the "commit_id" field.
func CommitIDEqualFold ¶
func CommitIDEqualFold(v string) predicate.EvidenceLog
CommitIDEqualFold applies the EqualFold predicate on the "commit_id" field.
func CommitIDGT ¶
func CommitIDGT(v string) predicate.EvidenceLog
CommitIDGT applies the GT predicate on the "commit_id" field.
func CommitIDGTE ¶
func CommitIDGTE(v string) predicate.EvidenceLog
CommitIDGTE applies the GTE predicate on the "commit_id" field.
func CommitIDHasPrefix ¶
func CommitIDHasPrefix(v string) predicate.EvidenceLog
CommitIDHasPrefix applies the HasPrefix predicate on the "commit_id" field.
func CommitIDHasSuffix ¶
func CommitIDHasSuffix(v string) predicate.EvidenceLog
CommitIDHasSuffix applies the HasSuffix predicate on the "commit_id" field.
func CommitIDIn ¶
func CommitIDIn(vs ...string) predicate.EvidenceLog
CommitIDIn applies the In predicate on the "commit_id" field.
func CommitIDLT ¶
func CommitIDLT(v string) predicate.EvidenceLog
CommitIDLT applies the LT predicate on the "commit_id" field.
func CommitIDLTE ¶
func CommitIDLTE(v string) predicate.EvidenceLog
CommitIDLTE applies the LTE predicate on the "commit_id" field.
func CommitIDNEQ ¶
func CommitIDNEQ(v string) predicate.EvidenceLog
CommitIDNEQ applies the NEQ predicate on the "commit_id" field.
func CommitIDNotIn ¶
func CommitIDNotIn(vs ...string) predicate.EvidenceLog
CommitIDNotIn applies the NotIn predicate on the "commit_id" field.
func Evidence ¶
func Evidence(v string) predicate.EvidenceLog
Evidence applies equality check predicate on the "evidence" field. It's identical to EvidenceEQ.
func EvidenceContains ¶
func EvidenceContains(v string) predicate.EvidenceLog
EvidenceContains applies the Contains predicate on the "evidence" field.
func EvidenceContainsFold ¶
func EvidenceContainsFold(v string) predicate.EvidenceLog
EvidenceContainsFold applies the ContainsFold predicate on the "evidence" field.
func EvidenceEQ ¶
func EvidenceEQ(v string) predicate.EvidenceLog
EvidenceEQ applies the EQ predicate on the "evidence" field.
func EvidenceEqualFold ¶
func EvidenceEqualFold(v string) predicate.EvidenceLog
EvidenceEqualFold applies the EqualFold predicate on the "evidence" field.
func EvidenceGT ¶
func EvidenceGT(v string) predicate.EvidenceLog
EvidenceGT applies the GT predicate on the "evidence" field.
func EvidenceGTE ¶
func EvidenceGTE(v string) predicate.EvidenceLog
EvidenceGTE applies the GTE predicate on the "evidence" field.
func EvidenceHasPrefix ¶
func EvidenceHasPrefix(v string) predicate.EvidenceLog
EvidenceHasPrefix applies the HasPrefix predicate on the "evidence" field.
func EvidenceHasSuffix ¶
func EvidenceHasSuffix(v string) predicate.EvidenceLog
EvidenceHasSuffix applies the HasSuffix predicate on the "evidence" field.
func EvidenceIn ¶
func EvidenceIn(vs ...string) predicate.EvidenceLog
EvidenceIn applies the In predicate on the "evidence" field.
func EvidenceLT ¶
func EvidenceLT(v string) predicate.EvidenceLog
EvidenceLT applies the LT predicate on the "evidence" field.
func EvidenceLTE ¶
func EvidenceLTE(v string) predicate.EvidenceLog
EvidenceLTE applies the LTE predicate on the "evidence" field.
func EvidenceNEQ ¶
func EvidenceNEQ(v string) predicate.EvidenceLog
EvidenceNEQ applies the NEQ predicate on the "evidence" field.
func EvidenceNotIn ¶
func EvidenceNotIn(vs ...string) predicate.EvidenceLog
EvidenceNotIn applies the NotIn predicate on the "evidence" field.
func HasTa ¶
func HasTa() predicate.EvidenceLog
HasTa applies the HasEdge predicate on the "ta" edge.
func HasTaWith ¶
func HasTaWith(preds ...predicate.TA) predicate.EvidenceLog
HasTaWith applies the HasEdge predicate on the "ta" edge with a given conditions (other predicates).
func IDGTE ¶
func IDGTE(id int) predicate.EvidenceLog
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.EvidenceLog
IDIn applies the In predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.EvidenceLog
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.EvidenceLog
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.EvidenceLog
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.EvidenceLog) predicate.EvidenceLog
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.EvidenceLog) predicate.EvidenceLog
Or groups predicates with the OR operator between them.
func Repository ¶
func Repository(v string) predicate.EvidenceLog
Repository applies equality check predicate on the "repository" field. It's identical to RepositoryEQ.
func RepositoryContains ¶
func RepositoryContains(v string) predicate.EvidenceLog
RepositoryContains applies the Contains predicate on the "repository" field.
func RepositoryContainsFold ¶
func RepositoryContainsFold(v string) predicate.EvidenceLog
RepositoryContainsFold applies the ContainsFold predicate on the "repository" field.
func RepositoryEQ ¶
func RepositoryEQ(v string) predicate.EvidenceLog
RepositoryEQ applies the EQ predicate on the "repository" field.
func RepositoryEqualFold ¶
func RepositoryEqualFold(v string) predicate.EvidenceLog
RepositoryEqualFold applies the EqualFold predicate on the "repository" field.
func RepositoryGT ¶
func RepositoryGT(v string) predicate.EvidenceLog
RepositoryGT applies the GT predicate on the "repository" field.
func RepositoryGTE ¶
func RepositoryGTE(v string) predicate.EvidenceLog
RepositoryGTE applies the GTE predicate on the "repository" field.
func RepositoryHasPrefix ¶
func RepositoryHasPrefix(v string) predicate.EvidenceLog
RepositoryHasPrefix applies the HasPrefix predicate on the "repository" field.
func RepositoryHasSuffix ¶
func RepositoryHasSuffix(v string) predicate.EvidenceLog
RepositoryHasSuffix applies the HasSuffix predicate on the "repository" field.
func RepositoryIn ¶
func RepositoryIn(vs ...string) predicate.EvidenceLog
RepositoryIn applies the In predicate on the "repository" field.
func RepositoryLT ¶
func RepositoryLT(v string) predicate.EvidenceLog
RepositoryLT applies the LT predicate on the "repository" field.
func RepositoryLTE ¶
func RepositoryLTE(v string) predicate.EvidenceLog
RepositoryLTE applies the LTE predicate on the "repository" field.
func RepositoryNEQ ¶
func RepositoryNEQ(v string) predicate.EvidenceLog
RepositoryNEQ applies the NEQ predicate on the "repository" field.
func RepositoryNotIn ¶
func RepositoryNotIn(vs ...string) predicate.EvidenceLog
RepositoryNotIn applies the NotIn predicate on the "repository" field.
func UniqueID ¶
func UniqueID(v []byte) predicate.EvidenceLog
UniqueID applies equality check predicate on the "unique_id" field. It's identical to UniqueIDEQ.
func UniqueIDEQ ¶
func UniqueIDEQ(v []byte) predicate.EvidenceLog
UniqueIDEQ applies the EQ predicate on the "unique_id" field.
func UniqueIDGT ¶
func UniqueIDGT(v []byte) predicate.EvidenceLog
UniqueIDGT applies the GT predicate on the "unique_id" field.
func UniqueIDGTE ¶
func UniqueIDGTE(v []byte) predicate.EvidenceLog
UniqueIDGTE applies the GTE predicate on the "unique_id" field.
func UniqueIDIn ¶
func UniqueIDIn(vs ...[]byte) predicate.EvidenceLog
UniqueIDIn applies the In predicate on the "unique_id" field.
func UniqueIDLT ¶
func UniqueIDLT(v []byte) predicate.EvidenceLog
UniqueIDLT applies the LT predicate on the "unique_id" field.
func UniqueIDLTE ¶
func UniqueIDLTE(v []byte) predicate.EvidenceLog
UniqueIDLTE applies the LTE predicate on the "unique_id" field.
func UniqueIDNEQ ¶
func UniqueIDNEQ(v []byte) predicate.EvidenceLog
UniqueIDNEQ applies the NEQ predicate on the "unique_id" field.
func UniqueIDNotIn ¶
func UniqueIDNotIn(vs ...[]byte) predicate.EvidenceLog
UniqueIDNotIn applies the NotIn predicate on the "unique_id" 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 EvidenceLog queries.
func ByCommitID ¶
func ByCommitID(opts ...sql.OrderTermOption) OrderOption
ByCommitID orders the results by the commit_id field.
func ByEvidence ¶
func ByEvidence(opts ...sql.OrderTermOption) OrderOption
ByEvidence orders the results by the evidence field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByRepository ¶
func ByRepository(opts ...sql.OrderTermOption) OrderOption
ByRepository orders the results by the repository field.
func ByTaField ¶
func ByTaField(field string, opts ...sql.OrderTermOption) OrderOption
ByTaField orders the results by ta field.