Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Scan) predicate.Scan
- func Branch(v string) predicate.Scan
- func BranchContains(v string) predicate.Scan
- func BranchContainsFold(v string) predicate.Scan
- func BranchEQ(v string) predicate.Scan
- func BranchEqualFold(v string) predicate.Scan
- func BranchGT(v string) predicate.Scan
- func BranchGTE(v string) predicate.Scan
- func BranchHasPrefix(v string) predicate.Scan
- func BranchHasSuffix(v string) predicate.Scan
- func BranchIn(vs ...string) predicate.Scan
- func BranchLT(v string) predicate.Scan
- func BranchLTE(v string) predicate.Scan
- func BranchNEQ(v string) predicate.Scan
- func BranchNotIn(vs ...string) predicate.Scan
- func CheckID(v int64) predicate.Scan
- func CheckIDEQ(v int64) predicate.Scan
- func CheckIDGT(v int64) predicate.Scan
- func CheckIDGTE(v int64) predicate.Scan
- func CheckIDIn(vs ...int64) predicate.Scan
- func CheckIDIsNil() predicate.Scan
- func CheckIDLT(v int64) predicate.Scan
- func CheckIDLTE(v int64) predicate.Scan
- func CheckIDNEQ(v int64) predicate.Scan
- func CheckIDNotIn(vs ...int64) predicate.Scan
- func CheckIDNotNil() predicate.Scan
- func CommitID(v string) predicate.Scan
- func CommitIDContains(v string) predicate.Scan
- func CommitIDContainsFold(v string) predicate.Scan
- func CommitIDEQ(v string) predicate.Scan
- func CommitIDEqualFold(v string) predicate.Scan
- func CommitIDGT(v string) predicate.Scan
- func CommitIDGTE(v string) predicate.Scan
- func CommitIDHasPrefix(v string) predicate.Scan
- func CommitIDHasSuffix(v string) predicate.Scan
- func CommitIDIn(vs ...string) predicate.Scan
- func CommitIDLT(v string) predicate.Scan
- func CommitIDLTE(v string) predicate.Scan
- func CommitIDNEQ(v string) predicate.Scan
- func CommitIDNotIn(vs ...string) predicate.Scan
- func HasPackages() predicate.Scan
- func HasPackagesWith(preds ...predicate.PackageRecord) predicate.Scan
- func HasRepository() predicate.Scan
- func HasRepositoryWith(preds ...predicate.Repository) predicate.Scan
- func ID(id string) predicate.Scan
- func IDEQ(id string) predicate.Scan
- func IDGT(id string) predicate.Scan
- func IDGTE(id string) predicate.Scan
- func IDIn(ids ...string) predicate.Scan
- func IDLT(id string) predicate.Scan
- func IDLTE(id string) predicate.Scan
- func IDNEQ(id string) predicate.Scan
- func IDNotIn(ids ...string) predicate.Scan
- func Not(p predicate.Scan) predicate.Scan
- func Or(predicates ...predicate.Scan) predicate.Scan
- func PullRequestTarget(v string) predicate.Scan
- func PullRequestTargetContains(v string) predicate.Scan
- func PullRequestTargetContainsFold(v string) predicate.Scan
- func PullRequestTargetEQ(v string) predicate.Scan
- func PullRequestTargetEqualFold(v string) predicate.Scan
- func PullRequestTargetGT(v string) predicate.Scan
- func PullRequestTargetGTE(v string) predicate.Scan
- func PullRequestTargetHasPrefix(v string) predicate.Scan
- func PullRequestTargetHasSuffix(v string) predicate.Scan
- func PullRequestTargetIn(vs ...string) predicate.Scan
- func PullRequestTargetIsNil() predicate.Scan
- func PullRequestTargetLT(v string) predicate.Scan
- func PullRequestTargetLTE(v string) predicate.Scan
- func PullRequestTargetNEQ(v string) predicate.Scan
- func PullRequestTargetNotIn(vs ...string) predicate.Scan
- func PullRequestTargetNotNil() predicate.Scan
- func RequestedAt(v int64) predicate.Scan
- func RequestedAtEQ(v int64) predicate.Scan
- func RequestedAtGT(v int64) predicate.Scan
- func RequestedAtGTE(v int64) predicate.Scan
- func RequestedAtIn(vs ...int64) predicate.Scan
- func RequestedAtLT(v int64) predicate.Scan
- func RequestedAtLTE(v int64) predicate.Scan
- func RequestedAtNEQ(v int64) predicate.Scan
- func RequestedAtNotIn(vs ...int64) predicate.Scan
- func ScannedAt(v int64) predicate.Scan
- func ScannedAtEQ(v int64) predicate.Scan
- func ScannedAtGT(v int64) predicate.Scan
- func ScannedAtGTE(v int64) predicate.Scan
- func ScannedAtIn(vs ...int64) predicate.Scan
- func ScannedAtLT(v int64) predicate.Scan
- func ScannedAtLTE(v int64) predicate.Scan
- func ScannedAtNEQ(v int64) predicate.Scan
- func ScannedAtNotIn(vs ...int64) predicate.Scan
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the scan type in the database. Label = "scan" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldBranch holds the string denoting the branch field in the database. FieldBranch = "branch" // FieldCommitID holds the string denoting the commit_id field in the database. FieldCommitID = "commit_id" // FieldRequestedAt holds the string denoting the requested_at field in the database. FieldRequestedAt = "requested_at" // FieldScannedAt holds the string denoting the scanned_at field in the database. FieldScannedAt = "scanned_at" // FieldCheckID holds the string denoting the check_id field in the database. FieldCheckID = "check_id" // FieldPullRequestTarget holds the string denoting the pull_request_target field in the database. FieldPullRequestTarget = "pull_request_target" // EdgeRepository holds the string denoting the repository edge name in mutations. EdgeRepository = "repository" // EdgePackages holds the string denoting the packages edge name in mutations. EdgePackages = "packages" // Table holds the table name of the scan in the database. Table = "scans" // RepositoryTable is the table that holds the repository relation/edge. The primary key declared below. RepositoryTable = "repository_scan" // RepositoryInverseTable is the table name for the Repository entity. // It exists in this package in order to avoid circular dependency with the "repository" package. RepositoryInverseTable = "repositories" // PackagesTable is the table that holds the packages relation/edge. The primary key declared below. PackagesTable = "scan_packages" // PackagesInverseTable is the table name for the PackageRecord entity. // It exists in this package in order to avoid circular dependency with the "packagerecord" package. PackagesInverseTable = "package_records" )
Variables ¶
var ( // RepositoryPrimaryKey and RepositoryColumn2 are the table columns denoting the // primary key for the repository relation (M2M). RepositoryPrimaryKey = []string{"repository_id", "scan_id"} // PackagesPrimaryKey and PackagesColumn2 are the table columns denoting the // primary key for the packages relation (M2M). PackagesPrimaryKey = []string{"scan_id", "package_record_id"} )
var Columns = []string{ FieldID, FieldBranch, FieldCommitID, FieldRequestedAt, FieldScannedAt, FieldCheckID, FieldPullRequestTarget, }
Columns holds all SQL columns for scan fields.
var ForeignKeys = []string{
"repository_main",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "scans" table and are not defined as standalone fields in the schema.
Functions ¶
func Branch ¶
Branch applies equality check predicate on the "branch" field. It's identical to BranchEQ.
func BranchContains ¶
BranchContains applies the Contains predicate on the "branch" field.
func BranchContainsFold ¶
BranchContainsFold applies the ContainsFold predicate on the "branch" field.
func BranchEqualFold ¶
BranchEqualFold applies the EqualFold predicate on the "branch" field.
func BranchHasPrefix ¶
BranchHasPrefix applies the HasPrefix predicate on the "branch" field.
func BranchHasSuffix ¶
BranchHasSuffix applies the HasSuffix predicate on the "branch" field.
func BranchNotIn ¶
BranchNotIn applies the NotIn predicate on the "branch" field.
func CheckID ¶
CheckID applies equality check predicate on the "check_id" field. It's identical to CheckIDEQ.
func CheckIDGTE ¶
CheckIDGTE applies the GTE predicate on the "check_id" field.
func CheckIDIsNil ¶
CheckIDIsNil applies the IsNil predicate on the "check_id" field.
func CheckIDLTE ¶
CheckIDLTE applies the LTE predicate on the "check_id" field.
func CheckIDNEQ ¶
CheckIDNEQ applies the NEQ predicate on the "check_id" field.
func CheckIDNotIn ¶
CheckIDNotIn applies the NotIn predicate on the "check_id" field.
func CheckIDNotNil ¶
CheckIDNotNil applies the NotNil predicate on the "check_id" field.
func CommitID ¶
CommitID applies equality check predicate on the "commit_id" field. It's identical to CommitIDEQ.
func CommitIDContains ¶
CommitIDContains applies the Contains predicate on the "commit_id" field.
func CommitIDContainsFold ¶
CommitIDContainsFold applies the ContainsFold predicate on the "commit_id" field.
func CommitIDEQ ¶
CommitIDEQ applies the EQ predicate on the "commit_id" field.
func CommitIDEqualFold ¶
CommitIDEqualFold applies the EqualFold predicate on the "commit_id" field.
func CommitIDGT ¶
CommitIDGT applies the GT predicate on the "commit_id" field.
func CommitIDGTE ¶
CommitIDGTE applies the GTE predicate on the "commit_id" field.
func CommitIDHasPrefix ¶
CommitIDHasPrefix applies the HasPrefix predicate on the "commit_id" field.
func CommitIDHasSuffix ¶
CommitIDHasSuffix applies the HasSuffix predicate on the "commit_id" field.
func CommitIDIn ¶
CommitIDIn applies the In predicate on the "commit_id" field.
func CommitIDLT ¶
CommitIDLT applies the LT predicate on the "commit_id" field.
func CommitIDLTE ¶
CommitIDLTE applies the LTE predicate on the "commit_id" field.
func CommitIDNEQ ¶
CommitIDNEQ applies the NEQ predicate on the "commit_id" field.
func CommitIDNotIn ¶
CommitIDNotIn applies the NotIn predicate on the "commit_id" field.
func HasPackages ¶
HasPackages applies the HasEdge predicate on the "packages" edge.
func HasPackagesWith ¶
func HasPackagesWith(preds ...predicate.PackageRecord) predicate.Scan
HasPackagesWith applies the HasEdge predicate on the "packages" edge with a given conditions (other predicates).
func HasRepository ¶
HasRepository applies the HasEdge predicate on the "repository" edge.
func HasRepositoryWith ¶
func HasRepositoryWith(preds ...predicate.Repository) predicate.Scan
HasRepositoryWith applies the HasEdge predicate on the "repository" edge with a given conditions (other predicates).
func PullRequestTarget ¶
PullRequestTarget applies equality check predicate on the "pull_request_target" field. It's identical to PullRequestTargetEQ.
func PullRequestTargetContains ¶
PullRequestTargetContains applies the Contains predicate on the "pull_request_target" field.
func PullRequestTargetContainsFold ¶
PullRequestTargetContainsFold applies the ContainsFold predicate on the "pull_request_target" field.
func PullRequestTargetEQ ¶
PullRequestTargetEQ applies the EQ predicate on the "pull_request_target" field.
func PullRequestTargetEqualFold ¶
PullRequestTargetEqualFold applies the EqualFold predicate on the "pull_request_target" field.
func PullRequestTargetGT ¶
PullRequestTargetGT applies the GT predicate on the "pull_request_target" field.
func PullRequestTargetGTE ¶
PullRequestTargetGTE applies the GTE predicate on the "pull_request_target" field.
func PullRequestTargetHasPrefix ¶
PullRequestTargetHasPrefix applies the HasPrefix predicate on the "pull_request_target" field.
func PullRequestTargetHasSuffix ¶
PullRequestTargetHasSuffix applies the HasSuffix predicate on the "pull_request_target" field.
func PullRequestTargetIn ¶
PullRequestTargetIn applies the In predicate on the "pull_request_target" field.
func PullRequestTargetIsNil ¶
PullRequestTargetIsNil applies the IsNil predicate on the "pull_request_target" field.
func PullRequestTargetLT ¶
PullRequestTargetLT applies the LT predicate on the "pull_request_target" field.
func PullRequestTargetLTE ¶
PullRequestTargetLTE applies the LTE predicate on the "pull_request_target" field.
func PullRequestTargetNEQ ¶
PullRequestTargetNEQ applies the NEQ predicate on the "pull_request_target" field.
func PullRequestTargetNotIn ¶
PullRequestTargetNotIn applies the NotIn predicate on the "pull_request_target" field.
func PullRequestTargetNotNil ¶
PullRequestTargetNotNil applies the NotNil predicate on the "pull_request_target" field.
func RequestedAt ¶
RequestedAt applies equality check predicate on the "requested_at" field. It's identical to RequestedAtEQ.
func RequestedAtEQ ¶
RequestedAtEQ applies the EQ predicate on the "requested_at" field.
func RequestedAtGT ¶
RequestedAtGT applies the GT predicate on the "requested_at" field.
func RequestedAtGTE ¶
RequestedAtGTE applies the GTE predicate on the "requested_at" field.
func RequestedAtIn ¶
RequestedAtIn applies the In predicate on the "requested_at" field.
func RequestedAtLT ¶
RequestedAtLT applies the LT predicate on the "requested_at" field.
func RequestedAtLTE ¶
RequestedAtLTE applies the LTE predicate on the "requested_at" field.
func RequestedAtNEQ ¶
RequestedAtNEQ applies the NEQ predicate on the "requested_at" field.
func RequestedAtNotIn ¶
RequestedAtNotIn applies the NotIn predicate on the "requested_at" field.
func ScannedAt ¶
ScannedAt applies equality check predicate on the "scanned_at" field. It's identical to ScannedAtEQ.
func ScannedAtEQ ¶
ScannedAtEQ applies the EQ predicate on the "scanned_at" field.
func ScannedAtGT ¶
ScannedAtGT applies the GT predicate on the "scanned_at" field.
func ScannedAtGTE ¶
ScannedAtGTE applies the GTE predicate on the "scanned_at" field.
func ScannedAtIn ¶
ScannedAtIn applies the In predicate on the "scanned_at" field.
func ScannedAtLT ¶
ScannedAtLT applies the LT predicate on the "scanned_at" field.
func ScannedAtLTE ¶
ScannedAtLTE applies the LTE predicate on the "scanned_at" field.
func ScannedAtNEQ ¶
ScannedAtNEQ applies the NEQ predicate on the "scanned_at" field.
func ScannedAtNotIn ¶
ScannedAtNotIn applies the NotIn predicate on the "scanned_at" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.