Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.GitCommit) predicate.GitCommit
- func Branch(v string) predicate.GitCommit
- func BranchContains(v string) predicate.GitCommit
- func BranchContainsFold(v string) predicate.GitCommit
- func BranchEQ(v string) predicate.GitCommit
- func BranchEqualFold(v string) predicate.GitCommit
- func BranchGT(v string) predicate.GitCommit
- func BranchGTE(v string) predicate.GitCommit
- func BranchHasPrefix(v string) predicate.GitCommit
- func BranchHasSuffix(v string) predicate.GitCommit
- func BranchIn(vs ...string) predicate.GitCommit
- func BranchLT(v string) predicate.GitCommit
- func BranchLTE(v string) predicate.GitCommit
- func BranchNEQ(v string) predicate.GitCommit
- func BranchNotIn(vs ...string) predicate.GitCommit
- func HasRelease() predicate.GitCommit
- func HasReleaseWith(preds ...predicate.Release) predicate.GitCommit
- func HasRepo() predicate.GitCommit
- func HasRepoWith(preds ...predicate.Repo) predicate.GitCommit
- func Hash(v string) predicate.GitCommit
- func HashContains(v string) predicate.GitCommit
- func HashContainsFold(v string) predicate.GitCommit
- func HashEQ(v string) predicate.GitCommit
- func HashEqualFold(v string) predicate.GitCommit
- func HashGT(v string) predicate.GitCommit
- func HashGTE(v string) predicate.GitCommit
- func HashHasPrefix(v string) predicate.GitCommit
- func HashHasSuffix(v string) predicate.GitCommit
- func HashIn(vs ...string) predicate.GitCommit
- func HashLT(v string) predicate.GitCommit
- func HashLTE(v string) predicate.GitCommit
- func HashNEQ(v string) predicate.GitCommit
- func HashNotIn(vs ...string) predicate.GitCommit
- func ID(id int) predicate.GitCommit
- func IDEQ(id int) predicate.GitCommit
- func IDGT(id int) predicate.GitCommit
- func IDGTE(id int) predicate.GitCommit
- func IDIn(ids ...int) predicate.GitCommit
- func IDLT(id int) predicate.GitCommit
- func IDLTE(id int) predicate.GitCommit
- func IDNEQ(id int) predicate.GitCommit
- func IDNotIn(ids ...int) predicate.GitCommit
- func Not(p predicate.GitCommit) predicate.GitCommit
- func Or(predicates ...predicate.GitCommit) predicate.GitCommit
- func Tag(v string) predicate.GitCommit
- func TagContains(v string) predicate.GitCommit
- func TagContainsFold(v string) predicate.GitCommit
- func TagEQ(v string) predicate.GitCommit
- func TagEqualFold(v string) predicate.GitCommit
- func TagGT(v string) predicate.GitCommit
- func TagGTE(v string) predicate.GitCommit
- func TagHasPrefix(v string) predicate.GitCommit
- func TagHasSuffix(v string) predicate.GitCommit
- func TagIn(vs ...string) predicate.GitCommit
- func TagIsNil() predicate.GitCommit
- func TagLT(v string) predicate.GitCommit
- func TagLTE(v string) predicate.GitCommit
- func TagNEQ(v string) predicate.GitCommit
- func TagNotIn(vs ...string) predicate.GitCommit
- func TagNotNil() predicate.GitCommit
- func Time(v time.Time) predicate.GitCommit
- func TimeEQ(v time.Time) predicate.GitCommit
- func TimeGT(v time.Time) predicate.GitCommit
- func TimeGTE(v time.Time) predicate.GitCommit
- func TimeIn(vs ...time.Time) predicate.GitCommit
- func TimeLT(v time.Time) predicate.GitCommit
- func TimeLTE(v time.Time) predicate.GitCommit
- func TimeNEQ(v time.Time) predicate.GitCommit
- func TimeNotIn(vs ...time.Time) predicate.GitCommit
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the gitcommit type in the database. Label = "git_commit" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldHash holds the string denoting the hash field in the database. FieldHash = "hash" // FieldBranch holds the string denoting the branch field in the database. FieldBranch = "branch" // FieldTag holds the string denoting the tag field in the database. FieldTag = "tag" // FieldTime holds the string denoting the time field in the database. FieldTime = "time" // EdgeRepo holds the string denoting the repo edge name in mutations. EdgeRepo = "repo" // EdgeRelease holds the string denoting the release edge name in mutations. EdgeRelease = "release" // Table holds the table name of the gitcommit in the database. Table = "commit" // RepoTable is the table that holds the repo relation/edge. RepoTable = "commit" // RepoInverseTable is the table name for the Repo entity. // It exists in this package in order to avoid circular dependency with the "repo" package. RepoInverseTable = "repo" // RepoColumn is the table column denoting the repo relation/edge. RepoColumn = "git_commit_repo" // ReleaseTable is the table that holds the release relation/edge. ReleaseTable = "release" // ReleaseInverseTable is the table name for the Release entity. // It exists in this package in order to avoid circular dependency with the "release" package. ReleaseInverseTable = "release" // ReleaseColumn is the table column denoting the release relation/edge. ReleaseColumn = "git_commit_release" )
Variables ¶
var ( // HashValidator is a validator for the "hash" field. It is called by the builders before save. HashValidator func(string) error // BranchValidator is a validator for the "branch" field. It is called by the builders before save. BranchValidator func(string) error )
var Columns = []string{ FieldID, FieldHash, FieldBranch, FieldTag, FieldTime, }
Columns holds all SQL columns for gitcommit fields.
var ForeignKeys = []string{
"git_commit_repo",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "commit" 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 HasRelease ¶
HasRelease applies the HasEdge predicate on the "release" edge.
func HasReleaseWith ¶
HasReleaseWith applies the HasEdge predicate on the "release" edge with a given conditions (other predicates).
func HasRepoWith ¶
HasRepoWith applies the HasEdge predicate on the "repo" edge with a given conditions (other predicates).
func HashContains ¶
HashContains applies the Contains predicate on the "hash" field.
func HashContainsFold ¶
HashContainsFold applies the ContainsFold predicate on the "hash" field.
func HashEqualFold ¶
HashEqualFold applies the EqualFold predicate on the "hash" field.
func HashHasPrefix ¶
HashHasPrefix applies the HasPrefix predicate on the "hash" field.
func HashHasSuffix ¶
HashHasSuffix applies the HasSuffix predicate on the "hash" field.
func TagContains ¶
TagContains applies the Contains predicate on the "tag" field.
func TagContainsFold ¶
TagContainsFold applies the ContainsFold predicate on the "tag" field.
func TagEqualFold ¶
TagEqualFold applies the EqualFold predicate on the "tag" field.
func TagHasPrefix ¶
TagHasPrefix applies the HasPrefix predicate on the "tag" field.
func TagHasSuffix ¶
TagHasSuffix applies the HasSuffix predicate on the "tag" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.