Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.GithubApp) predicate.GithubApp
- func ClientID(v string) predicate.GithubApp
- func ClientIDContains(v string) predicate.GithubApp
- func ClientIDContainsFold(v string) predicate.GithubApp
- func ClientIDEQ(v string) predicate.GithubApp
- func ClientIDEqualFold(v string) predicate.GithubApp
- func ClientIDGT(v string) predicate.GithubApp
- func ClientIDGTE(v string) predicate.GithubApp
- func ClientIDHasPrefix(v string) predicate.GithubApp
- func ClientIDHasSuffix(v string) predicate.GithubApp
- func ClientIDIn(vs ...string) predicate.GithubApp
- func ClientIDLT(v string) predicate.GithubApp
- func ClientIDLTE(v string) predicate.GithubApp
- func ClientIDNEQ(v string) predicate.GithubApp
- func ClientIDNotIn(vs ...string) predicate.GithubApp
- func ClientSecret(v string) predicate.GithubApp
- func ClientSecretContains(v string) predicate.GithubApp
- func ClientSecretContainsFold(v string) predicate.GithubApp
- func ClientSecretEQ(v string) predicate.GithubApp
- func ClientSecretEqualFold(v string) predicate.GithubApp
- func ClientSecretGT(v string) predicate.GithubApp
- func ClientSecretGTE(v string) predicate.GithubApp
- func ClientSecretHasPrefix(v string) predicate.GithubApp
- func ClientSecretHasSuffix(v string) predicate.GithubApp
- func ClientSecretIn(vs ...string) predicate.GithubApp
- func ClientSecretLT(v string) predicate.GithubApp
- func ClientSecretLTE(v string) predicate.GithubApp
- func ClientSecretNEQ(v string) predicate.GithubApp
- func ClientSecretNotIn(vs ...string) predicate.GithubApp
- func CreatedAt(v time.Time) predicate.GithubApp
- func CreatedAtEQ(v time.Time) predicate.GithubApp
- func CreatedAtGT(v time.Time) predicate.GithubApp
- func CreatedAtGTE(v time.Time) predicate.GithubApp
- func CreatedAtIn(vs ...time.Time) predicate.GithubApp
- func CreatedAtLT(v time.Time) predicate.GithubApp
- func CreatedAtLTE(v time.Time) predicate.GithubApp
- func CreatedAtNEQ(v time.Time) predicate.GithubApp
- func CreatedAtNotIn(vs ...time.Time) predicate.GithubApp
- func CreatedBy(v uuid.UUID) predicate.GithubApp
- func CreatedByEQ(v uuid.UUID) predicate.GithubApp
- func CreatedByIn(vs ...uuid.UUID) predicate.GithubApp
- func CreatedByNEQ(v uuid.UUID) predicate.GithubApp
- func CreatedByNotIn(vs ...uuid.UUID) predicate.GithubApp
- func HasInstallations() predicate.GithubApp
- func HasInstallationsWith(preds ...predicate.GithubInstallation) predicate.GithubApp
- func HasUsers() predicate.GithubApp
- func HasUsersWith(preds ...predicate.User) predicate.GithubApp
- func ID(id int64) predicate.GithubApp
- func IDEQ(id int64) predicate.GithubApp
- func IDGT(id int64) predicate.GithubApp
- func IDGTE(id int64) predicate.GithubApp
- func IDIn(ids ...int64) predicate.GithubApp
- func IDLT(id int64) predicate.GithubApp
- func IDLTE(id int64) predicate.GithubApp
- func IDNEQ(id int64) predicate.GithubApp
- func IDNotIn(ids ...int64) predicate.GithubApp
- func Name(v string) predicate.GithubApp
- func NameContains(v string) predicate.GithubApp
- func NameContainsFold(v string) predicate.GithubApp
- func NameEQ(v string) predicate.GithubApp
- func NameEqualFold(v string) predicate.GithubApp
- func NameGT(v string) predicate.GithubApp
- func NameGTE(v string) predicate.GithubApp
- func NameHasPrefix(v string) predicate.GithubApp
- func NameHasSuffix(v string) predicate.GithubApp
- func NameIn(vs ...string) predicate.GithubApp
- func NameLT(v string) predicate.GithubApp
- func NameLTE(v string) predicate.GithubApp
- func NameNEQ(v string) predicate.GithubApp
- func NameNotIn(vs ...string) predicate.GithubApp
- func Not(p predicate.GithubApp) predicate.GithubApp
- func Or(predicates ...predicate.GithubApp) predicate.GithubApp
- func PrivateKey(v string) predicate.GithubApp
- func PrivateKeyContains(v string) predicate.GithubApp
- func PrivateKeyContainsFold(v string) predicate.GithubApp
- func PrivateKeyEQ(v string) predicate.GithubApp
- func PrivateKeyEqualFold(v string) predicate.GithubApp
- func PrivateKeyGT(v string) predicate.GithubApp
- func PrivateKeyGTE(v string) predicate.GithubApp
- func PrivateKeyHasPrefix(v string) predicate.GithubApp
- func PrivateKeyHasSuffix(v string) predicate.GithubApp
- func PrivateKeyIn(vs ...string) predicate.GithubApp
- func PrivateKeyLT(v string) predicate.GithubApp
- func PrivateKeyLTE(v string) predicate.GithubApp
- func PrivateKeyNEQ(v string) predicate.GithubApp
- func PrivateKeyNotIn(vs ...string) predicate.GithubApp
- func UUID(v uuid.UUID) predicate.GithubApp
- func UUIDEQ(v uuid.UUID) predicate.GithubApp
- func UUIDGT(v uuid.UUID) predicate.GithubApp
- func UUIDGTE(v uuid.UUID) predicate.GithubApp
- func UUIDIn(vs ...uuid.UUID) predicate.GithubApp
- func UUIDLT(v uuid.UUID) predicate.GithubApp
- func UUIDLTE(v uuid.UUID) predicate.GithubApp
- func UUIDNEQ(v uuid.UUID) predicate.GithubApp
- func UUIDNotIn(vs ...uuid.UUID) predicate.GithubApp
- func UpdatedAt(v time.Time) predicate.GithubApp
- func UpdatedAtEQ(v time.Time) predicate.GithubApp
- func UpdatedAtGT(v time.Time) predicate.GithubApp
- func UpdatedAtGTE(v time.Time) predicate.GithubApp
- func UpdatedAtIn(vs ...time.Time) predicate.GithubApp
- func UpdatedAtLT(v time.Time) predicate.GithubApp
- func UpdatedAtLTE(v time.Time) predicate.GithubApp
- func UpdatedAtNEQ(v time.Time) predicate.GithubApp
- func UpdatedAtNotIn(vs ...time.Time) predicate.GithubApp
- func ValidColumn(column string) bool
- func WebhookSecret(v string) predicate.GithubApp
- func WebhookSecretContains(v string) predicate.GithubApp
- func WebhookSecretContainsFold(v string) predicate.GithubApp
- func WebhookSecretEQ(v string) predicate.GithubApp
- func WebhookSecretEqualFold(v string) predicate.GithubApp
- func WebhookSecretGT(v string) predicate.GithubApp
- func WebhookSecretGTE(v string) predicate.GithubApp
- func WebhookSecretHasPrefix(v string) predicate.GithubApp
- func WebhookSecretHasSuffix(v string) predicate.GithubApp
- func WebhookSecretIn(vs ...string) predicate.GithubApp
- func WebhookSecretLT(v string) predicate.GithubApp
- func WebhookSecretLTE(v string) predicate.GithubApp
- func WebhookSecretNEQ(v string) predicate.GithubApp
- func WebhookSecretNotIn(vs ...string) predicate.GithubApp
- type OrderOption
- func ByClientID(opts ...sql.OrderTermOption) OrderOption
- func ByClientSecret(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByInstallations(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByInstallationsCount(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByPrivateKey(opts ...sql.OrderTermOption) OrderOption
- func ByUUID(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUsersField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByWebhookSecret(opts ...sql.OrderTermOption) OrderOption
Constants ¶
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 ¶
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 )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldUUID, FieldCreatedBy, FieldName, FieldClientID, FieldClientSecret, FieldWebhookSecret, FieldPrivateKey, }
Columns holds all SQL columns for githubapp fields.
Functions ¶
func ClientID ¶
ClientID applies equality check predicate on the "client_id" field. It's identical to ClientIDEQ.
func ClientIDContains ¶
ClientIDContains applies the Contains predicate on the "client_id" field.
func ClientIDContainsFold ¶
ClientIDContainsFold applies the ContainsFold predicate on the "client_id" field.
func ClientIDEQ ¶
ClientIDEQ applies the EQ predicate on the "client_id" field.
func ClientIDEqualFold ¶
ClientIDEqualFold applies the EqualFold predicate on the "client_id" field.
func ClientIDGT ¶
ClientIDGT applies the GT predicate on the "client_id" field.
func ClientIDGTE ¶
ClientIDGTE applies the GTE predicate on the "client_id" field.
func ClientIDHasPrefix ¶
ClientIDHasPrefix applies the HasPrefix predicate on the "client_id" field.
func ClientIDHasSuffix ¶
ClientIDHasSuffix applies the HasSuffix predicate on the "client_id" field.
func ClientIDIn ¶
ClientIDIn applies the In predicate on the "client_id" field.
func ClientIDLT ¶
ClientIDLT applies the LT predicate on the "client_id" field.
func ClientIDLTE ¶
ClientIDLTE applies the LTE predicate on the "client_id" field.
func ClientIDNEQ ¶
ClientIDNEQ applies the NEQ predicate on the "client_id" field.
func ClientIDNotIn ¶
ClientIDNotIn applies the NotIn predicate on the "client_id" field.
func ClientSecret ¶
ClientSecret applies equality check predicate on the "client_secret" field. It's identical to ClientSecretEQ.
func ClientSecretContains ¶
ClientSecretContains applies the Contains predicate on the "client_secret" field.
func ClientSecretContainsFold ¶
ClientSecretContainsFold applies the ContainsFold predicate on the "client_secret" field.
func ClientSecretEQ ¶
ClientSecretEQ applies the EQ predicate on the "client_secret" field.
func ClientSecretEqualFold ¶
ClientSecretEqualFold applies the EqualFold predicate on the "client_secret" field.
func ClientSecretGT ¶
ClientSecretGT applies the GT predicate on the "client_secret" field.
func ClientSecretGTE ¶
ClientSecretGTE applies the GTE predicate on the "client_secret" field.
func ClientSecretHasPrefix ¶
ClientSecretHasPrefix applies the HasPrefix predicate on the "client_secret" field.
func ClientSecretHasSuffix ¶
ClientSecretHasSuffix applies the HasSuffix predicate on the "client_secret" field.
func ClientSecretIn ¶
ClientSecretIn applies the In predicate on the "client_secret" field.
func ClientSecretLT ¶
ClientSecretLT applies the LT predicate on the "client_secret" field.
func ClientSecretLTE ¶
ClientSecretLTE applies the LTE predicate on the "client_secret" field.
func ClientSecretNEQ ¶
ClientSecretNEQ applies the NEQ predicate on the "client_secret" field.
func ClientSecretNotIn ¶
ClientSecretNotIn applies the NotIn predicate on the "client_secret" field.
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedBy ¶
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByEQ ¶
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByIn ¶
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByNEQ ¶
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
func HasInstallations ¶
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 HasUsersWith ¶
HasUsersWith applies the HasEdge predicate on the "users" edge with a given conditions (other predicates).
func NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func PrivateKey ¶
PrivateKey applies equality check predicate on the "private_key" field. It's identical to PrivateKeyEQ.
func PrivateKeyContains ¶
PrivateKeyContains applies the Contains predicate on the "private_key" field.
func PrivateKeyContainsFold ¶
PrivateKeyContainsFold applies the ContainsFold predicate on the "private_key" field.
func PrivateKeyEQ ¶
PrivateKeyEQ applies the EQ predicate on the "private_key" field.
func PrivateKeyEqualFold ¶
PrivateKeyEqualFold applies the EqualFold predicate on the "private_key" field.
func PrivateKeyGT ¶
PrivateKeyGT applies the GT predicate on the "private_key" field.
func PrivateKeyGTE ¶
PrivateKeyGTE applies the GTE predicate on the "private_key" field.
func PrivateKeyHasPrefix ¶
PrivateKeyHasPrefix applies the HasPrefix predicate on the "private_key" field.
func PrivateKeyHasSuffix ¶
PrivateKeyHasSuffix applies the HasSuffix predicate on the "private_key" field.
func PrivateKeyIn ¶
PrivateKeyIn applies the In predicate on the "private_key" field.
func PrivateKeyLT ¶
PrivateKeyLT applies the LT predicate on the "private_key" field.
func PrivateKeyLTE ¶
PrivateKeyLTE applies the LTE predicate on the "private_key" field.
func PrivateKeyNEQ ¶
PrivateKeyNEQ applies the NEQ predicate on the "private_key" field.
func PrivateKeyNotIn ¶
PrivateKeyNotIn applies the NotIn predicate on the "private_key" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func WebhookSecret ¶
WebhookSecret applies equality check predicate on the "webhook_secret" field. It's identical to WebhookSecretEQ.
func WebhookSecretContains ¶
WebhookSecretContains applies the Contains predicate on the "webhook_secret" field.
func WebhookSecretContainsFold ¶
WebhookSecretContainsFold applies the ContainsFold predicate on the "webhook_secret" field.
func WebhookSecretEQ ¶
WebhookSecretEQ applies the EQ predicate on the "webhook_secret" field.
func WebhookSecretEqualFold ¶
WebhookSecretEqualFold applies the EqualFold predicate on the "webhook_secret" field.
func WebhookSecretGT ¶
WebhookSecretGT applies the GT predicate on the "webhook_secret" field.
func WebhookSecretGTE ¶
WebhookSecretGTE applies the GTE predicate on the "webhook_secret" field.
func WebhookSecretHasPrefix ¶
WebhookSecretHasPrefix applies the HasPrefix predicate on the "webhook_secret" field.
func WebhookSecretHasSuffix ¶
WebhookSecretHasSuffix applies the HasSuffix predicate on the "webhook_secret" field.
func WebhookSecretIn ¶
WebhookSecretIn applies the In predicate on the "webhook_secret" field.
func WebhookSecretLT ¶
WebhookSecretLT applies the LT predicate on the "webhook_secret" field.
func WebhookSecretLTE ¶
WebhookSecretLTE applies the LTE predicate on the "webhook_secret" field.
func WebhookSecretNEQ ¶
WebhookSecretNEQ applies the NEQ predicate on the "webhook_secret" field.
func WebhookSecretNotIn ¶
WebhookSecretNotIn applies the NotIn predicate on the "webhook_secret" field.
Types ¶
type OrderOption ¶
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.