Documentation
¶
Index ¶
- Constants
- Variables
- func AccountID(v int64) predicate.GithubInstallation
- func AccountIDEQ(v int64) predicate.GithubInstallation
- func AccountIDGT(v int64) predicate.GithubInstallation
- func AccountIDGTE(v int64) predicate.GithubInstallation
- func AccountIDIn(vs ...int64) predicate.GithubInstallation
- func AccountIDLT(v int64) predicate.GithubInstallation
- func AccountIDLTE(v int64) predicate.GithubInstallation
- func AccountIDNEQ(v int64) predicate.GithubInstallation
- func AccountIDNotIn(vs ...int64) predicate.GithubInstallation
- func AccountLogin(v string) predicate.GithubInstallation
- func AccountLoginContains(v string) predicate.GithubInstallation
- func AccountLoginContainsFold(v string) predicate.GithubInstallation
- func AccountLoginEQ(v string) predicate.GithubInstallation
- func AccountLoginEqualFold(v string) predicate.GithubInstallation
- func AccountLoginGT(v string) predicate.GithubInstallation
- func AccountLoginGTE(v string) predicate.GithubInstallation
- func AccountLoginHasPrefix(v string) predicate.GithubInstallation
- func AccountLoginHasSuffix(v string) predicate.GithubInstallation
- func AccountLoginIn(vs ...string) predicate.GithubInstallation
- func AccountLoginLT(v string) predicate.GithubInstallation
- func AccountLoginLTE(v string) predicate.GithubInstallation
- func AccountLoginNEQ(v string) predicate.GithubInstallation
- func AccountLoginNotIn(vs ...string) predicate.GithubInstallation
- func AccountTypeEQ(v AccountType) predicate.GithubInstallation
- func AccountTypeIn(vs ...AccountType) predicate.GithubInstallation
- func AccountTypeNEQ(v AccountType) predicate.GithubInstallation
- func AccountTypeNotIn(vs ...AccountType) predicate.GithubInstallation
- func AccountTypeValidator(at AccountType) error
- func AccountURL(v string) predicate.GithubInstallation
- func AccountURLContains(v string) predicate.GithubInstallation
- func AccountURLContainsFold(v string) predicate.GithubInstallation
- func AccountURLEQ(v string) predicate.GithubInstallation
- func AccountURLEqualFold(v string) predicate.GithubInstallation
- func AccountURLGT(v string) predicate.GithubInstallation
- func AccountURLGTE(v string) predicate.GithubInstallation
- func AccountURLHasPrefix(v string) predicate.GithubInstallation
- func AccountURLHasSuffix(v string) predicate.GithubInstallation
- func AccountURLIn(vs ...string) predicate.GithubInstallation
- func AccountURLLT(v string) predicate.GithubInstallation
- func AccountURLLTE(v string) predicate.GithubInstallation
- func AccountURLNEQ(v string) predicate.GithubInstallation
- func AccountURLNotIn(vs ...string) predicate.GithubInstallation
- func Active(v bool) predicate.GithubInstallation
- func ActiveEQ(v bool) predicate.GithubInstallation
- func ActiveNEQ(v bool) predicate.GithubInstallation
- func And(predicates ...predicate.GithubInstallation) predicate.GithubInstallation
- func CreatedAt(v time.Time) predicate.GithubInstallation
- func CreatedAtEQ(v time.Time) predicate.GithubInstallation
- func CreatedAtGT(v time.Time) predicate.GithubInstallation
- func CreatedAtGTE(v time.Time) predicate.GithubInstallation
- func CreatedAtIn(vs ...time.Time) predicate.GithubInstallation
- func CreatedAtLT(v time.Time) predicate.GithubInstallation
- func CreatedAtLTE(v time.Time) predicate.GithubInstallation
- func CreatedAtNEQ(v time.Time) predicate.GithubInstallation
- func CreatedAtNotIn(vs ...time.Time) predicate.GithubInstallation
- func EventsIsNil() predicate.GithubInstallation
- func EventsNotNil() predicate.GithubInstallation
- func GithubAppID(v int64) predicate.GithubInstallation
- func GithubAppIDEQ(v int64) predicate.GithubInstallation
- func GithubAppIDIn(vs ...int64) predicate.GithubInstallation
- func GithubAppIDNEQ(v int64) predicate.GithubInstallation
- func GithubAppIDNotIn(vs ...int64) predicate.GithubInstallation
- func HasGithubApp() predicate.GithubInstallation
- func HasGithubAppWith(preds ...predicate.GithubApp) predicate.GithubInstallation
- func HasServices() predicate.GithubInstallation
- func HasServicesWith(preds ...predicate.Service) predicate.GithubInstallation
- func ID(id int64) predicate.GithubInstallation
- func IDEQ(id int64) predicate.GithubInstallation
- func IDGT(id int64) predicate.GithubInstallation
- func IDGTE(id int64) predicate.GithubInstallation
- func IDIn(ids ...int64) predicate.GithubInstallation
- func IDLT(id int64) predicate.GithubInstallation
- func IDLTE(id int64) predicate.GithubInstallation
- func IDNEQ(id int64) predicate.GithubInstallation
- func IDNotIn(ids ...int64) predicate.GithubInstallation
- func Not(p predicate.GithubInstallation) predicate.GithubInstallation
- func Or(predicates ...predicate.GithubInstallation) predicate.GithubInstallation
- func PermissionsIsNil() predicate.GithubInstallation
- func PermissionsNotNil() predicate.GithubInstallation
- func RepositorySelectionEQ(v RepositorySelection) predicate.GithubInstallation
- func RepositorySelectionIn(vs ...RepositorySelection) predicate.GithubInstallation
- func RepositorySelectionNEQ(v RepositorySelection) predicate.GithubInstallation
- func RepositorySelectionNotIn(vs ...RepositorySelection) predicate.GithubInstallation
- func RepositorySelectionValidator(rs RepositorySelection) error
- func Suspended(v bool) predicate.GithubInstallation
- func SuspendedEQ(v bool) predicate.GithubInstallation
- func SuspendedNEQ(v bool) predicate.GithubInstallation
- func UpdatedAt(v time.Time) predicate.GithubInstallation
- func UpdatedAtEQ(v time.Time) predicate.GithubInstallation
- func UpdatedAtGT(v time.Time) predicate.GithubInstallation
- func UpdatedAtGTE(v time.Time) predicate.GithubInstallation
- func UpdatedAtIn(vs ...time.Time) predicate.GithubInstallation
- func UpdatedAtLT(v time.Time) predicate.GithubInstallation
- func UpdatedAtLTE(v time.Time) predicate.GithubInstallation
- func UpdatedAtNEQ(v time.Time) predicate.GithubInstallation
- func UpdatedAtNotIn(vs ...time.Time) predicate.GithubInstallation
- func ValidColumn(column string) bool
- type AccountType
- type OrderOption
- func ByAccountID(opts ...sql.OrderTermOption) OrderOption
- func ByAccountLogin(opts ...sql.OrderTermOption) OrderOption
- func ByAccountType(opts ...sql.OrderTermOption) OrderOption
- func ByAccountURL(opts ...sql.OrderTermOption) OrderOption
- func ByActive(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByGithubAppField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByGithubAppID(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByRepositorySelection(opts ...sql.OrderTermOption) OrderOption
- func ByServices(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByServicesCount(opts ...sql.OrderTermOption) OrderOption
- func BySuspended(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- type RepositorySelection
Constants ¶
const ( // Label holds the string label denoting the githubinstallation type in the database. Label = "github_installation" // 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" // FieldGithubAppID holds the string denoting the github_app_id field in the database. FieldGithubAppID = "github_app_id" // FieldAccountID holds the string denoting the account_id field in the database. FieldAccountID = "account_id" // FieldAccountLogin holds the string denoting the account_login field in the database. FieldAccountLogin = "account_login" // FieldAccountType holds the string denoting the account_type field in the database. FieldAccountType = "account_type" // FieldAccountURL holds the string denoting the account_url field in the database. FieldAccountURL = "account_url" // FieldRepositorySelection holds the string denoting the repository_selection field in the database. FieldRepositorySelection = "repository_selection" // FieldSuspended holds the string denoting the suspended field in the database. FieldSuspended = "suspended" // FieldActive holds the string denoting the active field in the database. FieldActive = "active" // FieldPermissions holds the string denoting the permissions field in the database. FieldPermissions = "permissions" // FieldEvents holds the string denoting the events field in the database. FieldEvents = "events" // EdgeGithubApp holds the string denoting the github_app edge name in mutations. EdgeGithubApp = "github_app" // EdgeServices holds the string denoting the services edge name in mutations. EdgeServices = "services" // Table holds the table name of the githubinstallation in the database. Table = "github_installations" // GithubAppTable is the table that holds the github_app relation/edge. GithubAppTable = "github_installations" // GithubAppInverseTable is the table name for the GithubApp entity. // It exists in this package in order to avoid circular dependency with the "githubapp" package. GithubAppInverseTable = "github_apps" // GithubAppColumn is the table column denoting the github_app relation/edge. GithubAppColumn = "github_app_id" // ServicesTable is the table that holds the services relation/edge. ServicesTable = "services" // ServicesInverseTable is the table name for the Service entity. // It exists in this package in order to avoid circular dependency with the "service" package. ServicesInverseTable = "services" // ServicesColumn is the table column denoting the services relation/edge. ServicesColumn = "github_installation_id" )
const DefaultRepositorySelection = RepositorySelectionAll
RepositorySelectionAll is the default value of the RepositorySelection enum.
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 // AccountLoginValidator is a validator for the "account_login" field. It is called by the builders before save. AccountLoginValidator func(string) error // AccountURLValidator is a validator for the "account_url" field. It is called by the builders before save. AccountURLValidator func(string) error // DefaultSuspended holds the default value on creation for the "suspended" field. DefaultSuspended bool // DefaultActive holds the default value on creation for the "active" field. DefaultActive bool // 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, FieldGithubAppID, FieldAccountID, FieldAccountLogin, FieldAccountType, FieldAccountURL, FieldRepositorySelection, FieldSuspended, FieldActive, FieldPermissions, FieldEvents, }
Columns holds all SQL columns for githubinstallation fields.
Functions ¶
func AccountID ¶
func AccountID(v int64) predicate.GithubInstallation
AccountID applies equality check predicate on the "account_id" field. It's identical to AccountIDEQ.
func AccountIDEQ ¶
func AccountIDEQ(v int64) predicate.GithubInstallation
AccountIDEQ applies the EQ predicate on the "account_id" field.
func AccountIDGT ¶
func AccountIDGT(v int64) predicate.GithubInstallation
AccountIDGT applies the GT predicate on the "account_id" field.
func AccountIDGTE ¶
func AccountIDGTE(v int64) predicate.GithubInstallation
AccountIDGTE applies the GTE predicate on the "account_id" field.
func AccountIDIn ¶
func AccountIDIn(vs ...int64) predicate.GithubInstallation
AccountIDIn applies the In predicate on the "account_id" field.
func AccountIDLT ¶
func AccountIDLT(v int64) predicate.GithubInstallation
AccountIDLT applies the LT predicate on the "account_id" field.
func AccountIDLTE ¶
func AccountIDLTE(v int64) predicate.GithubInstallation
AccountIDLTE applies the LTE predicate on the "account_id" field.
func AccountIDNEQ ¶
func AccountIDNEQ(v int64) predicate.GithubInstallation
AccountIDNEQ applies the NEQ predicate on the "account_id" field.
func AccountIDNotIn ¶
func AccountIDNotIn(vs ...int64) predicate.GithubInstallation
AccountIDNotIn applies the NotIn predicate on the "account_id" field.
func AccountLogin ¶
func AccountLogin(v string) predicate.GithubInstallation
AccountLogin applies equality check predicate on the "account_login" field. It's identical to AccountLoginEQ.
func AccountLoginContains ¶
func AccountLoginContains(v string) predicate.GithubInstallation
AccountLoginContains applies the Contains predicate on the "account_login" field.
func AccountLoginContainsFold ¶
func AccountLoginContainsFold(v string) predicate.GithubInstallation
AccountLoginContainsFold applies the ContainsFold predicate on the "account_login" field.
func AccountLoginEQ ¶
func AccountLoginEQ(v string) predicate.GithubInstallation
AccountLoginEQ applies the EQ predicate on the "account_login" field.
func AccountLoginEqualFold ¶
func AccountLoginEqualFold(v string) predicate.GithubInstallation
AccountLoginEqualFold applies the EqualFold predicate on the "account_login" field.
func AccountLoginGT ¶
func AccountLoginGT(v string) predicate.GithubInstallation
AccountLoginGT applies the GT predicate on the "account_login" field.
func AccountLoginGTE ¶
func AccountLoginGTE(v string) predicate.GithubInstallation
AccountLoginGTE applies the GTE predicate on the "account_login" field.
func AccountLoginHasPrefix ¶
func AccountLoginHasPrefix(v string) predicate.GithubInstallation
AccountLoginHasPrefix applies the HasPrefix predicate on the "account_login" field.
func AccountLoginHasSuffix ¶
func AccountLoginHasSuffix(v string) predicate.GithubInstallation
AccountLoginHasSuffix applies the HasSuffix predicate on the "account_login" field.
func AccountLoginIn ¶
func AccountLoginIn(vs ...string) predicate.GithubInstallation
AccountLoginIn applies the In predicate on the "account_login" field.
func AccountLoginLT ¶
func AccountLoginLT(v string) predicate.GithubInstallation
AccountLoginLT applies the LT predicate on the "account_login" field.
func AccountLoginLTE ¶
func AccountLoginLTE(v string) predicate.GithubInstallation
AccountLoginLTE applies the LTE predicate on the "account_login" field.
func AccountLoginNEQ ¶
func AccountLoginNEQ(v string) predicate.GithubInstallation
AccountLoginNEQ applies the NEQ predicate on the "account_login" field.
func AccountLoginNotIn ¶
func AccountLoginNotIn(vs ...string) predicate.GithubInstallation
AccountLoginNotIn applies the NotIn predicate on the "account_login" field.
func AccountTypeEQ ¶
func AccountTypeEQ(v AccountType) predicate.GithubInstallation
AccountTypeEQ applies the EQ predicate on the "account_type" field.
func AccountTypeIn ¶
func AccountTypeIn(vs ...AccountType) predicate.GithubInstallation
AccountTypeIn applies the In predicate on the "account_type" field.
func AccountTypeNEQ ¶
func AccountTypeNEQ(v AccountType) predicate.GithubInstallation
AccountTypeNEQ applies the NEQ predicate on the "account_type" field.
func AccountTypeNotIn ¶
func AccountTypeNotIn(vs ...AccountType) predicate.GithubInstallation
AccountTypeNotIn applies the NotIn predicate on the "account_type" field.
func AccountTypeValidator ¶
func AccountTypeValidator(at AccountType) error
AccountTypeValidator is a validator for the "account_type" field enum values. It is called by the builders before save.
func AccountURL ¶
func AccountURL(v string) predicate.GithubInstallation
AccountURL applies equality check predicate on the "account_url" field. It's identical to AccountURLEQ.
func AccountURLContains ¶
func AccountURLContains(v string) predicate.GithubInstallation
AccountURLContains applies the Contains predicate on the "account_url" field.
func AccountURLContainsFold ¶
func AccountURLContainsFold(v string) predicate.GithubInstallation
AccountURLContainsFold applies the ContainsFold predicate on the "account_url" field.
func AccountURLEQ ¶
func AccountURLEQ(v string) predicate.GithubInstallation
AccountURLEQ applies the EQ predicate on the "account_url" field.
func AccountURLEqualFold ¶
func AccountURLEqualFold(v string) predicate.GithubInstallation
AccountURLEqualFold applies the EqualFold predicate on the "account_url" field.
func AccountURLGT ¶
func AccountURLGT(v string) predicate.GithubInstallation
AccountURLGT applies the GT predicate on the "account_url" field.
func AccountURLGTE ¶
func AccountURLGTE(v string) predicate.GithubInstallation
AccountURLGTE applies the GTE predicate on the "account_url" field.
func AccountURLHasPrefix ¶
func AccountURLHasPrefix(v string) predicate.GithubInstallation
AccountURLHasPrefix applies the HasPrefix predicate on the "account_url" field.
func AccountURLHasSuffix ¶
func AccountURLHasSuffix(v string) predicate.GithubInstallation
AccountURLHasSuffix applies the HasSuffix predicate on the "account_url" field.
func AccountURLIn ¶
func AccountURLIn(vs ...string) predicate.GithubInstallation
AccountURLIn applies the In predicate on the "account_url" field.
func AccountURLLT ¶
func AccountURLLT(v string) predicate.GithubInstallation
AccountURLLT applies the LT predicate on the "account_url" field.
func AccountURLLTE ¶
func AccountURLLTE(v string) predicate.GithubInstallation
AccountURLLTE applies the LTE predicate on the "account_url" field.
func AccountURLNEQ ¶
func AccountURLNEQ(v string) predicate.GithubInstallation
AccountURLNEQ applies the NEQ predicate on the "account_url" field.
func AccountURLNotIn ¶
func AccountURLNotIn(vs ...string) predicate.GithubInstallation
AccountURLNotIn applies the NotIn predicate on the "account_url" field.
func Active ¶
func Active(v bool) predicate.GithubInstallation
Active applies equality check predicate on the "active" field. It's identical to ActiveEQ.
func ActiveEQ ¶
func ActiveEQ(v bool) predicate.GithubInstallation
ActiveEQ applies the EQ predicate on the "active" field.
func ActiveNEQ ¶
func ActiveNEQ(v bool) predicate.GithubInstallation
ActiveNEQ applies the NEQ predicate on the "active" field.
func And ¶
func And(predicates ...predicate.GithubInstallation) predicate.GithubInstallation
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.GithubInstallation
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.GithubInstallation
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.GithubInstallation
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.GithubInstallation
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.GithubInstallation
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.GithubInstallation
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.GithubInstallation
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.GithubInstallation
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.GithubInstallation
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func EventsIsNil ¶
func EventsIsNil() predicate.GithubInstallation
EventsIsNil applies the IsNil predicate on the "events" field.
func EventsNotNil ¶
func EventsNotNil() predicate.GithubInstallation
EventsNotNil applies the NotNil predicate on the "events" field.
func GithubAppID ¶
func GithubAppID(v int64) predicate.GithubInstallation
GithubAppID applies equality check predicate on the "github_app_id" field. It's identical to GithubAppIDEQ.
func GithubAppIDEQ ¶
func GithubAppIDEQ(v int64) predicate.GithubInstallation
GithubAppIDEQ applies the EQ predicate on the "github_app_id" field.
func GithubAppIDIn ¶
func GithubAppIDIn(vs ...int64) predicate.GithubInstallation
GithubAppIDIn applies the In predicate on the "github_app_id" field.
func GithubAppIDNEQ ¶
func GithubAppIDNEQ(v int64) predicate.GithubInstallation
GithubAppIDNEQ applies the NEQ predicate on the "github_app_id" field.
func GithubAppIDNotIn ¶
func GithubAppIDNotIn(vs ...int64) predicate.GithubInstallation
GithubAppIDNotIn applies the NotIn predicate on the "github_app_id" field.
func HasGithubApp ¶
func HasGithubApp() predicate.GithubInstallation
HasGithubApp applies the HasEdge predicate on the "github_app" edge.
func HasGithubAppWith ¶
func HasGithubAppWith(preds ...predicate.GithubApp) predicate.GithubInstallation
HasGithubAppWith applies the HasEdge predicate on the "github_app" edge with a given conditions (other predicates).
func HasServices ¶
func HasServices() predicate.GithubInstallation
HasServices applies the HasEdge predicate on the "services" edge.
func HasServicesWith ¶
func HasServicesWith(preds ...predicate.Service) predicate.GithubInstallation
HasServicesWith applies the HasEdge predicate on the "services" edge with a given conditions (other predicates).
func ID ¶
func ID(id int64) predicate.GithubInstallation
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id int64) predicate.GithubInstallation
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int64) predicate.GithubInstallation
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int64) predicate.GithubInstallation
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int64) predicate.GithubInstallation
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int64) predicate.GithubInstallation
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int64) predicate.GithubInstallation
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int64) predicate.GithubInstallation
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int64) predicate.GithubInstallation
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.GithubInstallation) predicate.GithubInstallation
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.GithubInstallation) predicate.GithubInstallation
Or groups predicates with the OR operator between them.
func PermissionsIsNil ¶
func PermissionsIsNil() predicate.GithubInstallation
PermissionsIsNil applies the IsNil predicate on the "permissions" field.
func PermissionsNotNil ¶
func PermissionsNotNil() predicate.GithubInstallation
PermissionsNotNil applies the NotNil predicate on the "permissions" field.
func RepositorySelectionEQ ¶
func RepositorySelectionEQ(v RepositorySelection) predicate.GithubInstallation
RepositorySelectionEQ applies the EQ predicate on the "repository_selection" field.
func RepositorySelectionIn ¶
func RepositorySelectionIn(vs ...RepositorySelection) predicate.GithubInstallation
RepositorySelectionIn applies the In predicate on the "repository_selection" field.
func RepositorySelectionNEQ ¶
func RepositorySelectionNEQ(v RepositorySelection) predicate.GithubInstallation
RepositorySelectionNEQ applies the NEQ predicate on the "repository_selection" field.
func RepositorySelectionNotIn ¶
func RepositorySelectionNotIn(vs ...RepositorySelection) predicate.GithubInstallation
RepositorySelectionNotIn applies the NotIn predicate on the "repository_selection" field.
func RepositorySelectionValidator ¶
func RepositorySelectionValidator(rs RepositorySelection) error
RepositorySelectionValidator is a validator for the "repository_selection" field enum values. It is called by the builders before save.
func Suspended ¶
func Suspended(v bool) predicate.GithubInstallation
Suspended applies equality check predicate on the "suspended" field. It's identical to SuspendedEQ.
func SuspendedEQ ¶
func SuspendedEQ(v bool) predicate.GithubInstallation
SuspendedEQ applies the EQ predicate on the "suspended" field.
func SuspendedNEQ ¶
func SuspendedNEQ(v bool) predicate.GithubInstallation
SuspendedNEQ applies the NEQ predicate on the "suspended" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.GithubInstallation
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.GithubInstallation
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.GithubInstallation
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.GithubInstallation
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.GithubInstallation
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.GithubInstallation
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.GithubInstallation
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.GithubInstallation
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.GithubInstallation
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).
Types ¶
type AccountType ¶
type AccountType string
AccountType defines the type for the "account_type" enum field.
const ( AccountTypeOrganization AccountType = "Organization" AccountTypeUser AccountType = "User" )
AccountType values.
func (AccountType) String ¶
func (at AccountType) String() string
type OrderOption ¶
OrderOption defines the ordering options for the GithubInstallation queries.
func ByAccountID ¶
func ByAccountID(opts ...sql.OrderTermOption) OrderOption
ByAccountID orders the results by the account_id field.
func ByAccountLogin ¶
func ByAccountLogin(opts ...sql.OrderTermOption) OrderOption
ByAccountLogin orders the results by the account_login field.
func ByAccountType ¶
func ByAccountType(opts ...sql.OrderTermOption) OrderOption
ByAccountType orders the results by the account_type field.
func ByAccountURL ¶
func ByAccountURL(opts ...sql.OrderTermOption) OrderOption
ByAccountURL orders the results by the account_url field.
func ByActive ¶
func ByActive(opts ...sql.OrderTermOption) OrderOption
ByActive orders the results by the active field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByGithubAppField ¶
func ByGithubAppField(field string, opts ...sql.OrderTermOption) OrderOption
ByGithubAppField orders the results by github_app field.
func ByGithubAppID ¶
func ByGithubAppID(opts ...sql.OrderTermOption) OrderOption
ByGithubAppID orders the results by the github_app_id field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByRepositorySelection ¶
func ByRepositorySelection(opts ...sql.OrderTermOption) OrderOption
ByRepositorySelection orders the results by the repository_selection field.
func ByServices ¶
func ByServices(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByServices orders the results by services terms.
func ByServicesCount ¶
func ByServicesCount(opts ...sql.OrderTermOption) OrderOption
ByServicesCount orders the results by services count.
func BySuspended ¶
func BySuspended(opts ...sql.OrderTermOption) OrderOption
BySuspended orders the results by the suspended field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
type RepositorySelection ¶
type RepositorySelection string
RepositorySelection defines the type for the "repository_selection" enum field.
const ( RepositorySelectionAll RepositorySelection = "all" RepositorySelectionSelected RepositorySelection = "selected" )
RepositorySelection values.
func (RepositorySelection) String ¶
func (rs RepositorySelection) String() string