githubapp

package
v0.0.16 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the githubapp type in the database.
	Label = "github_app"
	// 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"
	// FieldUUID holds the string denoting the uuid field in the database.
	FieldUUID = "uuid"
	// FieldCreatedBy holds the string denoting the created_by field in the database.
	FieldCreatedBy = "created_by"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldClientID holds the string denoting the client_id field in the database.
	FieldClientID = "client_id"
	// FieldClientSecret holds the string denoting the client_secret field in the database.
	FieldClientSecret = "client_secret"
	// FieldWebhookSecret holds the string denoting the webhook_secret field in the database.
	FieldWebhookSecret = "webhook_secret"
	// FieldPrivateKey holds the string denoting the private_key field in the database.
	FieldPrivateKey = "private_key"
	// EdgeInstallations holds the string denoting the installations edge name in mutations.
	EdgeInstallations = "installations"
	// EdgeUsers holds the string denoting the users edge name in mutations.
	EdgeUsers = "users"
	// Table holds the table name of the githubapp in the database.
	Table = "github_apps"
	// InstallationsTable is the table that holds the installations relation/edge.
	InstallationsTable = "github_installations"
	// InstallationsInverseTable is the table name for the GithubInstallation entity.
	// It exists in this package in order to avoid circular dependency with the "githubinstallation" package.
	InstallationsInverseTable = "github_installations"
	// InstallationsColumn is the table column denoting the installations relation/edge.
	InstallationsColumn = "github_app_id"
	// UsersTable is the table that holds the users relation/edge.
	UsersTable = "github_apps"
	// UsersInverseTable is the table name for the User entity.
	// It exists in this package in order to avoid circular dependency with the "user" package.
	UsersInverseTable = "users"
	// UsersColumn is the table column denoting the users relation/edge.
	UsersColumn = "created_by"
)

Variables

View Source
var (
	// 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
	// NameValidator is a validator for the "name" field. It is called by the builders before save.
	NameValidator func(string) error
	// IDValidator is a validator for the "id" field. It is called by the builders before save.
	IDValidator func(int64) error
)

Columns holds all SQL columns for githubapp fields.

Functions

func And

func And(predicates ...predicate.GithubApp) predicate.GithubApp

And groups predicates with the AND operator between them.

func ClientID

func ClientID(v string) predicate.GithubApp

ClientID applies equality check predicate on the "client_id" field. It's identical to ClientIDEQ.

func ClientIDContains

func ClientIDContains(v string) predicate.GithubApp

ClientIDContains applies the Contains predicate on the "client_id" field.

func ClientIDContainsFold

func ClientIDContainsFold(v string) predicate.GithubApp

ClientIDContainsFold applies the ContainsFold predicate on the "client_id" field.

func ClientIDEQ

func ClientIDEQ(v string) predicate.GithubApp

ClientIDEQ applies the EQ predicate on the "client_id" field.

func ClientIDEqualFold

func ClientIDEqualFold(v string) predicate.GithubApp

ClientIDEqualFold applies the EqualFold predicate on the "client_id" field.

func ClientIDGT

func ClientIDGT(v string) predicate.GithubApp

ClientIDGT applies the GT predicate on the "client_id" field.

func ClientIDGTE

func ClientIDGTE(v string) predicate.GithubApp

ClientIDGTE applies the GTE predicate on the "client_id" field.

func ClientIDHasPrefix

func ClientIDHasPrefix(v string) predicate.GithubApp

ClientIDHasPrefix applies the HasPrefix predicate on the "client_id" field.

func ClientIDHasSuffix

func ClientIDHasSuffix(v string) predicate.GithubApp

ClientIDHasSuffix applies the HasSuffix predicate on the "client_id" field.

func ClientIDIn

func ClientIDIn(vs ...string) predicate.GithubApp

ClientIDIn applies the In predicate on the "client_id" field.

func ClientIDLT

func ClientIDLT(v string) predicate.GithubApp

ClientIDLT applies the LT predicate on the "client_id" field.

func ClientIDLTE

func ClientIDLTE(v string) predicate.GithubApp

ClientIDLTE applies the LTE predicate on the "client_id" field.

func ClientIDNEQ

func ClientIDNEQ(v string) predicate.GithubApp

ClientIDNEQ applies the NEQ predicate on the "client_id" field.

func ClientIDNotIn

func ClientIDNotIn(vs ...string) predicate.GithubApp

ClientIDNotIn applies the NotIn predicate on the "client_id" field.

func ClientSecret

func ClientSecret(v string) predicate.GithubApp

ClientSecret applies equality check predicate on the "client_secret" field. It's identical to ClientSecretEQ.

func ClientSecretContains

func ClientSecretContains(v string) predicate.GithubApp

ClientSecretContains applies the Contains predicate on the "client_secret" field.

func ClientSecretContainsFold

func ClientSecretContainsFold(v string) predicate.GithubApp

ClientSecretContainsFold applies the ContainsFold predicate on the "client_secret" field.

func ClientSecretEQ

func ClientSecretEQ(v string) predicate.GithubApp

ClientSecretEQ applies the EQ predicate on the "client_secret" field.

func ClientSecretEqualFold

func ClientSecretEqualFold(v string) predicate.GithubApp

ClientSecretEqualFold applies the EqualFold predicate on the "client_secret" field.

func ClientSecretGT

func ClientSecretGT(v string) predicate.GithubApp

ClientSecretGT applies the GT predicate on the "client_secret" field.

func ClientSecretGTE

func ClientSecretGTE(v string) predicate.GithubApp

ClientSecretGTE applies the GTE predicate on the "client_secret" field.

func ClientSecretHasPrefix

func ClientSecretHasPrefix(v string) predicate.GithubApp

ClientSecretHasPrefix applies the HasPrefix predicate on the "client_secret" field.

func ClientSecretHasSuffix

func ClientSecretHasSuffix(v string) predicate.GithubApp

ClientSecretHasSuffix applies the HasSuffix predicate on the "client_secret" field.

func ClientSecretIn

func ClientSecretIn(vs ...string) predicate.GithubApp

ClientSecretIn applies the In predicate on the "client_secret" field.

func ClientSecretLT

func ClientSecretLT(v string) predicate.GithubApp

ClientSecretLT applies the LT predicate on the "client_secret" field.

func ClientSecretLTE

func ClientSecretLTE(v string) predicate.GithubApp

ClientSecretLTE applies the LTE predicate on the "client_secret" field.

func ClientSecretNEQ

func ClientSecretNEQ(v string) predicate.GithubApp

ClientSecretNEQ applies the NEQ predicate on the "client_secret" field.

func ClientSecretNotIn

func ClientSecretNotIn(vs ...string) predicate.GithubApp

ClientSecretNotIn applies the NotIn predicate on the "client_secret" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.GithubApp

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.GithubApp

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.GithubApp

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.GithubApp

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.GithubApp

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.GithubApp

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.GithubApp

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

func CreatedAtNotIn

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

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

func CreatedBy

func CreatedBy(v uuid.UUID) predicate.GithubApp

CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.

func CreatedByEQ

func CreatedByEQ(v uuid.UUID) predicate.GithubApp

CreatedByEQ applies the EQ predicate on the "created_by" field.

func CreatedByIn

func CreatedByIn(vs ...uuid.UUID) predicate.GithubApp

CreatedByIn applies the In predicate on the "created_by" field.

func CreatedByNEQ

func CreatedByNEQ(v uuid.UUID) predicate.GithubApp

CreatedByNEQ applies the NEQ predicate on the "created_by" field.

func CreatedByNotIn

func CreatedByNotIn(vs ...uuid.UUID) predicate.GithubApp

CreatedByNotIn applies the NotIn predicate on the "created_by" field.

func HasInstallations

func HasInstallations() predicate.GithubApp

HasInstallations applies the HasEdge predicate on the "installations" edge.

func HasInstallationsWith

func HasInstallationsWith(preds ...predicate.GithubInstallation) predicate.GithubApp

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

func HasUsers

func HasUsers() predicate.GithubApp

HasUsers applies the HasEdge predicate on the "users" edge.

func HasUsersWith

func HasUsersWith(preds ...predicate.User) predicate.GithubApp

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

func ID

func ID(id int64) predicate.GithubApp

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int64) predicate.GithubApp

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int64) predicate.GithubApp

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int64) predicate.GithubApp

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int64) predicate.GithubApp

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int64) predicate.GithubApp

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int64) predicate.GithubApp

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int64) predicate.GithubApp

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int64) predicate.GithubApp

IDNotIn applies the NotIn predicate on the ID field.

func Name

func Name(v string) predicate.GithubApp

Name applies equality check predicate on the "name" field. It's identical to NameEQ.

func NameContains

func NameContains(v string) predicate.GithubApp

NameContains applies the Contains predicate on the "name" field.

func NameContainsFold

func NameContainsFold(v string) predicate.GithubApp

NameContainsFold applies the ContainsFold predicate on the "name" field.

func NameEQ

func NameEQ(v string) predicate.GithubApp

NameEQ applies the EQ predicate on the "name" field.

func NameEqualFold

func NameEqualFold(v string) predicate.GithubApp

NameEqualFold applies the EqualFold predicate on the "name" field.

func NameGT

func NameGT(v string) predicate.GithubApp

NameGT applies the GT predicate on the "name" field.

func NameGTE

func NameGTE(v string) predicate.GithubApp

NameGTE applies the GTE predicate on the "name" field.

func NameHasPrefix

func NameHasPrefix(v string) predicate.GithubApp

NameHasPrefix applies the HasPrefix predicate on the "name" field.

func NameHasSuffix

func NameHasSuffix(v string) predicate.GithubApp

NameHasSuffix applies the HasSuffix predicate on the "name" field.

func NameIn

func NameIn(vs ...string) predicate.GithubApp

NameIn applies the In predicate on the "name" field.

func NameLT

func NameLT(v string) predicate.GithubApp

NameLT applies the LT predicate on the "name" field.

func NameLTE

func NameLTE(v string) predicate.GithubApp

NameLTE applies the LTE predicate on the "name" field.

func NameNEQ

func NameNEQ(v string) predicate.GithubApp

NameNEQ applies the NEQ predicate on the "name" field.

func NameNotIn

func NameNotIn(vs ...string) predicate.GithubApp

NameNotIn applies the NotIn predicate on the "name" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.GithubApp) predicate.GithubApp

Or groups predicates with the OR operator between them.

func PrivateKey

func PrivateKey(v string) predicate.GithubApp

PrivateKey applies equality check predicate on the "private_key" field. It's identical to PrivateKeyEQ.

func PrivateKeyContains

func PrivateKeyContains(v string) predicate.GithubApp

PrivateKeyContains applies the Contains predicate on the "private_key" field.

func PrivateKeyContainsFold

func PrivateKeyContainsFold(v string) predicate.GithubApp

PrivateKeyContainsFold applies the ContainsFold predicate on the "private_key" field.

func PrivateKeyEQ

func PrivateKeyEQ(v string) predicate.GithubApp

PrivateKeyEQ applies the EQ predicate on the "private_key" field.

func PrivateKeyEqualFold

func PrivateKeyEqualFold(v string) predicate.GithubApp

PrivateKeyEqualFold applies the EqualFold predicate on the "private_key" field.

func PrivateKeyGT

func PrivateKeyGT(v string) predicate.GithubApp

PrivateKeyGT applies the GT predicate on the "private_key" field.

func PrivateKeyGTE

func PrivateKeyGTE(v string) predicate.GithubApp

PrivateKeyGTE applies the GTE predicate on the "private_key" field.

func PrivateKeyHasPrefix

func PrivateKeyHasPrefix(v string) predicate.GithubApp

PrivateKeyHasPrefix applies the HasPrefix predicate on the "private_key" field.

func PrivateKeyHasSuffix

func PrivateKeyHasSuffix(v string) predicate.GithubApp

PrivateKeyHasSuffix applies the HasSuffix predicate on the "private_key" field.

func PrivateKeyIn

func PrivateKeyIn(vs ...string) predicate.GithubApp

PrivateKeyIn applies the In predicate on the "private_key" field.

func PrivateKeyLT

func PrivateKeyLT(v string) predicate.GithubApp

PrivateKeyLT applies the LT predicate on the "private_key" field.

func PrivateKeyLTE

func PrivateKeyLTE(v string) predicate.GithubApp

PrivateKeyLTE applies the LTE predicate on the "private_key" field.

func PrivateKeyNEQ

func PrivateKeyNEQ(v string) predicate.GithubApp

PrivateKeyNEQ applies the NEQ predicate on the "private_key" field.

func PrivateKeyNotIn

func PrivateKeyNotIn(vs ...string) predicate.GithubApp

PrivateKeyNotIn applies the NotIn predicate on the "private_key" field.

func UUID

func UUID(v uuid.UUID) predicate.GithubApp

UUID applies equality check predicate on the "uuid" field. It's identical to UUIDEQ.

func UUIDEQ

func UUIDEQ(v uuid.UUID) predicate.GithubApp

UUIDEQ applies the EQ predicate on the "uuid" field.

func UUIDGT

func UUIDGT(v uuid.UUID) predicate.GithubApp

UUIDGT applies the GT predicate on the "uuid" field.

func UUIDGTE

func UUIDGTE(v uuid.UUID) predicate.GithubApp

UUIDGTE applies the GTE predicate on the "uuid" field.

func UUIDIn

func UUIDIn(vs ...uuid.UUID) predicate.GithubApp

UUIDIn applies the In predicate on the "uuid" field.

func UUIDLT

func UUIDLT(v uuid.UUID) predicate.GithubApp

UUIDLT applies the LT predicate on the "uuid" field.

func UUIDLTE

func UUIDLTE(v uuid.UUID) predicate.GithubApp

UUIDLTE applies the LTE predicate on the "uuid" field.

func UUIDNEQ

func UUIDNEQ(v uuid.UUID) predicate.GithubApp

UUIDNEQ applies the NEQ predicate on the "uuid" field.

func UUIDNotIn

func UUIDNotIn(vs ...uuid.UUID) predicate.GithubApp

UUIDNotIn applies the NotIn predicate on the "uuid" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.GithubApp

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.GithubApp

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.GithubApp

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.GithubApp

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.GithubApp

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.GithubApp

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.GithubApp

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

func UpdatedAtNotIn

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

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

func ValidColumn

func ValidColumn(column string) bool

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

func WebhookSecret

func WebhookSecret(v string) predicate.GithubApp

WebhookSecret applies equality check predicate on the "webhook_secret" field. It's identical to WebhookSecretEQ.

func WebhookSecretContains

func WebhookSecretContains(v string) predicate.GithubApp

WebhookSecretContains applies the Contains predicate on the "webhook_secret" field.

func WebhookSecretContainsFold

func WebhookSecretContainsFold(v string) predicate.GithubApp

WebhookSecretContainsFold applies the ContainsFold predicate on the "webhook_secret" field.

func WebhookSecretEQ

func WebhookSecretEQ(v string) predicate.GithubApp

WebhookSecretEQ applies the EQ predicate on the "webhook_secret" field.

func WebhookSecretEqualFold

func WebhookSecretEqualFold(v string) predicate.GithubApp

WebhookSecretEqualFold applies the EqualFold predicate on the "webhook_secret" field.

func WebhookSecretGT

func WebhookSecretGT(v string) predicate.GithubApp

WebhookSecretGT applies the GT predicate on the "webhook_secret" field.

func WebhookSecretGTE

func WebhookSecretGTE(v string) predicate.GithubApp

WebhookSecretGTE applies the GTE predicate on the "webhook_secret" field.

func WebhookSecretHasPrefix

func WebhookSecretHasPrefix(v string) predicate.GithubApp

WebhookSecretHasPrefix applies the HasPrefix predicate on the "webhook_secret" field.

func WebhookSecretHasSuffix

func WebhookSecretHasSuffix(v string) predicate.GithubApp

WebhookSecretHasSuffix applies the HasSuffix predicate on the "webhook_secret" field.

func WebhookSecretIn

func WebhookSecretIn(vs ...string) predicate.GithubApp

WebhookSecretIn applies the In predicate on the "webhook_secret" field.

func WebhookSecretLT

func WebhookSecretLT(v string) predicate.GithubApp

WebhookSecretLT applies the LT predicate on the "webhook_secret" field.

func WebhookSecretLTE

func WebhookSecretLTE(v string) predicate.GithubApp

WebhookSecretLTE applies the LTE predicate on the "webhook_secret" field.

func WebhookSecretNEQ

func WebhookSecretNEQ(v string) predicate.GithubApp

WebhookSecretNEQ applies the NEQ predicate on the "webhook_secret" field.

func WebhookSecretNotIn

func WebhookSecretNotIn(vs ...string) predicate.GithubApp

WebhookSecretNotIn applies the NotIn predicate on the "webhook_secret" field.

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the GithubApp queries.

func ByClientID

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

ByClientID orders the results by the client_id field.

func ByClientSecret

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

ByClientSecret orders the results by the client_secret field.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByCreatedBy

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

ByCreatedBy orders the results by the created_by field.

func ByID

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

ByID orders the results by the id field.

func ByInstallations

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

ByInstallations orders the results by installations terms.

func ByInstallationsCount

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

ByInstallationsCount orders the results by installations count.

func ByName

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

ByName orders the results by the name field.

func ByPrivateKey

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

ByPrivateKey orders the results by the private_key field.

func ByUUID

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

ByUUID orders the results by the uuid field.

func ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

func ByUsersField

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

ByUsersField orders the results by users field.

func ByWebhookSecret

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

ByWebhookSecret orders the results by the webhook_secret field.

Jump to

Keyboard shortcuts

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