changelog

package
v5.0.0-beta Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2024 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the changelog type in the database.
	Label = "changelog"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldUpdatedAt holds the string denoting the updated_at field in the database.
	FieldUpdatedAt = "updated_at"
	// FieldDeletedAt holds the string denoting the deleted_at field in the database.
	FieldDeletedAt = "deleted_at"
	// FieldVersion holds the string denoting the version field in the database.
	FieldVersion = "version"
	// FieldUsername holds the string denoting the username field in the database.
	FieldUsername = "username"
	// FieldConfig holds the string denoting the config field in the database.
	FieldConfig = "config"
	// FieldGitBranch holds the string denoting the git_branch field in the database.
	FieldGitBranch = "git_branch"
	// FieldGitCommit holds the string denoting the git_commit field in the database.
	FieldGitCommit = "git_commit"
	// FieldDockerImage holds the string denoting the docker_image field in the database.
	FieldDockerImage = "docker_image"
	// FieldEnvValues holds the string denoting the env_values field in the database.
	FieldEnvValues = "env_values"
	// FieldExtraValues holds the string denoting the extra_values field in the database.
	FieldExtraValues = "extra_values"
	// FieldFinalExtraValues holds the string denoting the final_extra_values field in the database.
	FieldFinalExtraValues = "final_extra_values"
	// FieldGitCommitWebURL holds the string denoting the git_commit_web_url field in the database.
	FieldGitCommitWebURL = "git_commit_web_url"
	// FieldGitCommitTitle holds the string denoting the git_commit_title field in the database.
	FieldGitCommitTitle = "git_commit_title"
	// FieldGitCommitAuthor holds the string denoting the git_commit_author field in the database.
	FieldGitCommitAuthor = "git_commit_author"
	// FieldGitCommitDate holds the string denoting the git_commit_date field in the database.
	FieldGitCommitDate = "git_commit_date"
	// FieldConfigChanged holds the string denoting the config_changed field in the database.
	FieldConfigChanged = "config_changed"
	// FieldProjectID holds the string denoting the project_id field in the database.
	FieldProjectID = "project_id"
	// EdgeProject holds the string denoting the project edge name in mutations.
	EdgeProject = "project"
	// Table holds the table name of the changelog in the database.
	Table = "changelogs"
	// ProjectTable is the table that holds the project relation/edge.
	ProjectTable = "changelogs"
	// ProjectInverseTable is the table name for the Project entity.
	// It exists in this package in order to avoid circular dependency with the "project" package.
	ProjectInverseTable = "projects"
	// ProjectColumn is the table column denoting the project relation/edge.
	ProjectColumn = "project_id"
)

Variables

View Source
var (
	Hooks        [1]ent.Hook
	Interceptors [1]ent.Interceptor
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
	// DefaultUpdatedAt holds the default value on creation for the "updated_at" field.
	DefaultUpdatedAt func() time.Time
	// UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field.
	UpdateDefaultUpdatedAt func() time.Time
	// DefaultVersion holds the default value on creation for the "version" field.
	DefaultVersion int
	// UsernameValidator is a validator for the "username" field. It is called by the builders before save.
	UsernameValidator func(string) error
	// GitCommitTitleValidator is a validator for the "git_commit_title" field. It is called by the builders before save.
	GitCommitTitleValidator func(string) error
	// GitCommitAuthorValidator is a validator for the "git_commit_author" field. It is called by the builders before save.
	GitCommitAuthorValidator func(string) error
	// DefaultConfigChanged holds the default value on creation for the "config_changed" field.
	DefaultConfigChanged bool
)

Note that the variables below are initialized by the runtime package on the initialization of the application. Therefore, it should be imported in the main as follows:

import _ "github.com/duc-cnzj/mars/v5/internal/ent/runtime"

Columns holds all SQL columns for changelog fields.

Functions

func And

func And(predicates ...predicate.Changelog) predicate.Changelog

And groups predicates with the AND operator between them.

func Config

func Config(v string) predicate.Changelog

Config applies equality check predicate on the "config" field. It's identical to ConfigEQ.

func ConfigChanged

func ConfigChanged(v bool) predicate.Changelog

ConfigChanged applies equality check predicate on the "config_changed" field. It's identical to ConfigChangedEQ.

func ConfigChangedEQ

func ConfigChangedEQ(v bool) predicate.Changelog

ConfigChangedEQ applies the EQ predicate on the "config_changed" field.

func ConfigChangedNEQ

func ConfigChangedNEQ(v bool) predicate.Changelog

ConfigChangedNEQ applies the NEQ predicate on the "config_changed" field.

func ConfigContains

func ConfigContains(v string) predicate.Changelog

ConfigContains applies the Contains predicate on the "config" field.

func ConfigContainsFold

func ConfigContainsFold(v string) predicate.Changelog

ConfigContainsFold applies the ContainsFold predicate on the "config" field.

func ConfigEQ

func ConfigEQ(v string) predicate.Changelog

ConfigEQ applies the EQ predicate on the "config" field.

func ConfigEqualFold

func ConfigEqualFold(v string) predicate.Changelog

ConfigEqualFold applies the EqualFold predicate on the "config" field.

func ConfigGT

func ConfigGT(v string) predicate.Changelog

ConfigGT applies the GT predicate on the "config" field.

func ConfigGTE

func ConfigGTE(v string) predicate.Changelog

ConfigGTE applies the GTE predicate on the "config" field.

func ConfigHasPrefix

func ConfigHasPrefix(v string) predicate.Changelog

ConfigHasPrefix applies the HasPrefix predicate on the "config" field.

func ConfigHasSuffix

func ConfigHasSuffix(v string) predicate.Changelog

ConfigHasSuffix applies the HasSuffix predicate on the "config" field.

func ConfigIn

func ConfigIn(vs ...string) predicate.Changelog

ConfigIn applies the In predicate on the "config" field.

func ConfigIsNil

func ConfigIsNil() predicate.Changelog

ConfigIsNil applies the IsNil predicate on the "config" field.

func ConfigLT

func ConfigLT(v string) predicate.Changelog

ConfigLT applies the LT predicate on the "config" field.

func ConfigLTE

func ConfigLTE(v string) predicate.Changelog

ConfigLTE applies the LTE predicate on the "config" field.

func ConfigNEQ

func ConfigNEQ(v string) predicate.Changelog

ConfigNEQ applies the NEQ predicate on the "config" field.

func ConfigNotIn

func ConfigNotIn(vs ...string) predicate.Changelog

ConfigNotIn applies the NotIn predicate on the "config" field.

func ConfigNotNil

func ConfigNotNil() predicate.Changelog

ConfigNotNil applies the NotNil predicate on the "config" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.Changelog

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Changelog

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Changelog

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Changelog

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.Changelog

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Changelog

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Changelog

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Changelog

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.Changelog

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func DeletedAt

func DeletedAt(v time.Time) predicate.Changelog

DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.Changelog

DeletedAtEQ applies the EQ predicate on the "deleted_at" field.

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.Changelog

DeletedAtGT applies the GT predicate on the "deleted_at" field.

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.Changelog

DeletedAtGTE applies the GTE predicate on the "deleted_at" field.

func DeletedAtIn

func DeletedAtIn(vs ...time.Time) predicate.Changelog

DeletedAtIn applies the In predicate on the "deleted_at" field.

func DeletedAtIsNil

func DeletedAtIsNil() predicate.Changelog

DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.Changelog

DeletedAtLT applies the LT predicate on the "deleted_at" field.

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.Changelog

DeletedAtLTE applies the LTE predicate on the "deleted_at" field.

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.Changelog

DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.

func DeletedAtNotIn

func DeletedAtNotIn(vs ...time.Time) predicate.Changelog

DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.

func DeletedAtNotNil

func DeletedAtNotNil() predicate.Changelog

DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.

func DockerImageIsNil

func DockerImageIsNil() predicate.Changelog

DockerImageIsNil applies the IsNil predicate on the "docker_image" field.

func DockerImageNotNil

func DockerImageNotNil() predicate.Changelog

DockerImageNotNil applies the NotNil predicate on the "docker_image" field.

func EnvValuesIsNil

func EnvValuesIsNil() predicate.Changelog

EnvValuesIsNil applies the IsNil predicate on the "env_values" field.

func EnvValuesNotNil

func EnvValuesNotNil() predicate.Changelog

EnvValuesNotNil applies the NotNil predicate on the "env_values" field.

func ExtraValuesIsNil

func ExtraValuesIsNil() predicate.Changelog

ExtraValuesIsNil applies the IsNil predicate on the "extra_values" field.

func ExtraValuesNotNil

func ExtraValuesNotNil() predicate.Changelog

ExtraValuesNotNil applies the NotNil predicate on the "extra_values" field.

func FinalExtraValuesIsNil

func FinalExtraValuesIsNil() predicate.Changelog

FinalExtraValuesIsNil applies the IsNil predicate on the "final_extra_values" field.

func FinalExtraValuesNotNil

func FinalExtraValuesNotNil() predicate.Changelog

FinalExtraValuesNotNil applies the NotNil predicate on the "final_extra_values" field.

func GitBranch

func GitBranch(v string) predicate.Changelog

GitBranch applies equality check predicate on the "git_branch" field. It's identical to GitBranchEQ.

func GitBranchContains

func GitBranchContains(v string) predicate.Changelog

GitBranchContains applies the Contains predicate on the "git_branch" field.

func GitBranchContainsFold

func GitBranchContainsFold(v string) predicate.Changelog

GitBranchContainsFold applies the ContainsFold predicate on the "git_branch" field.

func GitBranchEQ

func GitBranchEQ(v string) predicate.Changelog

GitBranchEQ applies the EQ predicate on the "git_branch" field.

func GitBranchEqualFold

func GitBranchEqualFold(v string) predicate.Changelog

GitBranchEqualFold applies the EqualFold predicate on the "git_branch" field.

func GitBranchGT

func GitBranchGT(v string) predicate.Changelog

GitBranchGT applies the GT predicate on the "git_branch" field.

func GitBranchGTE

func GitBranchGTE(v string) predicate.Changelog

GitBranchGTE applies the GTE predicate on the "git_branch" field.

func GitBranchHasPrefix

func GitBranchHasPrefix(v string) predicate.Changelog

GitBranchHasPrefix applies the HasPrefix predicate on the "git_branch" field.

func GitBranchHasSuffix

func GitBranchHasSuffix(v string) predicate.Changelog

GitBranchHasSuffix applies the HasSuffix predicate on the "git_branch" field.

func GitBranchIn

func GitBranchIn(vs ...string) predicate.Changelog

GitBranchIn applies the In predicate on the "git_branch" field.

func GitBranchIsNil

func GitBranchIsNil() predicate.Changelog

GitBranchIsNil applies the IsNil predicate on the "git_branch" field.

func GitBranchLT

func GitBranchLT(v string) predicate.Changelog

GitBranchLT applies the LT predicate on the "git_branch" field.

func GitBranchLTE

func GitBranchLTE(v string) predicate.Changelog

GitBranchLTE applies the LTE predicate on the "git_branch" field.

func GitBranchNEQ

func GitBranchNEQ(v string) predicate.Changelog

GitBranchNEQ applies the NEQ predicate on the "git_branch" field.

func GitBranchNotIn

func GitBranchNotIn(vs ...string) predicate.Changelog

GitBranchNotIn applies the NotIn predicate on the "git_branch" field.

func GitBranchNotNil

func GitBranchNotNil() predicate.Changelog

GitBranchNotNil applies the NotNil predicate on the "git_branch" field.

func GitCommit

func GitCommit(v string) predicate.Changelog

GitCommit applies equality check predicate on the "git_commit" field. It's identical to GitCommitEQ.

func GitCommitAuthor

func GitCommitAuthor(v string) predicate.Changelog

GitCommitAuthor applies equality check predicate on the "git_commit_author" field. It's identical to GitCommitAuthorEQ.

func GitCommitAuthorContains

func GitCommitAuthorContains(v string) predicate.Changelog

GitCommitAuthorContains applies the Contains predicate on the "git_commit_author" field.

func GitCommitAuthorContainsFold

func GitCommitAuthorContainsFold(v string) predicate.Changelog

GitCommitAuthorContainsFold applies the ContainsFold predicate on the "git_commit_author" field.

func GitCommitAuthorEQ

func GitCommitAuthorEQ(v string) predicate.Changelog

GitCommitAuthorEQ applies the EQ predicate on the "git_commit_author" field.

func GitCommitAuthorEqualFold

func GitCommitAuthorEqualFold(v string) predicate.Changelog

GitCommitAuthorEqualFold applies the EqualFold predicate on the "git_commit_author" field.

func GitCommitAuthorGT

func GitCommitAuthorGT(v string) predicate.Changelog

GitCommitAuthorGT applies the GT predicate on the "git_commit_author" field.

func GitCommitAuthorGTE

func GitCommitAuthorGTE(v string) predicate.Changelog

GitCommitAuthorGTE applies the GTE predicate on the "git_commit_author" field.

func GitCommitAuthorHasPrefix

func GitCommitAuthorHasPrefix(v string) predicate.Changelog

GitCommitAuthorHasPrefix applies the HasPrefix predicate on the "git_commit_author" field.

func GitCommitAuthorHasSuffix

func GitCommitAuthorHasSuffix(v string) predicate.Changelog

GitCommitAuthorHasSuffix applies the HasSuffix predicate on the "git_commit_author" field.

func GitCommitAuthorIn

func GitCommitAuthorIn(vs ...string) predicate.Changelog

GitCommitAuthorIn applies the In predicate on the "git_commit_author" field.

func GitCommitAuthorIsNil

func GitCommitAuthorIsNil() predicate.Changelog

GitCommitAuthorIsNil applies the IsNil predicate on the "git_commit_author" field.

func GitCommitAuthorLT

func GitCommitAuthorLT(v string) predicate.Changelog

GitCommitAuthorLT applies the LT predicate on the "git_commit_author" field.

func GitCommitAuthorLTE

func GitCommitAuthorLTE(v string) predicate.Changelog

GitCommitAuthorLTE applies the LTE predicate on the "git_commit_author" field.

func GitCommitAuthorNEQ

func GitCommitAuthorNEQ(v string) predicate.Changelog

GitCommitAuthorNEQ applies the NEQ predicate on the "git_commit_author" field.

func GitCommitAuthorNotIn

func GitCommitAuthorNotIn(vs ...string) predicate.Changelog

GitCommitAuthorNotIn applies the NotIn predicate on the "git_commit_author" field.

func GitCommitAuthorNotNil

func GitCommitAuthorNotNil() predicate.Changelog

GitCommitAuthorNotNil applies the NotNil predicate on the "git_commit_author" field.

func GitCommitContains

func GitCommitContains(v string) predicate.Changelog

GitCommitContains applies the Contains predicate on the "git_commit" field.

func GitCommitContainsFold

func GitCommitContainsFold(v string) predicate.Changelog

GitCommitContainsFold applies the ContainsFold predicate on the "git_commit" field.

func GitCommitDate

func GitCommitDate(v time.Time) predicate.Changelog

GitCommitDate applies equality check predicate on the "git_commit_date" field. It's identical to GitCommitDateEQ.

func GitCommitDateEQ

func GitCommitDateEQ(v time.Time) predicate.Changelog

GitCommitDateEQ applies the EQ predicate on the "git_commit_date" field.

func GitCommitDateGT

func GitCommitDateGT(v time.Time) predicate.Changelog

GitCommitDateGT applies the GT predicate on the "git_commit_date" field.

func GitCommitDateGTE

func GitCommitDateGTE(v time.Time) predicate.Changelog

GitCommitDateGTE applies the GTE predicate on the "git_commit_date" field.

func GitCommitDateIn

func GitCommitDateIn(vs ...time.Time) predicate.Changelog

GitCommitDateIn applies the In predicate on the "git_commit_date" field.

func GitCommitDateIsNil

func GitCommitDateIsNil() predicate.Changelog

GitCommitDateIsNil applies the IsNil predicate on the "git_commit_date" field.

func GitCommitDateLT

func GitCommitDateLT(v time.Time) predicate.Changelog

GitCommitDateLT applies the LT predicate on the "git_commit_date" field.

func GitCommitDateLTE

func GitCommitDateLTE(v time.Time) predicate.Changelog

GitCommitDateLTE applies the LTE predicate on the "git_commit_date" field.

func GitCommitDateNEQ

func GitCommitDateNEQ(v time.Time) predicate.Changelog

GitCommitDateNEQ applies the NEQ predicate on the "git_commit_date" field.

func GitCommitDateNotIn

func GitCommitDateNotIn(vs ...time.Time) predicate.Changelog

GitCommitDateNotIn applies the NotIn predicate on the "git_commit_date" field.

func GitCommitDateNotNil

func GitCommitDateNotNil() predicate.Changelog

GitCommitDateNotNil applies the NotNil predicate on the "git_commit_date" field.

func GitCommitEQ

func GitCommitEQ(v string) predicate.Changelog

GitCommitEQ applies the EQ predicate on the "git_commit" field.

func GitCommitEqualFold

func GitCommitEqualFold(v string) predicate.Changelog

GitCommitEqualFold applies the EqualFold predicate on the "git_commit" field.

func GitCommitGT

func GitCommitGT(v string) predicate.Changelog

GitCommitGT applies the GT predicate on the "git_commit" field.

func GitCommitGTE

func GitCommitGTE(v string) predicate.Changelog

GitCommitGTE applies the GTE predicate on the "git_commit" field.

func GitCommitHasPrefix

func GitCommitHasPrefix(v string) predicate.Changelog

GitCommitHasPrefix applies the HasPrefix predicate on the "git_commit" field.

func GitCommitHasSuffix

func GitCommitHasSuffix(v string) predicate.Changelog

GitCommitHasSuffix applies the HasSuffix predicate on the "git_commit" field.

func GitCommitIn

func GitCommitIn(vs ...string) predicate.Changelog

GitCommitIn applies the In predicate on the "git_commit" field.

func GitCommitIsNil

func GitCommitIsNil() predicate.Changelog

GitCommitIsNil applies the IsNil predicate on the "git_commit" field.

func GitCommitLT

func GitCommitLT(v string) predicate.Changelog

GitCommitLT applies the LT predicate on the "git_commit" field.

func GitCommitLTE

func GitCommitLTE(v string) predicate.Changelog

GitCommitLTE applies the LTE predicate on the "git_commit" field.

func GitCommitNEQ

func GitCommitNEQ(v string) predicate.Changelog

GitCommitNEQ applies the NEQ predicate on the "git_commit" field.

func GitCommitNotIn

func GitCommitNotIn(vs ...string) predicate.Changelog

GitCommitNotIn applies the NotIn predicate on the "git_commit" field.

func GitCommitNotNil

func GitCommitNotNil() predicate.Changelog

GitCommitNotNil applies the NotNil predicate on the "git_commit" field.

func GitCommitTitle

func GitCommitTitle(v string) predicate.Changelog

GitCommitTitle applies equality check predicate on the "git_commit_title" field. It's identical to GitCommitTitleEQ.

func GitCommitTitleContains

func GitCommitTitleContains(v string) predicate.Changelog

GitCommitTitleContains applies the Contains predicate on the "git_commit_title" field.

func GitCommitTitleContainsFold

func GitCommitTitleContainsFold(v string) predicate.Changelog

GitCommitTitleContainsFold applies the ContainsFold predicate on the "git_commit_title" field.

func GitCommitTitleEQ

func GitCommitTitleEQ(v string) predicate.Changelog

GitCommitTitleEQ applies the EQ predicate on the "git_commit_title" field.

func GitCommitTitleEqualFold

func GitCommitTitleEqualFold(v string) predicate.Changelog

GitCommitTitleEqualFold applies the EqualFold predicate on the "git_commit_title" field.

func GitCommitTitleGT

func GitCommitTitleGT(v string) predicate.Changelog

GitCommitTitleGT applies the GT predicate on the "git_commit_title" field.

func GitCommitTitleGTE

func GitCommitTitleGTE(v string) predicate.Changelog

GitCommitTitleGTE applies the GTE predicate on the "git_commit_title" field.

func GitCommitTitleHasPrefix

func GitCommitTitleHasPrefix(v string) predicate.Changelog

GitCommitTitleHasPrefix applies the HasPrefix predicate on the "git_commit_title" field.

func GitCommitTitleHasSuffix

func GitCommitTitleHasSuffix(v string) predicate.Changelog

GitCommitTitleHasSuffix applies the HasSuffix predicate on the "git_commit_title" field.

func GitCommitTitleIn

func GitCommitTitleIn(vs ...string) predicate.Changelog

GitCommitTitleIn applies the In predicate on the "git_commit_title" field.

func GitCommitTitleIsNil

func GitCommitTitleIsNil() predicate.Changelog

GitCommitTitleIsNil applies the IsNil predicate on the "git_commit_title" field.

func GitCommitTitleLT

func GitCommitTitleLT(v string) predicate.Changelog

GitCommitTitleLT applies the LT predicate on the "git_commit_title" field.

func GitCommitTitleLTE

func GitCommitTitleLTE(v string) predicate.Changelog

GitCommitTitleLTE applies the LTE predicate on the "git_commit_title" field.

func GitCommitTitleNEQ

func GitCommitTitleNEQ(v string) predicate.Changelog

GitCommitTitleNEQ applies the NEQ predicate on the "git_commit_title" field.

func GitCommitTitleNotIn

func GitCommitTitleNotIn(vs ...string) predicate.Changelog

GitCommitTitleNotIn applies the NotIn predicate on the "git_commit_title" field.

func GitCommitTitleNotNil

func GitCommitTitleNotNil() predicate.Changelog

GitCommitTitleNotNil applies the NotNil predicate on the "git_commit_title" field.

func GitCommitWebURL

func GitCommitWebURL(v string) predicate.Changelog

GitCommitWebURL applies equality check predicate on the "git_commit_web_url" field. It's identical to GitCommitWebURLEQ.

func GitCommitWebURLContains

func GitCommitWebURLContains(v string) predicate.Changelog

GitCommitWebURLContains applies the Contains predicate on the "git_commit_web_url" field.

func GitCommitWebURLContainsFold

func GitCommitWebURLContainsFold(v string) predicate.Changelog

GitCommitWebURLContainsFold applies the ContainsFold predicate on the "git_commit_web_url" field.

func GitCommitWebURLEQ

func GitCommitWebURLEQ(v string) predicate.Changelog

GitCommitWebURLEQ applies the EQ predicate on the "git_commit_web_url" field.

func GitCommitWebURLEqualFold

func GitCommitWebURLEqualFold(v string) predicate.Changelog

GitCommitWebURLEqualFold applies the EqualFold predicate on the "git_commit_web_url" field.

func GitCommitWebURLGT

func GitCommitWebURLGT(v string) predicate.Changelog

GitCommitWebURLGT applies the GT predicate on the "git_commit_web_url" field.

func GitCommitWebURLGTE

func GitCommitWebURLGTE(v string) predicate.Changelog

GitCommitWebURLGTE applies the GTE predicate on the "git_commit_web_url" field.

func GitCommitWebURLHasPrefix

func GitCommitWebURLHasPrefix(v string) predicate.Changelog

GitCommitWebURLHasPrefix applies the HasPrefix predicate on the "git_commit_web_url" field.

func GitCommitWebURLHasSuffix

func GitCommitWebURLHasSuffix(v string) predicate.Changelog

GitCommitWebURLHasSuffix applies the HasSuffix predicate on the "git_commit_web_url" field.

func GitCommitWebURLIn

func GitCommitWebURLIn(vs ...string) predicate.Changelog

GitCommitWebURLIn applies the In predicate on the "git_commit_web_url" field.

func GitCommitWebURLIsNil

func GitCommitWebURLIsNil() predicate.Changelog

GitCommitWebURLIsNil applies the IsNil predicate on the "git_commit_web_url" field.

func GitCommitWebURLLT

func GitCommitWebURLLT(v string) predicate.Changelog

GitCommitWebURLLT applies the LT predicate on the "git_commit_web_url" field.

func GitCommitWebURLLTE

func GitCommitWebURLLTE(v string) predicate.Changelog

GitCommitWebURLLTE applies the LTE predicate on the "git_commit_web_url" field.

func GitCommitWebURLNEQ

func GitCommitWebURLNEQ(v string) predicate.Changelog

GitCommitWebURLNEQ applies the NEQ predicate on the "git_commit_web_url" field.

func GitCommitWebURLNotIn

func GitCommitWebURLNotIn(vs ...string) predicate.Changelog

GitCommitWebURLNotIn applies the NotIn predicate on the "git_commit_web_url" field.

func GitCommitWebURLNotNil

func GitCommitWebURLNotNil() predicate.Changelog

GitCommitWebURLNotNil applies the NotNil predicate on the "git_commit_web_url" field.

func HasProject

func HasProject() predicate.Changelog

HasProject applies the HasEdge predicate on the "project" edge.

func HasProjectWith

func HasProjectWith(preds ...predicate.Project) predicate.Changelog

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

func ID

func ID(id int) predicate.Changelog

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.Changelog

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.Changelog

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.Changelog

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.Changelog

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.Changelog

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.Changelog

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

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.Changelog) predicate.Changelog

Or groups predicates with the OR operator between them.

func ProjectID

func ProjectID(v int) predicate.Changelog

ProjectID applies equality check predicate on the "project_id" field. It's identical to ProjectIDEQ.

func ProjectIDEQ

func ProjectIDEQ(v int) predicate.Changelog

ProjectIDEQ applies the EQ predicate on the "project_id" field.

func ProjectIDIn

func ProjectIDIn(vs ...int) predicate.Changelog

ProjectIDIn applies the In predicate on the "project_id" field.

func ProjectIDIsNil

func ProjectIDIsNil() predicate.Changelog

ProjectIDIsNil applies the IsNil predicate on the "project_id" field.

func ProjectIDNEQ

func ProjectIDNEQ(v int) predicate.Changelog

ProjectIDNEQ applies the NEQ predicate on the "project_id" field.

func ProjectIDNotIn

func ProjectIDNotIn(vs ...int) predicate.Changelog

ProjectIDNotIn applies the NotIn predicate on the "project_id" field.

func ProjectIDNotNil

func ProjectIDNotNil() predicate.Changelog

ProjectIDNotNil applies the NotNil predicate on the "project_id" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.Changelog

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.Changelog

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.Changelog

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.Changelog

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.Changelog

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.Changelog

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.Changelog

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.Changelog

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.Changelog

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func Username

func Username(v string) predicate.Changelog

Username applies equality check predicate on the "username" field. It's identical to UsernameEQ.

func UsernameContains

func UsernameContains(v string) predicate.Changelog

UsernameContains applies the Contains predicate on the "username" field.

func UsernameContainsFold

func UsernameContainsFold(v string) predicate.Changelog

UsernameContainsFold applies the ContainsFold predicate on the "username" field.

func UsernameEQ

func UsernameEQ(v string) predicate.Changelog

UsernameEQ applies the EQ predicate on the "username" field.

func UsernameEqualFold

func UsernameEqualFold(v string) predicate.Changelog

UsernameEqualFold applies the EqualFold predicate on the "username" field.

func UsernameGT

func UsernameGT(v string) predicate.Changelog

UsernameGT applies the GT predicate on the "username" field.

func UsernameGTE

func UsernameGTE(v string) predicate.Changelog

UsernameGTE applies the GTE predicate on the "username" field.

func UsernameHasPrefix

func UsernameHasPrefix(v string) predicate.Changelog

UsernameHasPrefix applies the HasPrefix predicate on the "username" field.

func UsernameHasSuffix

func UsernameHasSuffix(v string) predicate.Changelog

UsernameHasSuffix applies the HasSuffix predicate on the "username" field.

func UsernameIn

func UsernameIn(vs ...string) predicate.Changelog

UsernameIn applies the In predicate on the "username" field.

func UsernameLT

func UsernameLT(v string) predicate.Changelog

UsernameLT applies the LT predicate on the "username" field.

func UsernameLTE

func UsernameLTE(v string) predicate.Changelog

UsernameLTE applies the LTE predicate on the "username" field.

func UsernameNEQ

func UsernameNEQ(v string) predicate.Changelog

UsernameNEQ applies the NEQ predicate on the "username" field.

func UsernameNotIn

func UsernameNotIn(vs ...string) predicate.Changelog

UsernameNotIn applies the NotIn predicate on the "username" field.

func ValidColumn

func ValidColumn(column string) bool

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

func Version

func Version(v int) predicate.Changelog

Version applies equality check predicate on the "version" field. It's identical to VersionEQ.

func VersionEQ

func VersionEQ(v int) predicate.Changelog

VersionEQ applies the EQ predicate on the "version" field.

func VersionGT

func VersionGT(v int) predicate.Changelog

VersionGT applies the GT predicate on the "version" field.

func VersionGTE

func VersionGTE(v int) predicate.Changelog

VersionGTE applies the GTE predicate on the "version" field.

func VersionIn

func VersionIn(vs ...int) predicate.Changelog

VersionIn applies the In predicate on the "version" field.

func VersionLT

func VersionLT(v int) predicate.Changelog

VersionLT applies the LT predicate on the "version" field.

func VersionLTE

func VersionLTE(v int) predicate.Changelog

VersionLTE applies the LTE predicate on the "version" field.

func VersionNEQ

func VersionNEQ(v int) predicate.Changelog

VersionNEQ applies the NEQ predicate on the "version" field.

func VersionNotIn

func VersionNotIn(vs ...int) predicate.Changelog

VersionNotIn applies the NotIn predicate on the "version" field.

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the Changelog queries.

func ByConfig

func ByConfig(opts ...sql.OrderTermOption) OrderOption

ByConfig orders the results by the config field.

func ByConfigChanged

func ByConfigChanged(opts ...sql.OrderTermOption) OrderOption

ByConfigChanged orders the results by the config_changed field.

func ByCreatedAt

func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption

ByCreatedAt orders the results by the created_at field.

func ByDeletedAt

func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption

ByDeletedAt orders the results by the deleted_at field.

func ByGitBranch

func ByGitBranch(opts ...sql.OrderTermOption) OrderOption

ByGitBranch orders the results by the git_branch field.

func ByGitCommit

func ByGitCommit(opts ...sql.OrderTermOption) OrderOption

ByGitCommit orders the results by the git_commit field.

func ByGitCommitAuthor

func ByGitCommitAuthor(opts ...sql.OrderTermOption) OrderOption

ByGitCommitAuthor orders the results by the git_commit_author field.

func ByGitCommitDate

func ByGitCommitDate(opts ...sql.OrderTermOption) OrderOption

ByGitCommitDate orders the results by the git_commit_date field.

func ByGitCommitTitle

func ByGitCommitTitle(opts ...sql.OrderTermOption) OrderOption

ByGitCommitTitle orders the results by the git_commit_title field.

func ByGitCommitWebURL

func ByGitCommitWebURL(opts ...sql.OrderTermOption) OrderOption

ByGitCommitWebURL orders the results by the git_commit_web_url field.

func ByID

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByProjectField

func ByProjectField(field string, opts ...sql.OrderTermOption) OrderOption

ByProjectField orders the results by project field.

func ByProjectID

func ByProjectID(opts ...sql.OrderTermOption) OrderOption

ByProjectID orders the results by the project_id field.

func ByUpdatedAt

func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption

ByUpdatedAt orders the results by the updated_at field.

func ByUsername

func ByUsername(opts ...sql.OrderTermOption) OrderOption

ByUsername orders the results by the username field.

func ByVersion

func ByVersion(opts ...sql.OrderTermOption) OrderOption

ByVersion orders the results by the version field.

Jump to

Keyboard shortcuts

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