Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Webhook) predicate.Webhook
- func Callback(v string) predicate.Webhook
- func CallbackContains(v string) predicate.Webhook
- func CallbackContainsFold(v string) predicate.Webhook
- func CallbackEQ(v string) predicate.Webhook
- func CallbackEqualFold(v string) predicate.Webhook
- func CallbackGT(v string) predicate.Webhook
- func CallbackGTE(v string) predicate.Webhook
- func CallbackHasPrefix(v string) predicate.Webhook
- func CallbackHasSuffix(v string) predicate.Webhook
- func CallbackIn(vs ...string) predicate.Webhook
- func CallbackIsNil() predicate.Webhook
- func CallbackLT(v string) predicate.Webhook
- func CallbackLTE(v string) predicate.Webhook
- func CallbackNEQ(v string) predicate.Webhook
- func CallbackNotIn(vs ...string) predicate.Webhook
- func CallbackNotNil() predicate.Webhook
- func CreatedAt(v time.Time) predicate.Webhook
- func CreatedAtEQ(v time.Time) predicate.Webhook
- func CreatedAtGT(v time.Time) predicate.Webhook
- func CreatedAtGTE(v time.Time) predicate.Webhook
- func CreatedAtIn(vs ...time.Time) predicate.Webhook
- func CreatedAtIsNil() predicate.Webhook
- func CreatedAtLT(v time.Time) predicate.Webhook
- func CreatedAtLTE(v time.Time) predicate.Webhook
- func CreatedAtNEQ(v time.Time) predicate.Webhook
- func CreatedAtNotIn(vs ...time.Time) predicate.Webhook
- func CreatedAtNotNil() predicate.Webhook
- func CreatedBy(v string) predicate.Webhook
- func CreatedByContains(v string) predicate.Webhook
- func CreatedByContainsFold(v string) predicate.Webhook
- func CreatedByEQ(v string) predicate.Webhook
- func CreatedByEqualFold(v string) predicate.Webhook
- func CreatedByGT(v string) predicate.Webhook
- func CreatedByGTE(v string) predicate.Webhook
- func CreatedByHasPrefix(v string) predicate.Webhook
- func CreatedByHasSuffix(v string) predicate.Webhook
- func CreatedByIn(vs ...string) predicate.Webhook
- func CreatedByIsNil() predicate.Webhook
- func CreatedByLT(v string) predicate.Webhook
- func CreatedByLTE(v string) predicate.Webhook
- func CreatedByNEQ(v string) predicate.Webhook
- func CreatedByNotIn(vs ...string) predicate.Webhook
- func CreatedByNotNil() predicate.Webhook
- func DeletedAt(v time.Time) predicate.Webhook
- func DeletedAtEQ(v time.Time) predicate.Webhook
- func DeletedAtGT(v time.Time) predicate.Webhook
- func DeletedAtGTE(v time.Time) predicate.Webhook
- func DeletedAtIn(vs ...time.Time) predicate.Webhook
- func DeletedAtIsNil() predicate.Webhook
- func DeletedAtLT(v time.Time) predicate.Webhook
- func DeletedAtLTE(v time.Time) predicate.Webhook
- func DeletedAtNEQ(v time.Time) predicate.Webhook
- func DeletedAtNotIn(vs ...time.Time) predicate.Webhook
- func DeletedAtNotNil() predicate.Webhook
- func DeletedBy(v string) predicate.Webhook
- func DeletedByContains(v string) predicate.Webhook
- func DeletedByContainsFold(v string) predicate.Webhook
- func DeletedByEQ(v string) predicate.Webhook
- func DeletedByEqualFold(v string) predicate.Webhook
- func DeletedByGT(v string) predicate.Webhook
- func DeletedByGTE(v string) predicate.Webhook
- func DeletedByHasPrefix(v string) predicate.Webhook
- func DeletedByHasSuffix(v string) predicate.Webhook
- func DeletedByIn(vs ...string) predicate.Webhook
- func DeletedByIsNil() predicate.Webhook
- func DeletedByLT(v string) predicate.Webhook
- func DeletedByLTE(v string) predicate.Webhook
- func DeletedByNEQ(v string) predicate.Webhook
- func DeletedByNotIn(vs ...string) predicate.Webhook
- func DeletedByNotNil() predicate.Webhook
- func Description(v string) predicate.Webhook
- func DescriptionContains(v string) predicate.Webhook
- func DescriptionContainsFold(v string) predicate.Webhook
- func DescriptionEQ(v string) predicate.Webhook
- func DescriptionEqualFold(v string) predicate.Webhook
- func DescriptionGT(v string) predicate.Webhook
- func DescriptionGTE(v string) predicate.Webhook
- func DescriptionHasPrefix(v string) predicate.Webhook
- func DescriptionHasSuffix(v string) predicate.Webhook
- func DescriptionIn(vs ...string) predicate.Webhook
- func DescriptionIsNil() predicate.Webhook
- func DescriptionLT(v string) predicate.Webhook
- func DescriptionLTE(v string) predicate.Webhook
- func DescriptionNEQ(v string) predicate.Webhook
- func DescriptionNotIn(vs ...string) predicate.Webhook
- func DescriptionNotNil() predicate.Webhook
- func DestinationURL(v string) predicate.Webhook
- func DestinationURLContains(v string) predicate.Webhook
- func DestinationURLContainsFold(v string) predicate.Webhook
- func DestinationURLEQ(v string) predicate.Webhook
- func DestinationURLEqualFold(v string) predicate.Webhook
- func DestinationURLGT(v string) predicate.Webhook
- func DestinationURLGTE(v string) predicate.Webhook
- func DestinationURLHasPrefix(v string) predicate.Webhook
- func DestinationURLHasSuffix(v string) predicate.Webhook
- func DestinationURLIn(vs ...string) predicate.Webhook
- func DestinationURLLT(v string) predicate.Webhook
- func DestinationURLLTE(v string) predicate.Webhook
- func DestinationURLNEQ(v string) predicate.Webhook
- func DestinationURLNotIn(vs ...string) predicate.Webhook
- func Enabled(v bool) predicate.Webhook
- func EnabledEQ(v bool) predicate.Webhook
- func EnabledNEQ(v bool) predicate.Webhook
- func ExpiresAt(v time.Time) predicate.Webhook
- func ExpiresAtEQ(v time.Time) predicate.Webhook
- func ExpiresAtGT(v time.Time) predicate.Webhook
- func ExpiresAtGTE(v time.Time) predicate.Webhook
- func ExpiresAtIn(vs ...time.Time) predicate.Webhook
- func ExpiresAtIsNil() predicate.Webhook
- func ExpiresAtLT(v time.Time) predicate.Webhook
- func ExpiresAtLTE(v time.Time) predicate.Webhook
- func ExpiresAtNEQ(v time.Time) predicate.Webhook
- func ExpiresAtNotIn(vs ...time.Time) predicate.Webhook
- func ExpiresAtNotNil() predicate.Webhook
- func Failures(v int) predicate.Webhook
- func FailuresEQ(v int) predicate.Webhook
- func FailuresGT(v int) predicate.Webhook
- func FailuresGTE(v int) predicate.Webhook
- func FailuresIn(vs ...int) predicate.Webhook
- func FailuresIsNil() predicate.Webhook
- func FailuresLT(v int) predicate.Webhook
- func FailuresLTE(v int) predicate.Webhook
- func FailuresNEQ(v int) predicate.Webhook
- func FailuresNotIn(vs ...int) predicate.Webhook
- func FailuresNotNil() predicate.Webhook
- func HasEvents() predicate.Webhook
- func HasEventsWith(preds ...predicate.Event) predicate.Webhook
- func HasIntegrations() predicate.Webhook
- func HasIntegrationsWith(preds ...predicate.Integration) predicate.Webhook
- func HasOwner() predicate.Webhook
- func HasOwnerWith(preds ...predicate.Organization) predicate.Webhook
- func ID(id string) predicate.Webhook
- func IDContainsFold(id string) predicate.Webhook
- func IDEQ(id string) predicate.Webhook
- func IDEqualFold(id string) predicate.Webhook
- func IDGT(id string) predicate.Webhook
- func IDGTE(id string) predicate.Webhook
- func IDIn(ids ...string) predicate.Webhook
- func IDLT(id string) predicate.Webhook
- func IDLTE(id string) predicate.Webhook
- func IDNEQ(id string) predicate.Webhook
- func IDNotIn(ids ...string) predicate.Webhook
- func LastError(v string) predicate.Webhook
- func LastErrorContains(v string) predicate.Webhook
- func LastErrorContainsFold(v string) predicate.Webhook
- func LastErrorEQ(v string) predicate.Webhook
- func LastErrorEqualFold(v string) predicate.Webhook
- func LastErrorGT(v string) predicate.Webhook
- func LastErrorGTE(v string) predicate.Webhook
- func LastErrorHasPrefix(v string) predicate.Webhook
- func LastErrorHasSuffix(v string) predicate.Webhook
- func LastErrorIn(vs ...string) predicate.Webhook
- func LastErrorIsNil() predicate.Webhook
- func LastErrorLT(v string) predicate.Webhook
- func LastErrorLTE(v string) predicate.Webhook
- func LastErrorNEQ(v string) predicate.Webhook
- func LastErrorNotIn(vs ...string) predicate.Webhook
- func LastErrorNotNil() predicate.Webhook
- func LastResponse(v string) predicate.Webhook
- func LastResponseContains(v string) predicate.Webhook
- func LastResponseContainsFold(v string) predicate.Webhook
- func LastResponseEQ(v string) predicate.Webhook
- func LastResponseEqualFold(v string) predicate.Webhook
- func LastResponseGT(v string) predicate.Webhook
- func LastResponseGTE(v string) predicate.Webhook
- func LastResponseHasPrefix(v string) predicate.Webhook
- func LastResponseHasSuffix(v string) predicate.Webhook
- func LastResponseIn(vs ...string) predicate.Webhook
- func LastResponseIsNil() predicate.Webhook
- func LastResponseLT(v string) predicate.Webhook
- func LastResponseLTE(v string) predicate.Webhook
- func LastResponseNEQ(v string) predicate.Webhook
- func LastResponseNotIn(vs ...string) predicate.Webhook
- func LastResponseNotNil() predicate.Webhook
- func MappingID(v string) predicate.Webhook
- func MappingIDContains(v string) predicate.Webhook
- func MappingIDContainsFold(v string) predicate.Webhook
- func MappingIDEQ(v string) predicate.Webhook
- func MappingIDEqualFold(v string) predicate.Webhook
- func MappingIDGT(v string) predicate.Webhook
- func MappingIDGTE(v string) predicate.Webhook
- func MappingIDHasPrefix(v string) predicate.Webhook
- func MappingIDHasSuffix(v string) predicate.Webhook
- func MappingIDIn(vs ...string) predicate.Webhook
- func MappingIDLT(v string) predicate.Webhook
- func MappingIDLTE(v string) predicate.Webhook
- func MappingIDNEQ(v string) predicate.Webhook
- func MappingIDNotIn(vs ...string) predicate.Webhook
- func Name(v string) predicate.Webhook
- func NameContains(v string) predicate.Webhook
- func NameContainsFold(v string) predicate.Webhook
- func NameEQ(v string) predicate.Webhook
- func NameEqualFold(v string) predicate.Webhook
- func NameGT(v string) predicate.Webhook
- func NameGTE(v string) predicate.Webhook
- func NameHasPrefix(v string) predicate.Webhook
- func NameHasSuffix(v string) predicate.Webhook
- func NameIn(vs ...string) predicate.Webhook
- func NameLT(v string) predicate.Webhook
- func NameLTE(v string) predicate.Webhook
- func NameNEQ(v string) predicate.Webhook
- func NameNotIn(vs ...string) predicate.Webhook
- func Not(p predicate.Webhook) predicate.Webhook
- func Or(predicates ...predicate.Webhook) predicate.Webhook
- func OwnerID(v string) predicate.Webhook
- func OwnerIDContains(v string) predicate.Webhook
- func OwnerIDContainsFold(v string) predicate.Webhook
- func OwnerIDEQ(v string) predicate.Webhook
- func OwnerIDEqualFold(v string) predicate.Webhook
- func OwnerIDGT(v string) predicate.Webhook
- func OwnerIDGTE(v string) predicate.Webhook
- func OwnerIDHasPrefix(v string) predicate.Webhook
- func OwnerIDHasSuffix(v string) predicate.Webhook
- func OwnerIDIn(vs ...string) predicate.Webhook
- func OwnerIDIsNil() predicate.Webhook
- func OwnerIDLT(v string) predicate.Webhook
- func OwnerIDLTE(v string) predicate.Webhook
- func OwnerIDNEQ(v string) predicate.Webhook
- func OwnerIDNotIn(vs ...string) predicate.Webhook
- func OwnerIDNotNil() predicate.Webhook
- func Secret(v []byte) predicate.Webhook
- func SecretEQ(v []byte) predicate.Webhook
- func SecretGT(v []byte) predicate.Webhook
- func SecretGTE(v []byte) predicate.Webhook
- func SecretIn(vs ...[]byte) predicate.Webhook
- func SecretIsNil() predicate.Webhook
- func SecretLT(v []byte) predicate.Webhook
- func SecretLTE(v []byte) predicate.Webhook
- func SecretNEQ(v []byte) predicate.Webhook
- func SecretNotIn(vs ...[]byte) predicate.Webhook
- func SecretNotNil() predicate.Webhook
- func TagsIsNil() predicate.Webhook
- func TagsNotNil() predicate.Webhook
- func UpdatedAt(v time.Time) predicate.Webhook
- func UpdatedAtEQ(v time.Time) predicate.Webhook
- func UpdatedAtGT(v time.Time) predicate.Webhook
- func UpdatedAtGTE(v time.Time) predicate.Webhook
- func UpdatedAtIn(vs ...time.Time) predicate.Webhook
- func UpdatedAtIsNil() predicate.Webhook
- func UpdatedAtLT(v time.Time) predicate.Webhook
- func UpdatedAtLTE(v time.Time) predicate.Webhook
- func UpdatedAtNEQ(v time.Time) predicate.Webhook
- func UpdatedAtNotIn(vs ...time.Time) predicate.Webhook
- func UpdatedAtNotNil() predicate.Webhook
- func UpdatedBy(v string) predicate.Webhook
- func UpdatedByContains(v string) predicate.Webhook
- func UpdatedByContainsFold(v string) predicate.Webhook
- func UpdatedByEQ(v string) predicate.Webhook
- func UpdatedByEqualFold(v string) predicate.Webhook
- func UpdatedByGT(v string) predicate.Webhook
- func UpdatedByGTE(v string) predicate.Webhook
- func UpdatedByHasPrefix(v string) predicate.Webhook
- func UpdatedByHasSuffix(v string) predicate.Webhook
- func UpdatedByIn(vs ...string) predicate.Webhook
- func UpdatedByIsNil() predicate.Webhook
- func UpdatedByLT(v string) predicate.Webhook
- func UpdatedByLTE(v string) predicate.Webhook
- func UpdatedByNEQ(v string) predicate.Webhook
- func UpdatedByNotIn(vs ...string) predicate.Webhook
- func UpdatedByNotNil() predicate.Webhook
- func ValidColumn(column string) bool
- type OrderOption
- func ByCallback(opts ...sql.OrderTermOption) 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 ByDestinationURL(opts ...sql.OrderTermOption) OrderOption
- func ByEnabled(opts ...sql.OrderTermOption) OrderOption
- func ByEvents(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByEventsCount(opts ...sql.OrderTermOption) OrderOption
- func ByExpiresAt(opts ...sql.OrderTermOption) OrderOption
- func ByFailures(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIntegrations(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByIntegrationsCount(opts ...sql.OrderTermOption) OrderOption
- func ByLastError(opts ...sql.OrderTermOption) OrderOption
- func ByLastResponse(opts ...sql.OrderTermOption) OrderOption
- func ByMappingID(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByOwnerID(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the webhook type in the database. Label = "webhook" // 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" // FieldDestinationURL holds the string denoting the destination_url field in the database. FieldDestinationURL = "destination_url" // FieldEnabled holds the string denoting the enabled field in the database. FieldEnabled = "enabled" // FieldCallback holds the string denoting the callback field in the database. FieldCallback = "callback" // FieldExpiresAt holds the string denoting the expires_at field in the database. FieldExpiresAt = "expires_at" // FieldSecret holds the string denoting the secret field in the database. FieldSecret = "secret" // FieldFailures holds the string denoting the failures field in the database. FieldFailures = "failures" // FieldLastError holds the string denoting the last_error field in the database. FieldLastError = "last_error" // FieldLastResponse holds the string denoting the last_response field in the database. FieldLastResponse = "last_response" // EdgeOwner holds the string denoting the owner edge name in mutations. EdgeOwner = "owner" // EdgeEvents holds the string denoting the events edge name in mutations. EdgeEvents = "events" // EdgeIntegrations holds the string denoting the integrations edge name in mutations. EdgeIntegrations = "integrations" // Table holds the table name of the webhook in the database. Table = "webhooks" // OwnerTable is the table that holds the owner relation/edge. OwnerTable = "webhooks" // 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" // EventsTable is the table that holds the events relation/edge. The primary key declared below. EventsTable = "webhook_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" // IntegrationsTable is the table that holds the integrations relation/edge. The primary key declared below. IntegrationsTable = "integration_webhooks" // IntegrationsInverseTable is the table name for the Integration entity. // It exists in this package in order to avoid circular dependency with the "integration" package. IntegrationsInverseTable = "integrations" )
Variables ¶
var ( // EventsPrimaryKey and EventsColumn2 are the table columns denoting the // primary key for the events relation (M2M). EventsPrimaryKey = []string{"webhook_id", "event_id"} // IntegrationsPrimaryKey and IntegrationsColumn2 are the table columns denoting the // primary key for the integrations relation (M2M). IntegrationsPrimaryKey = []string{"integration_id", "webhook_id"} )
var ( Hooks [2]ent.Hook Interceptors [1]ent.Interceptor // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() time.Time // UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field. UpdateDefaultUpdatedAt func() time.Time // 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 // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // DestinationURLValidator is a validator for the "destination_url" field. It is called by the builders before save. DestinationURLValidator func(string) error // DefaultEnabled holds the default value on creation for the "enabled" field. DefaultEnabled bool // DefaultFailures holds the default value on creation for the "failures" field. DefaultFailures int // 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, FieldDestinationURL, FieldEnabled, FieldCallback, FieldExpiresAt, FieldSecret, FieldFailures, FieldLastError, FieldLastResponse, }
Columns holds all SQL columns for webhook fields.
Functions ¶
func Callback ¶
Callback applies equality check predicate on the "callback" field. It's identical to CallbackEQ.
func CallbackContains ¶
CallbackContains applies the Contains predicate on the "callback" field.
func CallbackContainsFold ¶
CallbackContainsFold applies the ContainsFold predicate on the "callback" field.
func CallbackEQ ¶
CallbackEQ applies the EQ predicate on the "callback" field.
func CallbackEqualFold ¶
CallbackEqualFold applies the EqualFold predicate on the "callback" field.
func CallbackGT ¶
CallbackGT applies the GT predicate on the "callback" field.
func CallbackGTE ¶
CallbackGTE applies the GTE predicate on the "callback" field.
func CallbackHasPrefix ¶
CallbackHasPrefix applies the HasPrefix predicate on the "callback" field.
func CallbackHasSuffix ¶
CallbackHasSuffix applies the HasSuffix predicate on the "callback" field.
func CallbackIn ¶
CallbackIn applies the In predicate on the "callback" field.
func CallbackIsNil ¶
CallbackIsNil applies the IsNil predicate on the "callback" field.
func CallbackLT ¶
CallbackLT applies the LT predicate on the "callback" field.
func CallbackLTE ¶
CallbackLTE applies the LTE predicate on the "callback" field.
func CallbackNEQ ¶
CallbackNEQ applies the NEQ predicate on the "callback" field.
func CallbackNotIn ¶
CallbackNotIn applies the NotIn predicate on the "callback" field.
func CallbackNotNil ¶
CallbackNotNil applies the NotNil predicate on the "callback" 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 CreatedAtIsNil ¶
CreatedAtIsNil applies the IsNil 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 CreatedAtNotNil ¶
CreatedAtNotNil applies the NotNil predicate on the "created_at" field.
func CreatedBy ¶
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByContains ¶
CreatedByContains applies the Contains predicate on the "created_by" field.
func CreatedByContainsFold ¶
CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.
func CreatedByEQ ¶
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByEqualFold ¶
CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.
func CreatedByGT ¶
CreatedByGT applies the GT predicate on the "created_by" field.
func CreatedByGTE ¶
CreatedByGTE applies the GTE predicate on the "created_by" field.
func CreatedByHasPrefix ¶
CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.
func CreatedByHasSuffix ¶
CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.
func CreatedByIn ¶
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByIsNil ¶
CreatedByIsNil applies the IsNil predicate on the "created_by" field.
func CreatedByLT ¶
CreatedByLT applies the LT predicate on the "created_by" field.
func CreatedByLTE ¶
CreatedByLTE applies the LTE 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 CreatedByNotNil ¶
CreatedByNotNil applies the NotNil predicate on the "created_by" field.
func DeletedAt ¶
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func DeletedBy ¶
DeletedBy applies equality check predicate on the "deleted_by" field. It's identical to DeletedByEQ.
func DeletedByContains ¶
DeletedByContains applies the Contains predicate on the "deleted_by" field.
func DeletedByContainsFold ¶
DeletedByContainsFold applies the ContainsFold predicate on the "deleted_by" field.
func DeletedByEQ ¶
DeletedByEQ applies the EQ predicate on the "deleted_by" field.
func DeletedByEqualFold ¶
DeletedByEqualFold applies the EqualFold predicate on the "deleted_by" field.
func DeletedByGT ¶
DeletedByGT applies the GT predicate on the "deleted_by" field.
func DeletedByGTE ¶
DeletedByGTE applies the GTE predicate on the "deleted_by" field.
func DeletedByHasPrefix ¶
DeletedByHasPrefix applies the HasPrefix predicate on the "deleted_by" field.
func DeletedByHasSuffix ¶
DeletedByHasSuffix applies the HasSuffix predicate on the "deleted_by" field.
func DeletedByIn ¶
DeletedByIn applies the In predicate on the "deleted_by" field.
func DeletedByIsNil ¶
DeletedByIsNil applies the IsNil predicate on the "deleted_by" field.
func DeletedByLT ¶
DeletedByLT applies the LT predicate on the "deleted_by" field.
func DeletedByLTE ¶
DeletedByLTE applies the LTE predicate on the "deleted_by" field.
func DeletedByNEQ ¶
DeletedByNEQ applies the NEQ predicate on the "deleted_by" field.
func DeletedByNotIn ¶
DeletedByNotIn applies the NotIn predicate on the "deleted_by" field.
func DeletedByNotNil ¶
DeletedByNotNil applies the NotNil predicate on the "deleted_by" field.
func Description ¶
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
DescriptionIn applies the In predicate on the "description" field.
func DescriptionIsNil ¶
DescriptionIsNil applies the IsNil predicate on the "description" field.
func DescriptionLT ¶
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
DescriptionNotIn applies the NotIn predicate on the "description" field.
func DescriptionNotNil ¶
DescriptionNotNil applies the NotNil predicate on the "description" field.
func DestinationURL ¶
DestinationURL applies equality check predicate on the "destination_url" field. It's identical to DestinationURLEQ.
func DestinationURLContains ¶
DestinationURLContains applies the Contains predicate on the "destination_url" field.
func DestinationURLContainsFold ¶
DestinationURLContainsFold applies the ContainsFold predicate on the "destination_url" field.
func DestinationURLEQ ¶
DestinationURLEQ applies the EQ predicate on the "destination_url" field.
func DestinationURLEqualFold ¶
DestinationURLEqualFold applies the EqualFold predicate on the "destination_url" field.
func DestinationURLGT ¶
DestinationURLGT applies the GT predicate on the "destination_url" field.
func DestinationURLGTE ¶
DestinationURLGTE applies the GTE predicate on the "destination_url" field.
func DestinationURLHasPrefix ¶
DestinationURLHasPrefix applies the HasPrefix predicate on the "destination_url" field.
func DestinationURLHasSuffix ¶
DestinationURLHasSuffix applies the HasSuffix predicate on the "destination_url" field.
func DestinationURLIn ¶
DestinationURLIn applies the In predicate on the "destination_url" field.
func DestinationURLLT ¶
DestinationURLLT applies the LT predicate on the "destination_url" field.
func DestinationURLLTE ¶
DestinationURLLTE applies the LTE predicate on the "destination_url" field.
func DestinationURLNEQ ¶
DestinationURLNEQ applies the NEQ predicate on the "destination_url" field.
func DestinationURLNotIn ¶
DestinationURLNotIn applies the NotIn predicate on the "destination_url" field.
func Enabled ¶
Enabled applies equality check predicate on the "enabled" field. It's identical to EnabledEQ.
func EnabledNEQ ¶
EnabledNEQ applies the NEQ predicate on the "enabled" field.
func ExpiresAt ¶
ExpiresAt applies equality check predicate on the "expires_at" field. It's identical to ExpiresAtEQ.
func ExpiresAtEQ ¶
ExpiresAtEQ applies the EQ predicate on the "expires_at" field.
func ExpiresAtGT ¶
ExpiresAtGT applies the GT predicate on the "expires_at" field.
func ExpiresAtGTE ¶
ExpiresAtGTE applies the GTE predicate on the "expires_at" field.
func ExpiresAtIn ¶
ExpiresAtIn applies the In predicate on the "expires_at" field.
func ExpiresAtIsNil ¶
ExpiresAtIsNil applies the IsNil predicate on the "expires_at" field.
func ExpiresAtLT ¶
ExpiresAtLT applies the LT predicate on the "expires_at" field.
func ExpiresAtLTE ¶
ExpiresAtLTE applies the LTE predicate on the "expires_at" field.
func ExpiresAtNEQ ¶
ExpiresAtNEQ applies the NEQ predicate on the "expires_at" field.
func ExpiresAtNotIn ¶
ExpiresAtNotIn applies the NotIn predicate on the "expires_at" field.
func ExpiresAtNotNil ¶
ExpiresAtNotNil applies the NotNil predicate on the "expires_at" field.
func Failures ¶
Failures applies equality check predicate on the "failures" field. It's identical to FailuresEQ.
func FailuresEQ ¶
FailuresEQ applies the EQ predicate on the "failures" field.
func FailuresGT ¶
FailuresGT applies the GT predicate on the "failures" field.
func FailuresGTE ¶
FailuresGTE applies the GTE predicate on the "failures" field.
func FailuresIn ¶
FailuresIn applies the In predicate on the "failures" field.
func FailuresIsNil ¶
FailuresIsNil applies the IsNil predicate on the "failures" field.
func FailuresLT ¶
FailuresLT applies the LT predicate on the "failures" field.
func FailuresLTE ¶
FailuresLTE applies the LTE predicate on the "failures" field.
func FailuresNEQ ¶
FailuresNEQ applies the NEQ predicate on the "failures" field.
func FailuresNotIn ¶
FailuresNotIn applies the NotIn predicate on the "failures" field.
func FailuresNotNil ¶
FailuresNotNil applies the NotNil predicate on the "failures" field.
func HasEventsWith ¶
HasEventsWith applies the HasEdge predicate on the "events" edge with a given conditions (other predicates).
func HasIntegrations ¶
HasIntegrations applies the HasEdge predicate on the "integrations" edge.
func HasIntegrationsWith ¶
func HasIntegrationsWith(preds ...predicate.Integration) predicate.Webhook
HasIntegrationsWith applies the HasEdge predicate on the "integrations" edge with a given conditions (other predicates).
func HasOwnerWith ¶
func HasOwnerWith(preds ...predicate.Organization) predicate.Webhook
HasOwnerWith applies the HasEdge predicate on the "owner" edge with a given conditions (other predicates).
func IDContainsFold ¶
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEqualFold ¶
IDEqualFold applies the EqualFold predicate on the ID field.
func LastError ¶
LastError applies equality check predicate on the "last_error" field. It's identical to LastErrorEQ.
func LastErrorContains ¶
LastErrorContains applies the Contains predicate on the "last_error" field.
func LastErrorContainsFold ¶
LastErrorContainsFold applies the ContainsFold predicate on the "last_error" field.
func LastErrorEQ ¶
LastErrorEQ applies the EQ predicate on the "last_error" field.
func LastErrorEqualFold ¶
LastErrorEqualFold applies the EqualFold predicate on the "last_error" field.
func LastErrorGT ¶
LastErrorGT applies the GT predicate on the "last_error" field.
func LastErrorGTE ¶
LastErrorGTE applies the GTE predicate on the "last_error" field.
func LastErrorHasPrefix ¶
LastErrorHasPrefix applies the HasPrefix predicate on the "last_error" field.
func LastErrorHasSuffix ¶
LastErrorHasSuffix applies the HasSuffix predicate on the "last_error" field.
func LastErrorIn ¶
LastErrorIn applies the In predicate on the "last_error" field.
func LastErrorIsNil ¶
LastErrorIsNil applies the IsNil predicate on the "last_error" field.
func LastErrorLT ¶
LastErrorLT applies the LT predicate on the "last_error" field.
func LastErrorLTE ¶
LastErrorLTE applies the LTE predicate on the "last_error" field.
func LastErrorNEQ ¶
LastErrorNEQ applies the NEQ predicate on the "last_error" field.
func LastErrorNotIn ¶
LastErrorNotIn applies the NotIn predicate on the "last_error" field.
func LastErrorNotNil ¶
LastErrorNotNil applies the NotNil predicate on the "last_error" field.
func LastResponse ¶
LastResponse applies equality check predicate on the "last_response" field. It's identical to LastResponseEQ.
func LastResponseContains ¶
LastResponseContains applies the Contains predicate on the "last_response" field.
func LastResponseContainsFold ¶
LastResponseContainsFold applies the ContainsFold predicate on the "last_response" field.
func LastResponseEQ ¶
LastResponseEQ applies the EQ predicate on the "last_response" field.
func LastResponseEqualFold ¶
LastResponseEqualFold applies the EqualFold predicate on the "last_response" field.
func LastResponseGT ¶
LastResponseGT applies the GT predicate on the "last_response" field.
func LastResponseGTE ¶
LastResponseGTE applies the GTE predicate on the "last_response" field.
func LastResponseHasPrefix ¶
LastResponseHasPrefix applies the HasPrefix predicate on the "last_response" field.
func LastResponseHasSuffix ¶
LastResponseHasSuffix applies the HasSuffix predicate on the "last_response" field.
func LastResponseIn ¶
LastResponseIn applies the In predicate on the "last_response" field.
func LastResponseIsNil ¶
LastResponseIsNil applies the IsNil predicate on the "last_response" field.
func LastResponseLT ¶
LastResponseLT applies the LT predicate on the "last_response" field.
func LastResponseLTE ¶
LastResponseLTE applies the LTE predicate on the "last_response" field.
func LastResponseNEQ ¶
LastResponseNEQ applies the NEQ predicate on the "last_response" field.
func LastResponseNotIn ¶
LastResponseNotIn applies the NotIn predicate on the "last_response" field.
func LastResponseNotNil ¶
LastResponseNotNil applies the NotNil predicate on the "last_response" field.
func MappingID ¶
MappingID applies equality check predicate on the "mapping_id" field. It's identical to MappingIDEQ.
func MappingIDContains ¶
MappingIDContains applies the Contains predicate on the "mapping_id" field.
func MappingIDContainsFold ¶
MappingIDContainsFold applies the ContainsFold predicate on the "mapping_id" field.
func MappingIDEQ ¶
MappingIDEQ applies the EQ predicate on the "mapping_id" field.
func MappingIDEqualFold ¶
MappingIDEqualFold applies the EqualFold predicate on the "mapping_id" field.
func MappingIDGT ¶
MappingIDGT applies the GT predicate on the "mapping_id" field.
func MappingIDGTE ¶
MappingIDGTE applies the GTE predicate on the "mapping_id" field.
func MappingIDHasPrefix ¶
MappingIDHasPrefix applies the HasPrefix predicate on the "mapping_id" field.
func MappingIDHasSuffix ¶
MappingIDHasSuffix applies the HasSuffix predicate on the "mapping_id" field.
func MappingIDIn ¶
MappingIDIn applies the In predicate on the "mapping_id" field.
func MappingIDLT ¶
MappingIDLT applies the LT predicate on the "mapping_id" field.
func MappingIDLTE ¶
MappingIDLTE applies the LTE predicate on the "mapping_id" field.
func MappingIDNEQ ¶
MappingIDNEQ applies the NEQ predicate on the "mapping_id" field.
func MappingIDNotIn ¶
MappingIDNotIn applies the NotIn predicate on the "mapping_id" field.
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 OwnerID ¶
OwnerID applies equality check predicate on the "owner_id" field. It's identical to OwnerIDEQ.
func OwnerIDContains ¶
OwnerIDContains applies the Contains predicate on the "owner_id" field.
func OwnerIDContainsFold ¶
OwnerIDContainsFold applies the ContainsFold predicate on the "owner_id" field.
func OwnerIDEqualFold ¶
OwnerIDEqualFold applies the EqualFold predicate on the "owner_id" field.
func OwnerIDGTE ¶
OwnerIDGTE applies the GTE predicate on the "owner_id" field.
func OwnerIDHasPrefix ¶
OwnerIDHasPrefix applies the HasPrefix predicate on the "owner_id" field.
func OwnerIDHasSuffix ¶
OwnerIDHasSuffix applies the HasSuffix predicate on the "owner_id" field.
func OwnerIDIsNil ¶
OwnerIDIsNil applies the IsNil predicate on the "owner_id" field.
func OwnerIDLTE ¶
OwnerIDLTE applies the LTE predicate on the "owner_id" field.
func OwnerIDNEQ ¶
OwnerIDNEQ applies the NEQ predicate on the "owner_id" field.
func OwnerIDNotIn ¶
OwnerIDNotIn applies the NotIn predicate on the "owner_id" field.
func OwnerIDNotNil ¶
OwnerIDNotNil applies the NotNil predicate on the "owner_id" field.
func Secret ¶
Secret applies equality check predicate on the "secret" field. It's identical to SecretEQ.
func SecretIsNil ¶
SecretIsNil applies the IsNil predicate on the "secret" field.
func SecretNotIn ¶
SecretNotIn applies the NotIn predicate on the "secret" field.
func SecretNotNil ¶
SecretNotNil applies the NotNil predicate on the "secret" field.
func TagsNotNil ¶
TagsNotNil applies the NotNil predicate on the "tags" 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 UpdatedAtIsNil ¶
UpdatedAtIsNil applies the IsNil 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 UpdatedAtNotNil ¶
UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.
func UpdatedBy ¶
UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.
func UpdatedByContains ¶
UpdatedByContains applies the Contains predicate on the "updated_by" field.
func UpdatedByContainsFold ¶
UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.
func UpdatedByEQ ¶
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
func UpdatedByEqualFold ¶
UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.
func UpdatedByGT ¶
UpdatedByGT applies the GT predicate on the "updated_by" field.
func UpdatedByGTE ¶
UpdatedByGTE applies the GTE predicate on the "updated_by" field.
func UpdatedByHasPrefix ¶
UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.
func UpdatedByHasSuffix ¶
UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.
func UpdatedByIn ¶
UpdatedByIn applies the In predicate on the "updated_by" field.
func UpdatedByIsNil ¶
UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.
func UpdatedByLT ¶
UpdatedByLT applies the LT predicate on the "updated_by" field.
func UpdatedByLTE ¶
UpdatedByLTE applies the LTE predicate on the "updated_by" field.
func UpdatedByNEQ ¶
UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.
func UpdatedByNotIn ¶
UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.
func UpdatedByNotNil ¶
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 Webhook queries.
func ByCallback ¶
func ByCallback(opts ...sql.OrderTermOption) OrderOption
ByCallback orders the results by the callback 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 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 ByDestinationURL ¶
func ByDestinationURL(opts ...sql.OrderTermOption) OrderOption
ByDestinationURL orders the results by the destination_url field.
func ByEnabled ¶
func ByEnabled(opts ...sql.OrderTermOption) OrderOption
ByEnabled orders the results by the enabled 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 ByExpiresAt ¶
func ByExpiresAt(opts ...sql.OrderTermOption) OrderOption
ByExpiresAt orders the results by the expires_at field.
func ByFailures ¶
func ByFailures(opts ...sql.OrderTermOption) OrderOption
ByFailures orders the results by the failures field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByIntegrations ¶
func ByIntegrations(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByIntegrations orders the results by integrations terms.
func ByIntegrationsCount ¶
func ByIntegrationsCount(opts ...sql.OrderTermOption) OrderOption
ByIntegrationsCount orders the results by integrations count.
func ByLastError ¶
func ByLastError(opts ...sql.OrderTermOption) OrderOption
ByLastError orders the results by the last_error field.
func ByLastResponse ¶
func ByLastResponse(opts ...sql.OrderTermOption) OrderOption
ByLastResponse orders the results by the last_response 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 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 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.