gitcommit

package
v0.0.0-...-aca7f8d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 2, 2021 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
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

View Source
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
)

Columns holds all SQL columns for gitcommit fields.

View Source
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 And

func And(predicates ...predicate.GitCommit) predicate.GitCommit

And groups predicates with the AND operator between them.

func Branch

func Branch(v string) predicate.GitCommit

Branch applies equality check predicate on the "branch" field. It's identical to BranchEQ.

func BranchContains

func BranchContains(v string) predicate.GitCommit

BranchContains applies the Contains predicate on the "branch" field.

func BranchContainsFold

func BranchContainsFold(v string) predicate.GitCommit

BranchContainsFold applies the ContainsFold predicate on the "branch" field.

func BranchEQ

func BranchEQ(v string) predicate.GitCommit

BranchEQ applies the EQ predicate on the "branch" field.

func BranchEqualFold

func BranchEqualFold(v string) predicate.GitCommit

BranchEqualFold applies the EqualFold predicate on the "branch" field.

func BranchGT

func BranchGT(v string) predicate.GitCommit

BranchGT applies the GT predicate on the "branch" field.

func BranchGTE

func BranchGTE(v string) predicate.GitCommit

BranchGTE applies the GTE predicate on the "branch" field.

func BranchHasPrefix

func BranchHasPrefix(v string) predicate.GitCommit

BranchHasPrefix applies the HasPrefix predicate on the "branch" field.

func BranchHasSuffix

func BranchHasSuffix(v string) predicate.GitCommit

BranchHasSuffix applies the HasSuffix predicate on the "branch" field.

func BranchIn

func BranchIn(vs ...string) predicate.GitCommit

BranchIn applies the In predicate on the "branch" field.

func BranchLT

func BranchLT(v string) predicate.GitCommit

BranchLT applies the LT predicate on the "branch" field.

func BranchLTE

func BranchLTE(v string) predicate.GitCommit

BranchLTE applies the LTE predicate on the "branch" field.

func BranchNEQ

func BranchNEQ(v string) predicate.GitCommit

BranchNEQ applies the NEQ predicate on the "branch" field.

func BranchNotIn

func BranchNotIn(vs ...string) predicate.GitCommit

BranchNotIn applies the NotIn predicate on the "branch" field.

func HasRelease

func HasRelease() predicate.GitCommit

HasRelease applies the HasEdge predicate on the "release" edge.

func HasReleaseWith

func HasReleaseWith(preds ...predicate.Release) predicate.GitCommit

HasReleaseWith applies the HasEdge predicate on the "release" edge with a given conditions (other predicates).

func HasRepo

func HasRepo() predicate.GitCommit

HasRepo applies the HasEdge predicate on the "repo" edge.

func HasRepoWith

func HasRepoWith(preds ...predicate.Repo) predicate.GitCommit

HasRepoWith applies the HasEdge predicate on the "repo" edge with a given conditions (other predicates).

func Hash

func Hash(v string) predicate.GitCommit

Hash applies equality check predicate on the "hash" field. It's identical to HashEQ.

func HashContains

func HashContains(v string) predicate.GitCommit

HashContains applies the Contains predicate on the "hash" field.

func HashContainsFold

func HashContainsFold(v string) predicate.GitCommit

HashContainsFold applies the ContainsFold predicate on the "hash" field.

func HashEQ

func HashEQ(v string) predicate.GitCommit

HashEQ applies the EQ predicate on the "hash" field.

func HashEqualFold

func HashEqualFold(v string) predicate.GitCommit

HashEqualFold applies the EqualFold predicate on the "hash" field.

func HashGT

func HashGT(v string) predicate.GitCommit

HashGT applies the GT predicate on the "hash" field.

func HashGTE

func HashGTE(v string) predicate.GitCommit

HashGTE applies the GTE predicate on the "hash" field.

func HashHasPrefix

func HashHasPrefix(v string) predicate.GitCommit

HashHasPrefix applies the HasPrefix predicate on the "hash" field.

func HashHasSuffix

func HashHasSuffix(v string) predicate.GitCommit

HashHasSuffix applies the HasSuffix predicate on the "hash" field.

func HashIn

func HashIn(vs ...string) predicate.GitCommit

HashIn applies the In predicate on the "hash" field.

func HashLT

func HashLT(v string) predicate.GitCommit

HashLT applies the LT predicate on the "hash" field.

func HashLTE

func HashLTE(v string) predicate.GitCommit

HashLTE applies the LTE predicate on the "hash" field.

func HashNEQ

func HashNEQ(v string) predicate.GitCommit

HashNEQ applies the NEQ predicate on the "hash" field.

func HashNotIn

func HashNotIn(vs ...string) predicate.GitCommit

HashNotIn applies the NotIn predicate on the "hash" field.

func ID

func ID(id int) predicate.GitCommit

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.GitCommit

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.GitCommit

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.GitCommit

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.GitCommit

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.GitCommit

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.GitCommit

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.GitCommit

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.GitCommit

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.GitCommit) predicate.GitCommit

Or groups predicates with the OR operator between them.

func Tag

func Tag(v string) predicate.GitCommit

Tag applies equality check predicate on the "tag" field. It's identical to TagEQ.

func TagContains

func TagContains(v string) predicate.GitCommit

TagContains applies the Contains predicate on the "tag" field.

func TagContainsFold

func TagContainsFold(v string) predicate.GitCommit

TagContainsFold applies the ContainsFold predicate on the "tag" field.

func TagEQ

func TagEQ(v string) predicate.GitCommit

TagEQ applies the EQ predicate on the "tag" field.

func TagEqualFold

func TagEqualFold(v string) predicate.GitCommit

TagEqualFold applies the EqualFold predicate on the "tag" field.

func TagGT

func TagGT(v string) predicate.GitCommit

TagGT applies the GT predicate on the "tag" field.

func TagGTE

func TagGTE(v string) predicate.GitCommit

TagGTE applies the GTE predicate on the "tag" field.

func TagHasPrefix

func TagHasPrefix(v string) predicate.GitCommit

TagHasPrefix applies the HasPrefix predicate on the "tag" field.

func TagHasSuffix

func TagHasSuffix(v string) predicate.GitCommit

TagHasSuffix applies the HasSuffix predicate on the "tag" field.

func TagIn

func TagIn(vs ...string) predicate.GitCommit

TagIn applies the In predicate on the "tag" field.

func TagIsNil

func TagIsNil() predicate.GitCommit

TagIsNil applies the IsNil predicate on the "tag" field.

func TagLT

func TagLT(v string) predicate.GitCommit

TagLT applies the LT predicate on the "tag" field.

func TagLTE

func TagLTE(v string) predicate.GitCommit

TagLTE applies the LTE predicate on the "tag" field.

func TagNEQ

func TagNEQ(v string) predicate.GitCommit

TagNEQ applies the NEQ predicate on the "tag" field.

func TagNotIn

func TagNotIn(vs ...string) predicate.GitCommit

TagNotIn applies the NotIn predicate on the "tag" field.

func TagNotNil

func TagNotNil() predicate.GitCommit

TagNotNil applies the NotNil predicate on the "tag" field.

func Time

func Time(v time.Time) predicate.GitCommit

Time applies equality check predicate on the "time" field. It's identical to TimeEQ.

func TimeEQ

func TimeEQ(v time.Time) predicate.GitCommit

TimeEQ applies the EQ predicate on the "time" field.

func TimeGT

func TimeGT(v time.Time) predicate.GitCommit

TimeGT applies the GT predicate on the "time" field.

func TimeGTE

func TimeGTE(v time.Time) predicate.GitCommit

TimeGTE applies the GTE predicate on the "time" field.

func TimeIn

func TimeIn(vs ...time.Time) predicate.GitCommit

TimeIn applies the In predicate on the "time" field.

func TimeLT

func TimeLT(v time.Time) predicate.GitCommit

TimeLT applies the LT predicate on the "time" field.

func TimeLTE

func TimeLTE(v time.Time) predicate.GitCommit

TimeLTE applies the LTE predicate on the "time" field.

func TimeNEQ

func TimeNEQ(v time.Time) predicate.GitCommit

TimeNEQ applies the NEQ predicate on the "time" field.

func TimeNotIn

func TimeNotIn(vs ...time.Time) predicate.GitCommit

TimeNotIn applies the NotIn predicate on the "time" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL