Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Integration) predicate.Integration
- func CreatedAt(v time.Time) predicate.Integration
- func CreatedAtEQ(v time.Time) predicate.Integration
- func CreatedAtGT(v time.Time) predicate.Integration
- func CreatedAtGTE(v time.Time) predicate.Integration
- func CreatedAtIn(vs ...time.Time) predicate.Integration
- func CreatedAtIsNil() predicate.Integration
- func CreatedAtLT(v time.Time) predicate.Integration
- func CreatedAtLTE(v time.Time) predicate.Integration
- func CreatedAtNEQ(v time.Time) predicate.Integration
- func CreatedAtNotIn(vs ...time.Time) predicate.Integration
- func CreatedAtNotNil() predicate.Integration
- func CreatedBy(v string) predicate.Integration
- func CreatedByContains(v string) predicate.Integration
- func CreatedByContainsFold(v string) predicate.Integration
- func CreatedByEQ(v string) predicate.Integration
- func CreatedByEqualFold(v string) predicate.Integration
- func CreatedByGT(v string) predicate.Integration
- func CreatedByGTE(v string) predicate.Integration
- func CreatedByHasPrefix(v string) predicate.Integration
- func CreatedByHasSuffix(v string) predicate.Integration
- func CreatedByIn(vs ...string) predicate.Integration
- func CreatedByIsNil() predicate.Integration
- func CreatedByLT(v string) predicate.Integration
- func CreatedByLTE(v string) predicate.Integration
- func CreatedByNEQ(v string) predicate.Integration
- func CreatedByNotIn(vs ...string) predicate.Integration
- func CreatedByNotNil() predicate.Integration
- func DeletedAt(v time.Time) predicate.Integration
- func DeletedAtEQ(v time.Time) predicate.Integration
- func DeletedAtGT(v time.Time) predicate.Integration
- func DeletedAtGTE(v time.Time) predicate.Integration
- func DeletedAtIn(vs ...time.Time) predicate.Integration
- func DeletedAtIsNil() predicate.Integration
- func DeletedAtLT(v time.Time) predicate.Integration
- func DeletedAtLTE(v time.Time) predicate.Integration
- func DeletedAtNEQ(v time.Time) predicate.Integration
- func DeletedAtNotIn(vs ...time.Time) predicate.Integration
- func DeletedAtNotNil() predicate.Integration
- func DeletedBy(v string) predicate.Integration
- func DeletedByContains(v string) predicate.Integration
- func DeletedByContainsFold(v string) predicate.Integration
- func DeletedByEQ(v string) predicate.Integration
- func DeletedByEqualFold(v string) predicate.Integration
- func DeletedByGT(v string) predicate.Integration
- func DeletedByGTE(v string) predicate.Integration
- func DeletedByHasPrefix(v string) predicate.Integration
- func DeletedByHasSuffix(v string) predicate.Integration
- func DeletedByIn(vs ...string) predicate.Integration
- func DeletedByIsNil() predicate.Integration
- func DeletedByLT(v string) predicate.Integration
- func DeletedByLTE(v string) predicate.Integration
- func DeletedByNEQ(v string) predicate.Integration
- func DeletedByNotIn(vs ...string) predicate.Integration
- func DeletedByNotNil() predicate.Integration
- func Description(v string) predicate.Integration
- func DescriptionContains(v string) predicate.Integration
- func DescriptionContainsFold(v string) predicate.Integration
- func DescriptionEQ(v string) predicate.Integration
- func DescriptionEqualFold(v string) predicate.Integration
- func DescriptionGT(v string) predicate.Integration
- func DescriptionGTE(v string) predicate.Integration
- func DescriptionHasPrefix(v string) predicate.Integration
- func DescriptionHasSuffix(v string) predicate.Integration
- func DescriptionIn(vs ...string) predicate.Integration
- func DescriptionIsNil() predicate.Integration
- func DescriptionLT(v string) predicate.Integration
- func DescriptionLTE(v string) predicate.Integration
- func DescriptionNEQ(v string) predicate.Integration
- func DescriptionNotIn(vs ...string) predicate.Integration
- func DescriptionNotNil() predicate.Integration
- func HasEvents() predicate.Integration
- func HasEventsWith(preds ...predicate.Event) predicate.Integration
- func HasOauth2tokens() predicate.Integration
- func HasOauth2tokensWith(preds ...predicate.OhAuthTooToken) predicate.Integration
- func HasOwner() predicate.Integration
- func HasOwnerWith(preds ...predicate.Organization) predicate.Integration
- func HasSecrets() predicate.Integration
- func HasSecretsWith(preds ...predicate.Hush) predicate.Integration
- func HasWebhooks() predicate.Integration
- func HasWebhooksWith(preds ...predicate.Webhook) predicate.Integration
- func ID(id string) predicate.Integration
- func IDContainsFold(id string) predicate.Integration
- func IDEQ(id string) predicate.Integration
- func IDEqualFold(id string) predicate.Integration
- func IDGT(id string) predicate.Integration
- func IDGTE(id string) predicate.Integration
- func IDIn(ids ...string) predicate.Integration
- func IDLT(id string) predicate.Integration
- func IDLTE(id string) predicate.Integration
- func IDNEQ(id string) predicate.Integration
- func IDNotIn(ids ...string) predicate.Integration
- func Kind(v string) predicate.Integration
- func KindContains(v string) predicate.Integration
- func KindContainsFold(v string) predicate.Integration
- func KindEQ(v string) predicate.Integration
- func KindEqualFold(v string) predicate.Integration
- func KindGT(v string) predicate.Integration
- func KindGTE(v string) predicate.Integration
- func KindHasPrefix(v string) predicate.Integration
- func KindHasSuffix(v string) predicate.Integration
- func KindIn(vs ...string) predicate.Integration
- func KindIsNil() predicate.Integration
- func KindLT(v string) predicate.Integration
- func KindLTE(v string) predicate.Integration
- func KindNEQ(v string) predicate.Integration
- func KindNotIn(vs ...string) predicate.Integration
- func KindNotNil() predicate.Integration
- func MappingID(v string) predicate.Integration
- func MappingIDContains(v string) predicate.Integration
- func MappingIDContainsFold(v string) predicate.Integration
- func MappingIDEQ(v string) predicate.Integration
- func MappingIDEqualFold(v string) predicate.Integration
- func MappingIDGT(v string) predicate.Integration
- func MappingIDGTE(v string) predicate.Integration
- func MappingIDHasPrefix(v string) predicate.Integration
- func MappingIDHasSuffix(v string) predicate.Integration
- func MappingIDIn(vs ...string) predicate.Integration
- func MappingIDLT(v string) predicate.Integration
- func MappingIDLTE(v string) predicate.Integration
- func MappingIDNEQ(v string) predicate.Integration
- func MappingIDNotIn(vs ...string) predicate.Integration
- func Name(v string) predicate.Integration
- func NameContains(v string) predicate.Integration
- func NameContainsFold(v string) predicate.Integration
- func NameEQ(v string) predicate.Integration
- func NameEqualFold(v string) predicate.Integration
- func NameGT(v string) predicate.Integration
- func NameGTE(v string) predicate.Integration
- func NameHasPrefix(v string) predicate.Integration
- func NameHasSuffix(v string) predicate.Integration
- func NameIn(vs ...string) predicate.Integration
- func NameLT(v string) predicate.Integration
- func NameLTE(v string) predicate.Integration
- func NameNEQ(v string) predicate.Integration
- func NameNotIn(vs ...string) predicate.Integration
- func Not(p predicate.Integration) predicate.Integration
- func Or(predicates ...predicate.Integration) predicate.Integration
- func OwnerID(v string) predicate.Integration
- func OwnerIDContains(v string) predicate.Integration
- func OwnerIDContainsFold(v string) predicate.Integration
- func OwnerIDEQ(v string) predicate.Integration
- func OwnerIDEqualFold(v string) predicate.Integration
- func OwnerIDGT(v string) predicate.Integration
- func OwnerIDGTE(v string) predicate.Integration
- func OwnerIDHasPrefix(v string) predicate.Integration
- func OwnerIDHasSuffix(v string) predicate.Integration
- func OwnerIDIn(vs ...string) predicate.Integration
- func OwnerIDIsNil() predicate.Integration
- func OwnerIDLT(v string) predicate.Integration
- func OwnerIDLTE(v string) predicate.Integration
- func OwnerIDNEQ(v string) predicate.Integration
- func OwnerIDNotIn(vs ...string) predicate.Integration
- func OwnerIDNotNil() predicate.Integration
- func TagsIsNil() predicate.Integration
- func TagsNotNil() predicate.Integration
- func UpdatedAt(v time.Time) predicate.Integration
- func UpdatedAtEQ(v time.Time) predicate.Integration
- func UpdatedAtGT(v time.Time) predicate.Integration
- func UpdatedAtGTE(v time.Time) predicate.Integration
- func UpdatedAtIn(vs ...time.Time) predicate.Integration
- func UpdatedAtIsNil() predicate.Integration
- func UpdatedAtLT(v time.Time) predicate.Integration
- func UpdatedAtLTE(v time.Time) predicate.Integration
- func UpdatedAtNEQ(v time.Time) predicate.Integration
- func UpdatedAtNotIn(vs ...time.Time) predicate.Integration
- func UpdatedAtNotNil() predicate.Integration
- func UpdatedBy(v string) predicate.Integration
- func UpdatedByContains(v string) predicate.Integration
- func UpdatedByContainsFold(v string) predicate.Integration
- func UpdatedByEQ(v string) predicate.Integration
- func UpdatedByEqualFold(v string) predicate.Integration
- func UpdatedByGT(v string) predicate.Integration
- func UpdatedByGTE(v string) predicate.Integration
- func UpdatedByHasPrefix(v string) predicate.Integration
- func UpdatedByHasSuffix(v string) predicate.Integration
- func UpdatedByIn(vs ...string) predicate.Integration
- func UpdatedByIsNil() predicate.Integration
- func UpdatedByLT(v string) predicate.Integration
- func UpdatedByLTE(v string) predicate.Integration
- func UpdatedByNEQ(v string) predicate.Integration
- func UpdatedByNotIn(vs ...string) predicate.Integration
- func UpdatedByNotNil() predicate.Integration
- func ValidColumn(column string) bool
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedBy(opts ...sql.OrderTermOption) OrderOption
- func ByDescription(opts ...sql.OrderTermOption) OrderOption
- func ByEvents(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByEventsCount(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByKind(opts ...sql.OrderTermOption) OrderOption
- func ByMappingID(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByOauth2tokens(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByOauth2tokensCount(opts ...sql.OrderTermOption) OrderOption
- func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByOwnerID(opts ...sql.OrderTermOption) OrderOption
- func BySecrets(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func BySecretsCount(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByWebhooks(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByWebhooksCount(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the integration type in the database. Label = "integration" // 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" // FieldCreatedBy holds the string denoting the created_by field in the database. FieldCreatedBy = "created_by" // FieldUpdatedBy holds the string denoting the updated_by field in the database. FieldUpdatedBy = "updated_by" // FieldMappingID holds the string denoting the mapping_id field in the database. FieldMappingID = "mapping_id" // FieldTags holds the string denoting the tags field in the database. FieldTags = "tags" // FieldDeletedAt holds the string denoting the deleted_at field in the database. FieldDeletedAt = "deleted_at" // FieldDeletedBy holds the string denoting the deleted_by field in the database. FieldDeletedBy = "deleted_by" // FieldOwnerID holds the string denoting the owner_id field in the database. FieldOwnerID = "owner_id" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // FieldKind holds the string denoting the kind field in the database. FieldKind = "kind" // EdgeOwner holds the string denoting the owner edge name in mutations. EdgeOwner = "owner" // EdgeSecrets holds the string denoting the secrets edge name in mutations. EdgeSecrets = "secrets" // EdgeOauth2tokens holds the string denoting the oauth2tokens edge name in mutations. EdgeOauth2tokens = "oauth2tokens" // EdgeEvents holds the string denoting the events edge name in mutations. EdgeEvents = "events" // EdgeWebhooks holds the string denoting the webhooks edge name in mutations. EdgeWebhooks = "webhooks" // Table holds the table name of the integration in the database. Table = "integrations" // OwnerTable is the table that holds the owner relation/edge. OwnerTable = "integrations" // OwnerInverseTable is the table name for the Organization entity. // It exists in this package in order to avoid circular dependency with the "organization" package. OwnerInverseTable = "organizations" // OwnerColumn is the table column denoting the owner relation/edge. OwnerColumn = "owner_id" // SecretsTable is the table that holds the secrets relation/edge. The primary key declared below. SecretsTable = "integration_secrets" // SecretsInverseTable is the table name for the Hush entity. // It exists in this package in order to avoid circular dependency with the "hush" package. SecretsInverseTable = "hushes" // Oauth2tokensTable is the table that holds the oauth2tokens relation/edge. The primary key declared below. Oauth2tokensTable = "integration_oauth2tokens" // Oauth2tokensInverseTable is the table name for the OhAuthTooToken entity. // It exists in this package in order to avoid circular dependency with the "ohauthtootoken" package. Oauth2tokensInverseTable = "oh_auth_too_tokens" // EventsTable is the table that holds the events relation/edge. The primary key declared below. EventsTable = "integration_events" // EventsInverseTable is the table name for the Event entity. // It exists in this package in order to avoid circular dependency with the "event" package. EventsInverseTable = "events" // WebhooksTable is the table that holds the webhooks relation/edge. The primary key declared below. WebhooksTable = "integration_webhooks" // WebhooksInverseTable is the table name for the Webhook entity. // It exists in this package in order to avoid circular dependency with the "webhook" package. WebhooksInverseTable = "webhooks" )
Variables ¶
var ( // SecretsPrimaryKey and SecretsColumn2 are the table columns denoting the // primary key for the secrets relation (M2M). SecretsPrimaryKey = []string{"integration_id", "hush_id"} // Oauth2tokensPrimaryKey and Oauth2tokensColumn2 are the table columns denoting the // primary key for the oauth2tokens relation (M2M). Oauth2tokensPrimaryKey = []string{"integration_id", "oh_auth_too_token_id"} // EventsPrimaryKey and EventsColumn2 are the table columns denoting the // primary key for the events relation (M2M). EventsPrimaryKey = []string{"integration_id", "event_id"} // WebhooksPrimaryKey and WebhooksColumn2 are the table columns denoting the // primary key for the webhooks relation (M2M). WebhooksPrimaryKey = []string{"integration_id", "webhook_id"} )
var ( Hooks [4]ent.Hook Interceptors [2]ent.Interceptor Policy ent.Policy // 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 // DefaultMappingID holds the default value on creation for the "mapping_id" field. DefaultMappingID func() string // DefaultTags holds the default value on creation for the "tags" field. DefaultTags []string // OwnerIDValidator is a validator for the "owner_id" field. It is called by the builders before save. OwnerIDValidator func(string) error // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // DefaultID holds the default value on creation for the "id" field. DefaultID func() string )
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/theopenlane/core/internal/ent/generated/runtime"
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldCreatedBy, FieldUpdatedBy, FieldMappingID, FieldTags, FieldDeletedAt, FieldDeletedBy, FieldOwnerID, FieldName, FieldDescription, FieldKind, }
Columns holds all SQL columns for integration fields.
var ForeignKeys = []string{
"group_integrations",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "integrations" table and are not defined as standalone fields in the schema.
Functions ¶
func And ¶
func And(predicates ...predicate.Integration) predicate.Integration
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.Integration
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.Integration
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.Integration
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.Integration
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.Integration
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtIsNil ¶
func CreatedAtIsNil() predicate.Integration
CreatedAtIsNil applies the IsNil predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.Integration
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.Integration
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.Integration
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.Integration
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedAtNotNil ¶
func CreatedAtNotNil() predicate.Integration
CreatedAtNotNil applies the NotNil predicate on the "created_at" field.
func CreatedBy ¶
func CreatedBy(v string) predicate.Integration
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByContains ¶
func CreatedByContains(v string) predicate.Integration
CreatedByContains applies the Contains predicate on the "created_by" field.
func CreatedByContainsFold ¶
func CreatedByContainsFold(v string) predicate.Integration
CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.
func CreatedByEQ ¶
func CreatedByEQ(v string) predicate.Integration
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByEqualFold ¶
func CreatedByEqualFold(v string) predicate.Integration
CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.
func CreatedByGT ¶
func CreatedByGT(v string) predicate.Integration
CreatedByGT applies the GT predicate on the "created_by" field.
func CreatedByGTE ¶
func CreatedByGTE(v string) predicate.Integration
CreatedByGTE applies the GTE predicate on the "created_by" field.
func CreatedByHasPrefix ¶
func CreatedByHasPrefix(v string) predicate.Integration
CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.
func CreatedByHasSuffix ¶
func CreatedByHasSuffix(v string) predicate.Integration
CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.
func CreatedByIn ¶
func CreatedByIn(vs ...string) predicate.Integration
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByIsNil ¶
func CreatedByIsNil() predicate.Integration
CreatedByIsNil applies the IsNil predicate on the "created_by" field.
func CreatedByLT ¶
func CreatedByLT(v string) predicate.Integration
CreatedByLT applies the LT predicate on the "created_by" field.
func CreatedByLTE ¶
func CreatedByLTE(v string) predicate.Integration
CreatedByLTE applies the LTE predicate on the "created_by" field.
func CreatedByNEQ ¶
func CreatedByNEQ(v string) predicate.Integration
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶
func CreatedByNotIn(vs ...string) predicate.Integration
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
func CreatedByNotNil ¶
func CreatedByNotNil() predicate.Integration
CreatedByNotNil applies the NotNil predicate on the "created_by" field.
func DeletedAt ¶
func DeletedAt(v time.Time) predicate.Integration
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
func DeletedAtEQ(v time.Time) predicate.Integration
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
func DeletedAtGT(v time.Time) predicate.Integration
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
func DeletedAtGTE(v time.Time) predicate.Integration
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
func DeletedAtIn(vs ...time.Time) predicate.Integration
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
func DeletedAtIsNil() predicate.Integration
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
func DeletedAtLT(v time.Time) predicate.Integration
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
func DeletedAtLTE(v time.Time) predicate.Integration
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
func DeletedAtNEQ(v time.Time) predicate.Integration
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
func DeletedAtNotIn(vs ...time.Time) predicate.Integration
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
func DeletedAtNotNil() predicate.Integration
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func DeletedBy ¶
func DeletedBy(v string) predicate.Integration
DeletedBy applies equality check predicate on the "deleted_by" field. It's identical to DeletedByEQ.
func DeletedByContains ¶
func DeletedByContains(v string) predicate.Integration
DeletedByContains applies the Contains predicate on the "deleted_by" field.
func DeletedByContainsFold ¶
func DeletedByContainsFold(v string) predicate.Integration
DeletedByContainsFold applies the ContainsFold predicate on the "deleted_by" field.
func DeletedByEQ ¶
func DeletedByEQ(v string) predicate.Integration
DeletedByEQ applies the EQ predicate on the "deleted_by" field.
func DeletedByEqualFold ¶
func DeletedByEqualFold(v string) predicate.Integration
DeletedByEqualFold applies the EqualFold predicate on the "deleted_by" field.
func DeletedByGT ¶
func DeletedByGT(v string) predicate.Integration
DeletedByGT applies the GT predicate on the "deleted_by" field.
func DeletedByGTE ¶
func DeletedByGTE(v string) predicate.Integration
DeletedByGTE applies the GTE predicate on the "deleted_by" field.
func DeletedByHasPrefix ¶
func DeletedByHasPrefix(v string) predicate.Integration
DeletedByHasPrefix applies the HasPrefix predicate on the "deleted_by" field.
func DeletedByHasSuffix ¶
func DeletedByHasSuffix(v string) predicate.Integration
DeletedByHasSuffix applies the HasSuffix predicate on the "deleted_by" field.
func DeletedByIn ¶
func DeletedByIn(vs ...string) predicate.Integration
DeletedByIn applies the In predicate on the "deleted_by" field.
func DeletedByIsNil ¶
func DeletedByIsNil() predicate.Integration
DeletedByIsNil applies the IsNil predicate on the "deleted_by" field.
func DeletedByLT ¶
func DeletedByLT(v string) predicate.Integration
DeletedByLT applies the LT predicate on the "deleted_by" field.
func DeletedByLTE ¶
func DeletedByLTE(v string) predicate.Integration
DeletedByLTE applies the LTE predicate on the "deleted_by" field.
func DeletedByNEQ ¶
func DeletedByNEQ(v string) predicate.Integration
DeletedByNEQ applies the NEQ predicate on the "deleted_by" field.
func DeletedByNotIn ¶
func DeletedByNotIn(vs ...string) predicate.Integration
DeletedByNotIn applies the NotIn predicate on the "deleted_by" field.
func DeletedByNotNil ¶
func DeletedByNotNil() predicate.Integration
DeletedByNotNil applies the NotNil predicate on the "deleted_by" field.
func Description ¶
func Description(v string) predicate.Integration
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
func DescriptionContains(v string) predicate.Integration
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
func DescriptionContainsFold(v string) predicate.Integration
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
func DescriptionEQ(v string) predicate.Integration
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
func DescriptionEqualFold(v string) predicate.Integration
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
func DescriptionGT(v string) predicate.Integration
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
func DescriptionGTE(v string) predicate.Integration
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
func DescriptionHasPrefix(v string) predicate.Integration
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
func DescriptionHasSuffix(v string) predicate.Integration
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
func DescriptionIn(vs ...string) predicate.Integration
DescriptionIn applies the In predicate on the "description" field.
func DescriptionIsNil ¶
func DescriptionIsNil() predicate.Integration
DescriptionIsNil applies the IsNil predicate on the "description" field.
func DescriptionLT ¶
func DescriptionLT(v string) predicate.Integration
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
func DescriptionLTE(v string) predicate.Integration
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
func DescriptionNEQ(v string) predicate.Integration
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
func DescriptionNotIn(vs ...string) predicate.Integration
DescriptionNotIn applies the NotIn predicate on the "description" field.
func DescriptionNotNil ¶
func DescriptionNotNil() predicate.Integration
DescriptionNotNil applies the NotNil predicate on the "description" field.
func HasEvents ¶
func HasEvents() predicate.Integration
HasEvents applies the HasEdge predicate on the "events" edge.
func HasEventsWith ¶
func HasEventsWith(preds ...predicate.Event) predicate.Integration
HasEventsWith applies the HasEdge predicate on the "events" edge with a given conditions (other predicates).
func HasOauth2tokens ¶
func HasOauth2tokens() predicate.Integration
HasOauth2tokens applies the HasEdge predicate on the "oauth2tokens" edge.
func HasOauth2tokensWith ¶
func HasOauth2tokensWith(preds ...predicate.OhAuthTooToken) predicate.Integration
HasOauth2tokensWith applies the HasEdge predicate on the "oauth2tokens" edge with a given conditions (other predicates).
func HasOwner ¶
func HasOwner() predicate.Integration
HasOwner applies the HasEdge predicate on the "owner" edge.
func HasOwnerWith ¶
func HasOwnerWith(preds ...predicate.Organization) predicate.Integration
HasOwnerWith applies the HasEdge predicate on the "owner" edge with a given conditions (other predicates).
func HasSecrets ¶
func HasSecrets() predicate.Integration
HasSecrets applies the HasEdge predicate on the "secrets" edge.
func HasSecretsWith ¶
func HasSecretsWith(preds ...predicate.Hush) predicate.Integration
HasSecretsWith applies the HasEdge predicate on the "secrets" edge with a given conditions (other predicates).
func HasWebhooks ¶
func HasWebhooks() predicate.Integration
HasWebhooks applies the HasEdge predicate on the "webhooks" edge.
func HasWebhooksWith ¶
func HasWebhooksWith(preds ...predicate.Webhook) predicate.Integration
HasWebhooksWith applies the HasEdge predicate on the "webhooks" edge with a given conditions (other predicates).
func IDContainsFold ¶
func IDContainsFold(id string) predicate.Integration
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEQ ¶
func IDEQ(id string) predicate.Integration
IDEQ applies the EQ predicate on the ID field.
func IDEqualFold ¶
func IDEqualFold(id string) predicate.Integration
IDEqualFold applies the EqualFold predicate on the ID field.
func IDGT ¶
func IDGT(id string) predicate.Integration
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id string) predicate.Integration
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...string) predicate.Integration
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id string) predicate.Integration
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id string) predicate.Integration
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id string) predicate.Integration
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...string) predicate.Integration
IDNotIn applies the NotIn predicate on the ID field.
func Kind ¶
func Kind(v string) predicate.Integration
Kind applies equality check predicate on the "kind" field. It's identical to KindEQ.
func KindContains ¶
func KindContains(v string) predicate.Integration
KindContains applies the Contains predicate on the "kind" field.
func KindContainsFold ¶
func KindContainsFold(v string) predicate.Integration
KindContainsFold applies the ContainsFold predicate on the "kind" field.
func KindEQ ¶
func KindEQ(v string) predicate.Integration
KindEQ applies the EQ predicate on the "kind" field.
func KindEqualFold ¶
func KindEqualFold(v string) predicate.Integration
KindEqualFold applies the EqualFold predicate on the "kind" field.
func KindGT ¶
func KindGT(v string) predicate.Integration
KindGT applies the GT predicate on the "kind" field.
func KindGTE ¶
func KindGTE(v string) predicate.Integration
KindGTE applies the GTE predicate on the "kind" field.
func KindHasPrefix ¶
func KindHasPrefix(v string) predicate.Integration
KindHasPrefix applies the HasPrefix predicate on the "kind" field.
func KindHasSuffix ¶
func KindHasSuffix(v string) predicate.Integration
KindHasSuffix applies the HasSuffix predicate on the "kind" field.
func KindIn ¶
func KindIn(vs ...string) predicate.Integration
KindIn applies the In predicate on the "kind" field.
func KindIsNil ¶
func KindIsNil() predicate.Integration
KindIsNil applies the IsNil predicate on the "kind" field.
func KindLT ¶
func KindLT(v string) predicate.Integration
KindLT applies the LT predicate on the "kind" field.
func KindLTE ¶
func KindLTE(v string) predicate.Integration
KindLTE applies the LTE predicate on the "kind" field.
func KindNEQ ¶
func KindNEQ(v string) predicate.Integration
KindNEQ applies the NEQ predicate on the "kind" field.
func KindNotIn ¶
func KindNotIn(vs ...string) predicate.Integration
KindNotIn applies the NotIn predicate on the "kind" field.
func KindNotNil ¶
func KindNotNil() predicate.Integration
KindNotNil applies the NotNil predicate on the "kind" field.
func MappingID ¶
func MappingID(v string) predicate.Integration
MappingID applies equality check predicate on the "mapping_id" field. It's identical to MappingIDEQ.
func MappingIDContains ¶
func MappingIDContains(v string) predicate.Integration
MappingIDContains applies the Contains predicate on the "mapping_id" field.
func MappingIDContainsFold ¶
func MappingIDContainsFold(v string) predicate.Integration
MappingIDContainsFold applies the ContainsFold predicate on the "mapping_id" field.
func MappingIDEQ ¶
func MappingIDEQ(v string) predicate.Integration
MappingIDEQ applies the EQ predicate on the "mapping_id" field.
func MappingIDEqualFold ¶
func MappingIDEqualFold(v string) predicate.Integration
MappingIDEqualFold applies the EqualFold predicate on the "mapping_id" field.
func MappingIDGT ¶
func MappingIDGT(v string) predicate.Integration
MappingIDGT applies the GT predicate on the "mapping_id" field.
func MappingIDGTE ¶
func MappingIDGTE(v string) predicate.Integration
MappingIDGTE applies the GTE predicate on the "mapping_id" field.
func MappingIDHasPrefix ¶
func MappingIDHasPrefix(v string) predicate.Integration
MappingIDHasPrefix applies the HasPrefix predicate on the "mapping_id" field.
func MappingIDHasSuffix ¶
func MappingIDHasSuffix(v string) predicate.Integration
MappingIDHasSuffix applies the HasSuffix predicate on the "mapping_id" field.
func MappingIDIn ¶
func MappingIDIn(vs ...string) predicate.Integration
MappingIDIn applies the In predicate on the "mapping_id" field.
func MappingIDLT ¶
func MappingIDLT(v string) predicate.Integration
MappingIDLT applies the LT predicate on the "mapping_id" field.
func MappingIDLTE ¶
func MappingIDLTE(v string) predicate.Integration
MappingIDLTE applies the LTE predicate on the "mapping_id" field.
func MappingIDNEQ ¶
func MappingIDNEQ(v string) predicate.Integration
MappingIDNEQ applies the NEQ predicate on the "mapping_id" field.
func MappingIDNotIn ¶
func MappingIDNotIn(vs ...string) predicate.Integration
MappingIDNotIn applies the NotIn predicate on the "mapping_id" field.
func Name ¶
func Name(v string) predicate.Integration
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
func NameContains ¶
func NameContains(v string) predicate.Integration
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
func NameContainsFold(v string) predicate.Integration
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEQ ¶
func NameEQ(v string) predicate.Integration
NameEQ applies the EQ predicate on the "name" field.
func NameEqualFold ¶
func NameEqualFold(v string) predicate.Integration
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameGT ¶
func NameGT(v string) predicate.Integration
NameGT applies the GT predicate on the "name" field.
func NameGTE ¶
func NameGTE(v string) predicate.Integration
NameGTE applies the GTE predicate on the "name" field.
func NameHasPrefix ¶
func NameHasPrefix(v string) predicate.Integration
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
func NameHasSuffix(v string) predicate.Integration
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameIn ¶
func NameIn(vs ...string) predicate.Integration
NameIn applies the In predicate on the "name" field.
func NameLT ¶
func NameLT(v string) predicate.Integration
NameLT applies the LT predicate on the "name" field.
func NameLTE ¶
func NameLTE(v string) predicate.Integration
NameLTE applies the LTE predicate on the "name" field.
func NameNEQ ¶
func NameNEQ(v string) predicate.Integration
NameNEQ applies the NEQ predicate on the "name" field.
func NameNotIn ¶
func NameNotIn(vs ...string) predicate.Integration
NameNotIn applies the NotIn predicate on the "name" field.
func Not ¶
func Not(p predicate.Integration) predicate.Integration
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.Integration) predicate.Integration
Or groups predicates with the OR operator between them.
func OwnerID ¶
func OwnerID(v string) predicate.Integration
OwnerID applies equality check predicate on the "owner_id" field. It's identical to OwnerIDEQ.
func OwnerIDContains ¶
func OwnerIDContains(v string) predicate.Integration
OwnerIDContains applies the Contains predicate on the "owner_id" field.
func OwnerIDContainsFold ¶
func OwnerIDContainsFold(v string) predicate.Integration
OwnerIDContainsFold applies the ContainsFold predicate on the "owner_id" field.
func OwnerIDEQ ¶
func OwnerIDEQ(v string) predicate.Integration
OwnerIDEQ applies the EQ predicate on the "owner_id" field.
func OwnerIDEqualFold ¶
func OwnerIDEqualFold(v string) predicate.Integration
OwnerIDEqualFold applies the EqualFold predicate on the "owner_id" field.
func OwnerIDGT ¶
func OwnerIDGT(v string) predicate.Integration
OwnerIDGT applies the GT predicate on the "owner_id" field.
func OwnerIDGTE ¶
func OwnerIDGTE(v string) predicate.Integration
OwnerIDGTE applies the GTE predicate on the "owner_id" field.
func OwnerIDHasPrefix ¶
func OwnerIDHasPrefix(v string) predicate.Integration
OwnerIDHasPrefix applies the HasPrefix predicate on the "owner_id" field.
func OwnerIDHasSuffix ¶
func OwnerIDHasSuffix(v string) predicate.Integration
OwnerIDHasSuffix applies the HasSuffix predicate on the "owner_id" field.
func OwnerIDIn ¶
func OwnerIDIn(vs ...string) predicate.Integration
OwnerIDIn applies the In predicate on the "owner_id" field.
func OwnerIDIsNil ¶
func OwnerIDIsNil() predicate.Integration
OwnerIDIsNil applies the IsNil predicate on the "owner_id" field.
func OwnerIDLT ¶
func OwnerIDLT(v string) predicate.Integration
OwnerIDLT applies the LT predicate on the "owner_id" field.
func OwnerIDLTE ¶
func OwnerIDLTE(v string) predicate.Integration
OwnerIDLTE applies the LTE predicate on the "owner_id" field.
func OwnerIDNEQ ¶
func OwnerIDNEQ(v string) predicate.Integration
OwnerIDNEQ applies the NEQ predicate on the "owner_id" field.
func OwnerIDNotIn ¶
func OwnerIDNotIn(vs ...string) predicate.Integration
OwnerIDNotIn applies the NotIn predicate on the "owner_id" field.
func OwnerIDNotNil ¶
func OwnerIDNotNil() predicate.Integration
OwnerIDNotNil applies the NotNil predicate on the "owner_id" field.
func TagsIsNil ¶
func TagsIsNil() predicate.Integration
TagsIsNil applies the IsNil predicate on the "tags" field.
func TagsNotNil ¶
func TagsNotNil() predicate.Integration
TagsNotNil applies the NotNil predicate on the "tags" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.Integration
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.Integration
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.Integration
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.Integration
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.Integration
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIsNil ¶
func UpdatedAtIsNil() predicate.Integration
UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.Integration
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.Integration
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.Integration
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.Integration
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotNil ¶
func UpdatedAtNotNil() predicate.Integration
UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.
func UpdatedBy ¶
func UpdatedBy(v string) predicate.Integration
UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.
func UpdatedByContains ¶
func UpdatedByContains(v string) predicate.Integration
UpdatedByContains applies the Contains predicate on the "updated_by" field.
func UpdatedByContainsFold ¶
func UpdatedByContainsFold(v string) predicate.Integration
UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.
func UpdatedByEQ ¶
func UpdatedByEQ(v string) predicate.Integration
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
func UpdatedByEqualFold ¶
func UpdatedByEqualFold(v string) predicate.Integration
UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.
func UpdatedByGT ¶
func UpdatedByGT(v string) predicate.Integration
UpdatedByGT applies the GT predicate on the "updated_by" field.
func UpdatedByGTE ¶
func UpdatedByGTE(v string) predicate.Integration
UpdatedByGTE applies the GTE predicate on the "updated_by" field.
func UpdatedByHasPrefix ¶
func UpdatedByHasPrefix(v string) predicate.Integration
UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.
func UpdatedByHasSuffix ¶
func UpdatedByHasSuffix(v string) predicate.Integration
UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.
func UpdatedByIn ¶
func UpdatedByIn(vs ...string) predicate.Integration
UpdatedByIn applies the In predicate on the "updated_by" field.
func UpdatedByIsNil ¶
func UpdatedByIsNil() predicate.Integration
UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.
func UpdatedByLT ¶
func UpdatedByLT(v string) predicate.Integration
UpdatedByLT applies the LT predicate on the "updated_by" field.
func UpdatedByLTE ¶
func UpdatedByLTE(v string) predicate.Integration
UpdatedByLTE applies the LTE predicate on the "updated_by" field.
func UpdatedByNEQ ¶
func UpdatedByNEQ(v string) predicate.Integration
UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.
func UpdatedByNotIn ¶
func UpdatedByNotIn(vs ...string) predicate.Integration
UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.
func UpdatedByNotNil ¶
func UpdatedByNotNil() predicate.Integration
UpdatedByNotNil applies the NotNil predicate on the "updated_by" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the Integration queries.
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 ByDeletedAt ¶
func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
ByDeletedAt orders the results by the deleted_at field.
func ByDeletedBy ¶
func ByDeletedBy(opts ...sql.OrderTermOption) OrderOption
ByDeletedBy orders the results by the deleted_by field.
func ByDescription ¶
func ByDescription(opts ...sql.OrderTermOption) OrderOption
ByDescription orders the results by the description field.
func ByEvents ¶
func ByEvents(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByEvents orders the results by events terms.
func ByEventsCount ¶
func ByEventsCount(opts ...sql.OrderTermOption) OrderOption
ByEventsCount orders the results by events count.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByKind ¶
func ByKind(opts ...sql.OrderTermOption) OrderOption
ByKind orders the results by the kind field.
func ByMappingID ¶
func ByMappingID(opts ...sql.OrderTermOption) OrderOption
ByMappingID orders the results by the mapping_id field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByOauth2tokens ¶
func ByOauth2tokens(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByOauth2tokens orders the results by oauth2tokens terms.
func ByOauth2tokensCount ¶
func ByOauth2tokensCount(opts ...sql.OrderTermOption) OrderOption
ByOauth2tokensCount orders the results by oauth2tokens count.
func ByOwnerField ¶
func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption
ByOwnerField orders the results by owner field.
func ByOwnerID ¶
func ByOwnerID(opts ...sql.OrderTermOption) OrderOption
ByOwnerID orders the results by the owner_id field.
func BySecrets ¶
func BySecrets(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
BySecrets orders the results by secrets terms.
func BySecretsCount ¶
func BySecretsCount(opts ...sql.OrderTermOption) OrderOption
BySecretsCount orders the results by secrets count.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByUpdatedBy ¶
func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
ByUpdatedBy orders the results by the updated_by field.
func ByWebhooks ¶
func ByWebhooks(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByWebhooks orders the results by webhooks terms.
func ByWebhooksCount ¶
func ByWebhooksCount(opts ...sql.OrderTermOption) OrderOption
ByWebhooksCount orders the results by webhooks count.