gitidentity

package
v0.0.0-...-481d40d Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2026 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the gitidentity type in the database.
	Label = "git_identity"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldDeletedAt holds the string denoting the deleted_at field in the database.
	FieldDeletedAt = "deleted_at"
	// FieldUserID holds the string denoting the user_id field in the database.
	FieldUserID = "user_id"
	// FieldPlatform holds the string denoting the platform field in the database.
	FieldPlatform = "platform"
	// FieldBaseURL holds the string denoting the base_url field in the database.
	FieldBaseURL = "base_url"
	// FieldAccessToken holds the string denoting the access_token field in the database.
	FieldAccessToken = "access_token"
	// FieldUsername holds the string denoting the username field in the database.
	FieldUsername = "username"
	// FieldEmail holds the string denoting the email field in the database.
	FieldEmail = "email"
	// FieldInstallationID holds the string denoting the installation_id field in the database.
	FieldInstallationID = "installation_id"
	// FieldRemark holds the string denoting the remark field in the database.
	FieldRemark = "remark"
	// FieldOauthRefreshToken holds the string denoting the oauth_refresh_token field in the database.
	FieldOauthRefreshToken = "oauth_refresh_token"
	// FieldOauthExpiresAt holds the string denoting the oauth_expires_at field in the database.
	FieldOauthExpiresAt = "oauth_expires_at"
	// 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"
	// EdgeUser holds the string denoting the user edge name in mutations.
	EdgeUser = "user"
	// EdgeProjects holds the string denoting the projects edge name in mutations.
	EdgeProjects = "projects"
	// EdgeProjectTasks holds the string denoting the project_tasks edge name in mutations.
	EdgeProjectTasks = "project_tasks"
	// EdgeVms holds the string denoting the vms edge name in mutations.
	EdgeVms = "vms"
	// Table holds the table name of the gitidentity in the database.
	Table = "git_identities"
	// UserTable is the table that holds the user relation/edge.
	UserTable = "git_identities"
	// UserInverseTable is the table name for the User entity.
	// It exists in this package in order to avoid circular dependency with the "user" package.
	UserInverseTable = "users"
	// UserColumn is the table column denoting the user relation/edge.
	UserColumn = "user_id"
	// ProjectsTable is the table that holds the projects relation/edge.
	ProjectsTable = "projects"
	// ProjectsInverseTable is the table name for the Project entity.
	// It exists in this package in order to avoid circular dependency with the "project" package.
	ProjectsInverseTable = "projects"
	// ProjectsColumn is the table column denoting the projects relation/edge.
	ProjectsColumn = "git_identity_id"
	// ProjectTasksTable is the table that holds the project_tasks relation/edge.
	ProjectTasksTable = "project_tasks"
	// ProjectTasksInverseTable is the table name for the ProjectTask entity.
	// It exists in this package in order to avoid circular dependency with the "projecttask" package.
	ProjectTasksInverseTable = "project_tasks"
	// ProjectTasksColumn is the table column denoting the project_tasks relation/edge.
	ProjectTasksColumn = "git_identity_id"
	// VmsTable is the table that holds the vms relation/edge.
	VmsTable = "virtualmachines"
	// VmsInverseTable is the table name for the VirtualMachine entity.
	// It exists in this package in order to avoid circular dependency with the "virtualmachine" package.
	VmsInverseTable = "virtualmachines"
	// VmsColumn is the table column denoting the vms relation/edge.
	VmsColumn = "git_identity_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
)

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/chaitin/MonkeyCode/backend/db/runtime"

Columns holds all SQL columns for gitidentity fields.

Functions

func AccessToken

func AccessToken(v string) predicate.GitIdentity

AccessToken applies equality check predicate on the "access_token" field. It's identical to AccessTokenEQ.

func AccessTokenContains

func AccessTokenContains(v string) predicate.GitIdentity

AccessTokenContains applies the Contains predicate on the "access_token" field.

func AccessTokenContainsFold

func AccessTokenContainsFold(v string) predicate.GitIdentity

AccessTokenContainsFold applies the ContainsFold predicate on the "access_token" field.

func AccessTokenEQ

func AccessTokenEQ(v string) predicate.GitIdentity

AccessTokenEQ applies the EQ predicate on the "access_token" field.

func AccessTokenEqualFold

func AccessTokenEqualFold(v string) predicate.GitIdentity

AccessTokenEqualFold applies the EqualFold predicate on the "access_token" field.

func AccessTokenGT

func AccessTokenGT(v string) predicate.GitIdentity

AccessTokenGT applies the GT predicate on the "access_token" field.

func AccessTokenGTE

func AccessTokenGTE(v string) predicate.GitIdentity

AccessTokenGTE applies the GTE predicate on the "access_token" field.

func AccessTokenHasPrefix

func AccessTokenHasPrefix(v string) predicate.GitIdentity

AccessTokenHasPrefix applies the HasPrefix predicate on the "access_token" field.

func AccessTokenHasSuffix

func AccessTokenHasSuffix(v string) predicate.GitIdentity

AccessTokenHasSuffix applies the HasSuffix predicate on the "access_token" field.

func AccessTokenIn

func AccessTokenIn(vs ...string) predicate.GitIdentity

AccessTokenIn applies the In predicate on the "access_token" field.

func AccessTokenIsNil

func AccessTokenIsNil() predicate.GitIdentity

AccessTokenIsNil applies the IsNil predicate on the "access_token" field.

func AccessTokenLT

func AccessTokenLT(v string) predicate.GitIdentity

AccessTokenLT applies the LT predicate on the "access_token" field.

func AccessTokenLTE

func AccessTokenLTE(v string) predicate.GitIdentity

AccessTokenLTE applies the LTE predicate on the "access_token" field.

func AccessTokenNEQ

func AccessTokenNEQ(v string) predicate.GitIdentity

AccessTokenNEQ applies the NEQ predicate on the "access_token" field.

func AccessTokenNotIn

func AccessTokenNotIn(vs ...string) predicate.GitIdentity

AccessTokenNotIn applies the NotIn predicate on the "access_token" field.

func AccessTokenNotNil

func AccessTokenNotNil() predicate.GitIdentity

AccessTokenNotNil applies the NotNil predicate on the "access_token" field.

func And

func And(predicates ...predicate.GitIdentity) predicate.GitIdentity

And groups predicates with the AND operator between them.

func BaseURL

func BaseURL(v string) predicate.GitIdentity

BaseURL applies equality check predicate on the "base_url" field. It's identical to BaseURLEQ.

func BaseURLContains

func BaseURLContains(v string) predicate.GitIdentity

BaseURLContains applies the Contains predicate on the "base_url" field.

func BaseURLContainsFold

func BaseURLContainsFold(v string) predicate.GitIdentity

BaseURLContainsFold applies the ContainsFold predicate on the "base_url" field.

func BaseURLEQ

func BaseURLEQ(v string) predicate.GitIdentity

BaseURLEQ applies the EQ predicate on the "base_url" field.

func BaseURLEqualFold

func BaseURLEqualFold(v string) predicate.GitIdentity

BaseURLEqualFold applies the EqualFold predicate on the "base_url" field.

func BaseURLGT

func BaseURLGT(v string) predicate.GitIdentity

BaseURLGT applies the GT predicate on the "base_url" field.

func BaseURLGTE

func BaseURLGTE(v string) predicate.GitIdentity

BaseURLGTE applies the GTE predicate on the "base_url" field.

func BaseURLHasPrefix

func BaseURLHasPrefix(v string) predicate.GitIdentity

BaseURLHasPrefix applies the HasPrefix predicate on the "base_url" field.

func BaseURLHasSuffix

func BaseURLHasSuffix(v string) predicate.GitIdentity

BaseURLHasSuffix applies the HasSuffix predicate on the "base_url" field.

func BaseURLIn

func BaseURLIn(vs ...string) predicate.GitIdentity

BaseURLIn applies the In predicate on the "base_url" field.

func BaseURLIsNil

func BaseURLIsNil() predicate.GitIdentity

BaseURLIsNil applies the IsNil predicate on the "base_url" field.

func BaseURLLT

func BaseURLLT(v string) predicate.GitIdentity

BaseURLLT applies the LT predicate on the "base_url" field.

func BaseURLLTE

func BaseURLLTE(v string) predicate.GitIdentity

BaseURLLTE applies the LTE predicate on the "base_url" field.

func BaseURLNEQ

func BaseURLNEQ(v string) predicate.GitIdentity

BaseURLNEQ applies the NEQ predicate on the "base_url" field.

func BaseURLNotIn

func BaseURLNotIn(vs ...string) predicate.GitIdentity

BaseURLNotIn applies the NotIn predicate on the "base_url" field.

func BaseURLNotNil

func BaseURLNotNil() predicate.GitIdentity

BaseURLNotNil applies the NotNil predicate on the "base_url" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.GitIdentity

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.GitIdentity

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.GitIdentity

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.GitIdentity

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.GitIdentity

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.GitIdentity

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.GitIdentity

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

func CreatedAtNotIn

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

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

func DeletedAt

func DeletedAt(v time.Time) predicate.GitIdentity

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

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.GitIdentity

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

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.GitIdentity

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

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.GitIdentity

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

func DeletedAtIn

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

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

func DeletedAtIsNil

func DeletedAtIsNil() predicate.GitIdentity

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

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.GitIdentity

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

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.GitIdentity

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

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.GitIdentity

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

func DeletedAtNotIn

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

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

func DeletedAtNotNil

func DeletedAtNotNil() predicate.GitIdentity

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

func Email

func Email(v string) predicate.GitIdentity

Email applies equality check predicate on the "email" field. It's identical to EmailEQ.

func EmailContains

func EmailContains(v string) predicate.GitIdentity

EmailContains applies the Contains predicate on the "email" field.

func EmailContainsFold

func EmailContainsFold(v string) predicate.GitIdentity

EmailContainsFold applies the ContainsFold predicate on the "email" field.

func EmailEQ

func EmailEQ(v string) predicate.GitIdentity

EmailEQ applies the EQ predicate on the "email" field.

func EmailEqualFold

func EmailEqualFold(v string) predicate.GitIdentity

EmailEqualFold applies the EqualFold predicate on the "email" field.

func EmailGT

func EmailGT(v string) predicate.GitIdentity

EmailGT applies the GT predicate on the "email" field.

func EmailGTE

func EmailGTE(v string) predicate.GitIdentity

EmailGTE applies the GTE predicate on the "email" field.

func EmailHasPrefix

func EmailHasPrefix(v string) predicate.GitIdentity

EmailHasPrefix applies the HasPrefix predicate on the "email" field.

func EmailHasSuffix

func EmailHasSuffix(v string) predicate.GitIdentity

EmailHasSuffix applies the HasSuffix predicate on the "email" field.

func EmailIn

func EmailIn(vs ...string) predicate.GitIdentity

EmailIn applies the In predicate on the "email" field.

func EmailIsNil

func EmailIsNil() predicate.GitIdentity

EmailIsNil applies the IsNil predicate on the "email" field.

func EmailLT

func EmailLT(v string) predicate.GitIdentity

EmailLT applies the LT predicate on the "email" field.

func EmailLTE

func EmailLTE(v string) predicate.GitIdentity

EmailLTE applies the LTE predicate on the "email" field.

func EmailNEQ

func EmailNEQ(v string) predicate.GitIdentity

EmailNEQ applies the NEQ predicate on the "email" field.

func EmailNotIn

func EmailNotIn(vs ...string) predicate.GitIdentity

EmailNotIn applies the NotIn predicate on the "email" field.

func EmailNotNil

func EmailNotNil() predicate.GitIdentity

EmailNotNil applies the NotNil predicate on the "email" field.

func HasProjectTasks

func HasProjectTasks() predicate.GitIdentity

HasProjectTasks applies the HasEdge predicate on the "project_tasks" edge.

func HasProjectTasksWith

func HasProjectTasksWith(preds ...predicate.ProjectTask) predicate.GitIdentity

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

func HasProjects

func HasProjects() predicate.GitIdentity

HasProjects applies the HasEdge predicate on the "projects" edge.

func HasProjectsWith

func HasProjectsWith(preds ...predicate.Project) predicate.GitIdentity

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

func HasUser

func HasUser() predicate.GitIdentity

HasUser applies the HasEdge predicate on the "user" edge.

func HasUserWith

func HasUserWith(preds ...predicate.User) predicate.GitIdentity

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

func HasVms

func HasVms() predicate.GitIdentity

HasVms applies the HasEdge predicate on the "vms" edge.

func HasVmsWith

func HasVmsWith(preds ...predicate.VirtualMachine) predicate.GitIdentity

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

func ID

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uuid.UUID) predicate.GitIdentity

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uuid.UUID) predicate.GitIdentity

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uuid.UUID) predicate.GitIdentity

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uuid.UUID) predicate.GitIdentity

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uuid.UUID) predicate.GitIdentity

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.GitIdentity

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.GitIdentity

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uuid.UUID) predicate.GitIdentity

IDNotIn applies the NotIn predicate on the ID field.

func InstallationID

func InstallationID(v int64) predicate.GitIdentity

InstallationID applies equality check predicate on the "installation_id" field. It's identical to InstallationIDEQ.

func InstallationIDEQ

func InstallationIDEQ(v int64) predicate.GitIdentity

InstallationIDEQ applies the EQ predicate on the "installation_id" field.

func InstallationIDGT

func InstallationIDGT(v int64) predicate.GitIdentity

InstallationIDGT applies the GT predicate on the "installation_id" field.

func InstallationIDGTE

func InstallationIDGTE(v int64) predicate.GitIdentity

InstallationIDGTE applies the GTE predicate on the "installation_id" field.

func InstallationIDIn

func InstallationIDIn(vs ...int64) predicate.GitIdentity

InstallationIDIn applies the In predicate on the "installation_id" field.

func InstallationIDIsNil

func InstallationIDIsNil() predicate.GitIdentity

InstallationIDIsNil applies the IsNil predicate on the "installation_id" field.

func InstallationIDLT

func InstallationIDLT(v int64) predicate.GitIdentity

InstallationIDLT applies the LT predicate on the "installation_id" field.

func InstallationIDLTE

func InstallationIDLTE(v int64) predicate.GitIdentity

InstallationIDLTE applies the LTE predicate on the "installation_id" field.

func InstallationIDNEQ

func InstallationIDNEQ(v int64) predicate.GitIdentity

InstallationIDNEQ applies the NEQ predicate on the "installation_id" field.

func InstallationIDNotIn

func InstallationIDNotIn(vs ...int64) predicate.GitIdentity

InstallationIDNotIn applies the NotIn predicate on the "installation_id" field.

func InstallationIDNotNil

func InstallationIDNotNil() predicate.GitIdentity

InstallationIDNotNil applies the NotNil predicate on the "installation_id" field.

func Not

Not applies the not operator on the given predicate.

func OauthExpiresAt

func OauthExpiresAt(v time.Time) predicate.GitIdentity

OauthExpiresAt applies equality check predicate on the "oauth_expires_at" field. It's identical to OauthExpiresAtEQ.

func OauthExpiresAtEQ

func OauthExpiresAtEQ(v time.Time) predicate.GitIdentity

OauthExpiresAtEQ applies the EQ predicate on the "oauth_expires_at" field.

func OauthExpiresAtGT

func OauthExpiresAtGT(v time.Time) predicate.GitIdentity

OauthExpiresAtGT applies the GT predicate on the "oauth_expires_at" field.

func OauthExpiresAtGTE

func OauthExpiresAtGTE(v time.Time) predicate.GitIdentity

OauthExpiresAtGTE applies the GTE predicate on the "oauth_expires_at" field.

func OauthExpiresAtIn

func OauthExpiresAtIn(vs ...time.Time) predicate.GitIdentity

OauthExpiresAtIn applies the In predicate on the "oauth_expires_at" field.

func OauthExpiresAtIsNil

func OauthExpiresAtIsNil() predicate.GitIdentity

OauthExpiresAtIsNil applies the IsNil predicate on the "oauth_expires_at" field.

func OauthExpiresAtLT

func OauthExpiresAtLT(v time.Time) predicate.GitIdentity

OauthExpiresAtLT applies the LT predicate on the "oauth_expires_at" field.

func OauthExpiresAtLTE

func OauthExpiresAtLTE(v time.Time) predicate.GitIdentity

OauthExpiresAtLTE applies the LTE predicate on the "oauth_expires_at" field.

func OauthExpiresAtNEQ

func OauthExpiresAtNEQ(v time.Time) predicate.GitIdentity

OauthExpiresAtNEQ applies the NEQ predicate on the "oauth_expires_at" field.

func OauthExpiresAtNotIn

func OauthExpiresAtNotIn(vs ...time.Time) predicate.GitIdentity

OauthExpiresAtNotIn applies the NotIn predicate on the "oauth_expires_at" field.

func OauthExpiresAtNotNil

func OauthExpiresAtNotNil() predicate.GitIdentity

OauthExpiresAtNotNil applies the NotNil predicate on the "oauth_expires_at" field.

func OauthRefreshToken

func OauthRefreshToken(v string) predicate.GitIdentity

OauthRefreshToken applies equality check predicate on the "oauth_refresh_token" field. It's identical to OauthRefreshTokenEQ.

func OauthRefreshTokenContains

func OauthRefreshTokenContains(v string) predicate.GitIdentity

OauthRefreshTokenContains applies the Contains predicate on the "oauth_refresh_token" field.

func OauthRefreshTokenContainsFold

func OauthRefreshTokenContainsFold(v string) predicate.GitIdentity

OauthRefreshTokenContainsFold applies the ContainsFold predicate on the "oauth_refresh_token" field.

func OauthRefreshTokenEQ

func OauthRefreshTokenEQ(v string) predicate.GitIdentity

OauthRefreshTokenEQ applies the EQ predicate on the "oauth_refresh_token" field.

func OauthRefreshTokenEqualFold

func OauthRefreshTokenEqualFold(v string) predicate.GitIdentity

OauthRefreshTokenEqualFold applies the EqualFold predicate on the "oauth_refresh_token" field.

func OauthRefreshTokenGT

func OauthRefreshTokenGT(v string) predicate.GitIdentity

OauthRefreshTokenGT applies the GT predicate on the "oauth_refresh_token" field.

func OauthRefreshTokenGTE

func OauthRefreshTokenGTE(v string) predicate.GitIdentity

OauthRefreshTokenGTE applies the GTE predicate on the "oauth_refresh_token" field.

func OauthRefreshTokenHasPrefix

func OauthRefreshTokenHasPrefix(v string) predicate.GitIdentity

OauthRefreshTokenHasPrefix applies the HasPrefix predicate on the "oauth_refresh_token" field.

func OauthRefreshTokenHasSuffix

func OauthRefreshTokenHasSuffix(v string) predicate.GitIdentity

OauthRefreshTokenHasSuffix applies the HasSuffix predicate on the "oauth_refresh_token" field.

func OauthRefreshTokenIn

func OauthRefreshTokenIn(vs ...string) predicate.GitIdentity

OauthRefreshTokenIn applies the In predicate on the "oauth_refresh_token" field.

func OauthRefreshTokenIsNil

func OauthRefreshTokenIsNil() predicate.GitIdentity

OauthRefreshTokenIsNil applies the IsNil predicate on the "oauth_refresh_token" field.

func OauthRefreshTokenLT

func OauthRefreshTokenLT(v string) predicate.GitIdentity

OauthRefreshTokenLT applies the LT predicate on the "oauth_refresh_token" field.

func OauthRefreshTokenLTE

func OauthRefreshTokenLTE(v string) predicate.GitIdentity

OauthRefreshTokenLTE applies the LTE predicate on the "oauth_refresh_token" field.

func OauthRefreshTokenNEQ

func OauthRefreshTokenNEQ(v string) predicate.GitIdentity

OauthRefreshTokenNEQ applies the NEQ predicate on the "oauth_refresh_token" field.

func OauthRefreshTokenNotIn

func OauthRefreshTokenNotIn(vs ...string) predicate.GitIdentity

OauthRefreshTokenNotIn applies the NotIn predicate on the "oauth_refresh_token" field.

func OauthRefreshTokenNotNil

func OauthRefreshTokenNotNil() predicate.GitIdentity

OauthRefreshTokenNotNil applies the NotNil predicate on the "oauth_refresh_token" field.

func Or

func Or(predicates ...predicate.GitIdentity) predicate.GitIdentity

Or groups predicates with the OR operator between them.

func Platform

Platform applies equality check predicate on the "platform" field. It's identical to PlatformEQ.

func PlatformContains

func PlatformContains(v consts.GitPlatform) predicate.GitIdentity

PlatformContains applies the Contains predicate on the "platform" field.

func PlatformContainsFold

func PlatformContainsFold(v consts.GitPlatform) predicate.GitIdentity

PlatformContainsFold applies the ContainsFold predicate on the "platform" field.

func PlatformEQ

PlatformEQ applies the EQ predicate on the "platform" field.

func PlatformEqualFold

func PlatformEqualFold(v consts.GitPlatform) predicate.GitIdentity

PlatformEqualFold applies the EqualFold predicate on the "platform" field.

func PlatformGT

PlatformGT applies the GT predicate on the "platform" field.

func PlatformGTE

func PlatformGTE(v consts.GitPlatform) predicate.GitIdentity

PlatformGTE applies the GTE predicate on the "platform" field.

func PlatformHasPrefix

func PlatformHasPrefix(v consts.GitPlatform) predicate.GitIdentity

PlatformHasPrefix applies the HasPrefix predicate on the "platform" field.

func PlatformHasSuffix

func PlatformHasSuffix(v consts.GitPlatform) predicate.GitIdentity

PlatformHasSuffix applies the HasSuffix predicate on the "platform" field.

func PlatformIn

func PlatformIn(vs ...consts.GitPlatform) predicate.GitIdentity

PlatformIn applies the In predicate on the "platform" field.

func PlatformLT

PlatformLT applies the LT predicate on the "platform" field.

func PlatformLTE

func PlatformLTE(v consts.GitPlatform) predicate.GitIdentity

PlatformLTE applies the LTE predicate on the "platform" field.

func PlatformNEQ

func PlatformNEQ(v consts.GitPlatform) predicate.GitIdentity

PlatformNEQ applies the NEQ predicate on the "platform" field.

func PlatformNotIn

func PlatformNotIn(vs ...consts.GitPlatform) predicate.GitIdentity

PlatformNotIn applies the NotIn predicate on the "platform" field.

func Remark

func Remark(v string) predicate.GitIdentity

Remark applies equality check predicate on the "remark" field. It's identical to RemarkEQ.

func RemarkContains

func RemarkContains(v string) predicate.GitIdentity

RemarkContains applies the Contains predicate on the "remark" field.

func RemarkContainsFold

func RemarkContainsFold(v string) predicate.GitIdentity

RemarkContainsFold applies the ContainsFold predicate on the "remark" field.

func RemarkEQ

func RemarkEQ(v string) predicate.GitIdentity

RemarkEQ applies the EQ predicate on the "remark" field.

func RemarkEqualFold

func RemarkEqualFold(v string) predicate.GitIdentity

RemarkEqualFold applies the EqualFold predicate on the "remark" field.

func RemarkGT

func RemarkGT(v string) predicate.GitIdentity

RemarkGT applies the GT predicate on the "remark" field.

func RemarkGTE

func RemarkGTE(v string) predicate.GitIdentity

RemarkGTE applies the GTE predicate on the "remark" field.

func RemarkHasPrefix

func RemarkHasPrefix(v string) predicate.GitIdentity

RemarkHasPrefix applies the HasPrefix predicate on the "remark" field.

func RemarkHasSuffix

func RemarkHasSuffix(v string) predicate.GitIdentity

RemarkHasSuffix applies the HasSuffix predicate on the "remark" field.

func RemarkIn

func RemarkIn(vs ...string) predicate.GitIdentity

RemarkIn applies the In predicate on the "remark" field.

func RemarkIsNil

func RemarkIsNil() predicate.GitIdentity

RemarkIsNil applies the IsNil predicate on the "remark" field.

func RemarkLT

func RemarkLT(v string) predicate.GitIdentity

RemarkLT applies the LT predicate on the "remark" field.

func RemarkLTE

func RemarkLTE(v string) predicate.GitIdentity

RemarkLTE applies the LTE predicate on the "remark" field.

func RemarkNEQ

func RemarkNEQ(v string) predicate.GitIdentity

RemarkNEQ applies the NEQ predicate on the "remark" field.

func RemarkNotIn

func RemarkNotIn(vs ...string) predicate.GitIdentity

RemarkNotIn applies the NotIn predicate on the "remark" field.

func RemarkNotNil

func RemarkNotNil() predicate.GitIdentity

RemarkNotNil applies the NotNil predicate on the "remark" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.GitIdentity

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.GitIdentity

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.GitIdentity

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.GitIdentity

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.GitIdentity

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.GitIdentity

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.GitIdentity

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

func UpdatedAtNotIn

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

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

func UserID

func UserID(v uuid.UUID) predicate.GitIdentity

UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.

func UserIDEQ

func UserIDEQ(v uuid.UUID) predicate.GitIdentity

UserIDEQ applies the EQ predicate on the "user_id" field.

func UserIDIn

func UserIDIn(vs ...uuid.UUID) predicate.GitIdentity

UserIDIn applies the In predicate on the "user_id" field.

func UserIDNEQ

func UserIDNEQ(v uuid.UUID) predicate.GitIdentity

UserIDNEQ applies the NEQ predicate on the "user_id" field.

func UserIDNotIn

func UserIDNotIn(vs ...uuid.UUID) predicate.GitIdentity

UserIDNotIn applies the NotIn predicate on the "user_id" field.

func Username

func Username(v string) predicate.GitIdentity

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

func UsernameContains

func UsernameContains(v string) predicate.GitIdentity

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

func UsernameContainsFold

func UsernameContainsFold(v string) predicate.GitIdentity

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

func UsernameEQ

func UsernameEQ(v string) predicate.GitIdentity

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

func UsernameEqualFold

func UsernameEqualFold(v string) predicate.GitIdentity

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

func UsernameGT

func UsernameGT(v string) predicate.GitIdentity

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

func UsernameGTE

func UsernameGTE(v string) predicate.GitIdentity

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

func UsernameHasPrefix

func UsernameHasPrefix(v string) predicate.GitIdentity

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

func UsernameHasSuffix

func UsernameHasSuffix(v string) predicate.GitIdentity

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

func UsernameIn

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

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

func UsernameIsNil

func UsernameIsNil() predicate.GitIdentity

UsernameIsNil applies the IsNil predicate on the "username" field.

func UsernameLT

func UsernameLT(v string) predicate.GitIdentity

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

func UsernameLTE

func UsernameLTE(v string) predicate.GitIdentity

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

func UsernameNEQ

func UsernameNEQ(v string) predicate.GitIdentity

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

func UsernameNotIn

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

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

func UsernameNotNil

func UsernameNotNil() predicate.GitIdentity

UsernameNotNil applies the NotNil 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).

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the GitIdentity queries.

func ByAccessToken

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

ByAccessToken orders the results by the access_token field.

func ByBaseURL

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

ByBaseURL orders the results by the base_url 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 ByEmail

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

ByEmail orders the results by the email field.

func ByID

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

ByID orders the results by the id field.

func ByInstallationID

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

ByInstallationID orders the results by the installation_id field.

func ByOauthExpiresAt

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

ByOauthExpiresAt orders the results by the oauth_expires_at field.

func ByOauthRefreshToken

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

ByOauthRefreshToken orders the results by the oauth_refresh_token field.

func ByPlatform

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

ByPlatform orders the results by the platform field.

func ByProjectTasks

func ByProjectTasks(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByProjectTasks orders the results by project_tasks terms.

func ByProjectTasksCount

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

ByProjectTasksCount orders the results by project_tasks count.

func ByProjects

func ByProjects(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByProjects orders the results by projects terms.

func ByProjectsCount

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

ByProjectsCount orders the results by projects count.

func ByRemark

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

ByRemark orders the results by the remark field.

func ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

func ByUserField

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

ByUserField orders the results by user field.

func ByUserID

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

ByUserID orders the results by the user_id field.

func ByUsername

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

ByUsername orders the results by the username field.

func ByVms

func ByVms(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByVms orders the results by vms terms.

func ByVmsCount

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

ByVmsCount orders the results by vms count.

Jump to

Keyboard shortcuts

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