Help us shape the future of Go! Take the 2026 Go Developer Survey

integration

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2026 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
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"
	// FieldWorkspaceID holds the string denoting the workspace_id field in the database.
	FieldWorkspaceID = "workspace_id"
	// FieldDiscardedAt holds the string denoting the discarded_at field in the database.
	FieldDiscardedAt = "discarded_at"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldChannel holds the string denoting the channel field in the database.
	FieldChannel = "channel"
	// FieldProvider holds the string denoting the provider field in the database.
	FieldProvider = "provider"
	// FieldConfigEncrypted holds the string denoting the config_encrypted field in the database.
	FieldConfigEncrypted = "config_encrypted"
	// FieldPreset holds the string denoting the preset field in the database.
	FieldPreset = "preset"
	// FieldParamsEncrypted holds the string denoting the params_encrypted field in the database.
	FieldParamsEncrypted = "params_encrypted"
	// FieldIngestKey holds the string denoting the ingest_key field in the database.
	FieldIngestKey = "ingest_key"
	// FieldEnabled holds the string denoting the enabled field in the database.
	FieldEnabled = "enabled"
	// FieldIsDefault holds the string denoting the is_default field in the database.
	FieldIsDefault = "is_default"
	// FieldMaxPerSecond holds the string denoting the max_per_second field in the database.
	FieldMaxPerSecond = "max_per_second"
	// FieldMaxPerDay holds the string denoting the max_per_day field in the database.
	FieldMaxPerDay = "max_per_day"
	// FieldProviderMaxPerSecond holds the string denoting the provider_max_per_second field in the database.
	FieldProviderMaxPerSecond = "provider_max_per_second"
	// FieldProviderMaxPerDay holds the string denoting the provider_max_per_day field in the database.
	FieldProviderMaxPerDay = "provider_max_per_day"
	// FieldProviderQuotaCheckedAt holds the string denoting the provider_quota_checked_at field in the database.
	FieldProviderQuotaCheckedAt = "provider_quota_checked_at"
	// FieldProviderQuotaFailedAt holds the string denoting the provider_quota_failed_at field in the database.
	FieldProviderQuotaFailedAt = "provider_quota_failed_at"
	// EdgeWorkspace holds the string denoting the workspace edge name in mutations.
	EdgeWorkspace = "workspace"
	// EdgeSendLimiter holds the string denoting the send_limiter edge name in mutations.
	EdgeSendLimiter = "send_limiter"
	// EdgeCapturedMessages holds the string denoting the captured_messages edge name in mutations.
	EdgeCapturedMessages = "captured_messages"
	// Table holds the table name of the integration in the database.
	Table = "integrations"
	// WorkspaceTable is the table that holds the workspace relation/edge.
	WorkspaceTable = "integrations"
	// WorkspaceInverseTable is the table name for the Workspace entity.
	// It exists in this package in order to avoid circular dependency with the "workspace" package.
	WorkspaceInverseTable = "workspaces"
	// WorkspaceColumn is the table column denoting the workspace relation/edge.
	WorkspaceColumn = "workspace_id"
	// SendLimiterTable is the table that holds the send_limiter relation/edge.
	SendLimiterTable = "send_limiters"
	// SendLimiterInverseTable is the table name for the SendLimiter entity.
	// It exists in this package in order to avoid circular dependency with the "sendlimiter" package.
	SendLimiterInverseTable = "send_limiters"
	// SendLimiterColumn is the table column denoting the send_limiter relation/edge.
	SendLimiterColumn = "integration_id"
	// CapturedMessagesTable is the table that holds the captured_messages relation/edge.
	CapturedMessagesTable = "captured_messages"
	// CapturedMessagesInverseTable is the table name for the CapturedMessage entity.
	// It exists in this package in order to avoid circular dependency with the "capturedmessage" package.
	CapturedMessagesInverseTable = "captured_messages"
	// CapturedMessagesColumn is the table column denoting the captured_messages relation/edge.
	CapturedMessagesColumn = "integration_id"
)
View Source
const DefaultChannel = ChannelEmail

ChannelEmail is the default value of the Channel enum.

Variables

View Source
var (
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
	// DefaultUpdatedAt holds the default value on creation for the "updated_at" field.
	DefaultUpdatedAt func() time.Time
	// UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field.
	UpdateDefaultUpdatedAt func() time.Time
	// NameValidator is a validator for the "name" field. It is called by the builders before save.
	NameValidator func(string) error
	// PresetValidator is a validator for the "preset" field. It is called by the builders before save.
	PresetValidator func(string) error
	// IngestKeyValidator is a validator for the "ingest_key" field. It is called by the builders before save.
	IngestKeyValidator func(string) error
	// DefaultEnabled holds the default value on creation for the "enabled" field.
	DefaultEnabled bool
	// DefaultIsDefault holds the default value on creation for the "is_default" field.
	DefaultIsDefault bool
	// MaxPerSecondValidator is a validator for the "max_per_second" field. It is called by the builders before save.
	MaxPerSecondValidator func(int) error
	// MaxPerDayValidator is a validator for the "max_per_day" field. It is called by the builders before save.
	MaxPerDayValidator func(int) error
)

Columns holds all SQL columns for integration fields.

Functions

func And

func And(predicates ...predicate.Integration) predicate.Integration

And groups predicates with the AND operator between them.

func ChannelEQ

func ChannelEQ(v Channel) predicate.Integration

ChannelEQ applies the EQ predicate on the "channel" field.

func ChannelIn

func ChannelIn(vs ...Channel) predicate.Integration

ChannelIn applies the In predicate on the "channel" field.

func ChannelNEQ

func ChannelNEQ(v Channel) predicate.Integration

ChannelNEQ applies the NEQ predicate on the "channel" field.

func ChannelNotIn

func ChannelNotIn(vs ...Channel) predicate.Integration

ChannelNotIn applies the NotIn predicate on the "channel" field.

func ChannelValidator

func ChannelValidator(c Channel) error

ChannelValidator is a validator for the "channel" field enum values. It is called by the builders before save.

func ConfigEncrypted

func ConfigEncrypted(v string) predicate.Integration

ConfigEncrypted applies equality check predicate on the "config_encrypted" field. It's identical to ConfigEncryptedEQ.

func ConfigEncryptedContains

func ConfigEncryptedContains(v string) predicate.Integration

ConfigEncryptedContains applies the Contains predicate on the "config_encrypted" field.

func ConfigEncryptedContainsFold

func ConfigEncryptedContainsFold(v string) predicate.Integration

ConfigEncryptedContainsFold applies the ContainsFold predicate on the "config_encrypted" field.

func ConfigEncryptedEQ

func ConfigEncryptedEQ(v string) predicate.Integration

ConfigEncryptedEQ applies the EQ predicate on the "config_encrypted" field.

func ConfigEncryptedEqualFold

func ConfigEncryptedEqualFold(v string) predicate.Integration

ConfigEncryptedEqualFold applies the EqualFold predicate on the "config_encrypted" field.

func ConfigEncryptedGT

func ConfigEncryptedGT(v string) predicate.Integration

ConfigEncryptedGT applies the GT predicate on the "config_encrypted" field.

func ConfigEncryptedGTE

func ConfigEncryptedGTE(v string) predicate.Integration

ConfigEncryptedGTE applies the GTE predicate on the "config_encrypted" field.

func ConfigEncryptedHasPrefix

func ConfigEncryptedHasPrefix(v string) predicate.Integration

ConfigEncryptedHasPrefix applies the HasPrefix predicate on the "config_encrypted" field.

func ConfigEncryptedHasSuffix

func ConfigEncryptedHasSuffix(v string) predicate.Integration

ConfigEncryptedHasSuffix applies the HasSuffix predicate on the "config_encrypted" field.

func ConfigEncryptedIn

func ConfigEncryptedIn(vs ...string) predicate.Integration

ConfigEncryptedIn applies the In predicate on the "config_encrypted" field.

func ConfigEncryptedLT

func ConfigEncryptedLT(v string) predicate.Integration

ConfigEncryptedLT applies the LT predicate on the "config_encrypted" field.

func ConfigEncryptedLTE

func ConfigEncryptedLTE(v string) predicate.Integration

ConfigEncryptedLTE applies the LTE predicate on the "config_encrypted" field.

func ConfigEncryptedNEQ

func ConfigEncryptedNEQ(v string) predicate.Integration

ConfigEncryptedNEQ applies the NEQ predicate on the "config_encrypted" field.

func ConfigEncryptedNotIn

func ConfigEncryptedNotIn(vs ...string) predicate.Integration

ConfigEncryptedNotIn applies the NotIn predicate on the "config_encrypted" field.

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 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 DiscardedAt

func DiscardedAt(v time.Time) predicate.Integration

DiscardedAt applies equality check predicate on the "discarded_at" field. It's identical to DiscardedAtEQ.

func DiscardedAtEQ

func DiscardedAtEQ(v time.Time) predicate.Integration

DiscardedAtEQ applies the EQ predicate on the "discarded_at" field.

func DiscardedAtGT

func DiscardedAtGT(v time.Time) predicate.Integration

DiscardedAtGT applies the GT predicate on the "discarded_at" field.

func DiscardedAtGTE

func DiscardedAtGTE(v time.Time) predicate.Integration

DiscardedAtGTE applies the GTE predicate on the "discarded_at" field.

func DiscardedAtIn

func DiscardedAtIn(vs ...time.Time) predicate.Integration

DiscardedAtIn applies the In predicate on the "discarded_at" field.

func DiscardedAtIsNil

func DiscardedAtIsNil() predicate.Integration

DiscardedAtIsNil applies the IsNil predicate on the "discarded_at" field.

func DiscardedAtLT

func DiscardedAtLT(v time.Time) predicate.Integration

DiscardedAtLT applies the LT predicate on the "discarded_at" field.

func DiscardedAtLTE

func DiscardedAtLTE(v time.Time) predicate.Integration

DiscardedAtLTE applies the LTE predicate on the "discarded_at" field.

func DiscardedAtNEQ

func DiscardedAtNEQ(v time.Time) predicate.Integration

DiscardedAtNEQ applies the NEQ predicate on the "discarded_at" field.

func DiscardedAtNotIn

func DiscardedAtNotIn(vs ...time.Time) predicate.Integration

DiscardedAtNotIn applies the NotIn predicate on the "discarded_at" field.

func DiscardedAtNotNil

func DiscardedAtNotNil() predicate.Integration

DiscardedAtNotNil applies the NotNil predicate on the "discarded_at" field.

func Enabled

func Enabled(v bool) predicate.Integration

Enabled applies equality check predicate on the "enabled" field. It's identical to EnabledEQ.

func EnabledEQ

func EnabledEQ(v bool) predicate.Integration

EnabledEQ applies the EQ predicate on the "enabled" field.

func EnabledNEQ

func EnabledNEQ(v bool) predicate.Integration

EnabledNEQ applies the NEQ predicate on the "enabled" field.

func HasCapturedMessages

func HasCapturedMessages() predicate.Integration

HasCapturedMessages applies the HasEdge predicate on the "captured_messages" edge.

func HasCapturedMessagesWith

func HasCapturedMessagesWith(preds ...predicate.CapturedMessage) predicate.Integration

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

func HasSendLimiter

func HasSendLimiter() predicate.Integration

HasSendLimiter applies the HasEdge predicate on the "send_limiter" edge.

func HasSendLimiterWith

func HasSendLimiterWith(preds ...predicate.SendLimiter) predicate.Integration

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

func HasWorkspace

func HasWorkspace() predicate.Integration

HasWorkspace applies the HasEdge predicate on the "workspace" edge.

func HasWorkspaceWith

func HasWorkspaceWith(preds ...predicate.Workspace) predicate.Integration

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

func ID

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int64) predicate.Integration

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int64) predicate.Integration

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int64) predicate.Integration

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int64) predicate.Integration

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int64) predicate.Integration

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int64) predicate.Integration

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func IngestKey

func IngestKey(v string) predicate.Integration

IngestKey applies equality check predicate on the "ingest_key" field. It's identical to IngestKeyEQ.

func IngestKeyContains

func IngestKeyContains(v string) predicate.Integration

IngestKeyContains applies the Contains predicate on the "ingest_key" field.

func IngestKeyContainsFold

func IngestKeyContainsFold(v string) predicate.Integration

IngestKeyContainsFold applies the ContainsFold predicate on the "ingest_key" field.

func IngestKeyEQ

func IngestKeyEQ(v string) predicate.Integration

IngestKeyEQ applies the EQ predicate on the "ingest_key" field.

func IngestKeyEqualFold

func IngestKeyEqualFold(v string) predicate.Integration

IngestKeyEqualFold applies the EqualFold predicate on the "ingest_key" field.

func IngestKeyGT

func IngestKeyGT(v string) predicate.Integration

IngestKeyGT applies the GT predicate on the "ingest_key" field.

func IngestKeyGTE

func IngestKeyGTE(v string) predicate.Integration

IngestKeyGTE applies the GTE predicate on the "ingest_key" field.

func IngestKeyHasPrefix

func IngestKeyHasPrefix(v string) predicate.Integration

IngestKeyHasPrefix applies the HasPrefix predicate on the "ingest_key" field.

func IngestKeyHasSuffix

func IngestKeyHasSuffix(v string) predicate.Integration

IngestKeyHasSuffix applies the HasSuffix predicate on the "ingest_key" field.

func IngestKeyIn

func IngestKeyIn(vs ...string) predicate.Integration

IngestKeyIn applies the In predicate on the "ingest_key" field.

func IngestKeyLT

func IngestKeyLT(v string) predicate.Integration

IngestKeyLT applies the LT predicate on the "ingest_key" field.

func IngestKeyLTE

func IngestKeyLTE(v string) predicate.Integration

IngestKeyLTE applies the LTE predicate on the "ingest_key" field.

func IngestKeyNEQ

func IngestKeyNEQ(v string) predicate.Integration

IngestKeyNEQ applies the NEQ predicate on the "ingest_key" field.

func IngestKeyNotIn

func IngestKeyNotIn(vs ...string) predicate.Integration

IngestKeyNotIn applies the NotIn predicate on the "ingest_key" field.

func IsDefault

func IsDefault(v bool) predicate.Integration

IsDefault applies equality check predicate on the "is_default" field. It's identical to IsDefaultEQ.

func IsDefaultEQ

func IsDefaultEQ(v bool) predicate.Integration

IsDefaultEQ applies the EQ predicate on the "is_default" field.

func IsDefaultNEQ

func IsDefaultNEQ(v bool) predicate.Integration

IsDefaultNEQ applies the NEQ predicate on the "is_default" field.

func MaxPerDay

func MaxPerDay(v int) predicate.Integration

MaxPerDay applies equality check predicate on the "max_per_day" field. It's identical to MaxPerDayEQ.

func MaxPerDayEQ

func MaxPerDayEQ(v int) predicate.Integration

MaxPerDayEQ applies the EQ predicate on the "max_per_day" field.

func MaxPerDayGT

func MaxPerDayGT(v int) predicate.Integration

MaxPerDayGT applies the GT predicate on the "max_per_day" field.

func MaxPerDayGTE

func MaxPerDayGTE(v int) predicate.Integration

MaxPerDayGTE applies the GTE predicate on the "max_per_day" field.

func MaxPerDayIn

func MaxPerDayIn(vs ...int) predicate.Integration

MaxPerDayIn applies the In predicate on the "max_per_day" field.

func MaxPerDayIsNil

func MaxPerDayIsNil() predicate.Integration

MaxPerDayIsNil applies the IsNil predicate on the "max_per_day" field.

func MaxPerDayLT

func MaxPerDayLT(v int) predicate.Integration

MaxPerDayLT applies the LT predicate on the "max_per_day" field.

func MaxPerDayLTE

func MaxPerDayLTE(v int) predicate.Integration

MaxPerDayLTE applies the LTE predicate on the "max_per_day" field.

func MaxPerDayNEQ

func MaxPerDayNEQ(v int) predicate.Integration

MaxPerDayNEQ applies the NEQ predicate on the "max_per_day" field.

func MaxPerDayNotIn

func MaxPerDayNotIn(vs ...int) predicate.Integration

MaxPerDayNotIn applies the NotIn predicate on the "max_per_day" field.

func MaxPerDayNotNil

func MaxPerDayNotNil() predicate.Integration

MaxPerDayNotNil applies the NotNil predicate on the "max_per_day" field.

func MaxPerSecond

func MaxPerSecond(v int) predicate.Integration

MaxPerSecond applies equality check predicate on the "max_per_second" field. It's identical to MaxPerSecondEQ.

func MaxPerSecondEQ

func MaxPerSecondEQ(v int) predicate.Integration

MaxPerSecondEQ applies the EQ predicate on the "max_per_second" field.

func MaxPerSecondGT

func MaxPerSecondGT(v int) predicate.Integration

MaxPerSecondGT applies the GT predicate on the "max_per_second" field.

func MaxPerSecondGTE

func MaxPerSecondGTE(v int) predicate.Integration

MaxPerSecondGTE applies the GTE predicate on the "max_per_second" field.

func MaxPerSecondIn

func MaxPerSecondIn(vs ...int) predicate.Integration

MaxPerSecondIn applies the In predicate on the "max_per_second" field.

func MaxPerSecondIsNil

func MaxPerSecondIsNil() predicate.Integration

MaxPerSecondIsNil applies the IsNil predicate on the "max_per_second" field.

func MaxPerSecondLT

func MaxPerSecondLT(v int) predicate.Integration

MaxPerSecondLT applies the LT predicate on the "max_per_second" field.

func MaxPerSecondLTE

func MaxPerSecondLTE(v int) predicate.Integration

MaxPerSecondLTE applies the LTE predicate on the "max_per_second" field.

func MaxPerSecondNEQ

func MaxPerSecondNEQ(v int) predicate.Integration

MaxPerSecondNEQ applies the NEQ predicate on the "max_per_second" field.

func MaxPerSecondNotIn

func MaxPerSecondNotIn(vs ...int) predicate.Integration

MaxPerSecondNotIn applies the NotIn predicate on the "max_per_second" field.

func MaxPerSecondNotNil

func MaxPerSecondNotNil() predicate.Integration

MaxPerSecondNotNil applies the NotNil predicate on the "max_per_second" field.

func Name

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

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 ParamsEncrypted

func ParamsEncrypted(v string) predicate.Integration

ParamsEncrypted applies equality check predicate on the "params_encrypted" field. It's identical to ParamsEncryptedEQ.

func ParamsEncryptedContains

func ParamsEncryptedContains(v string) predicate.Integration

ParamsEncryptedContains applies the Contains predicate on the "params_encrypted" field.

func ParamsEncryptedContainsFold

func ParamsEncryptedContainsFold(v string) predicate.Integration

ParamsEncryptedContainsFold applies the ContainsFold predicate on the "params_encrypted" field.

func ParamsEncryptedEQ

func ParamsEncryptedEQ(v string) predicate.Integration

ParamsEncryptedEQ applies the EQ predicate on the "params_encrypted" field.

func ParamsEncryptedEqualFold

func ParamsEncryptedEqualFold(v string) predicate.Integration

ParamsEncryptedEqualFold applies the EqualFold predicate on the "params_encrypted" field.

func ParamsEncryptedGT

func ParamsEncryptedGT(v string) predicate.Integration

ParamsEncryptedGT applies the GT predicate on the "params_encrypted" field.

func ParamsEncryptedGTE

func ParamsEncryptedGTE(v string) predicate.Integration

ParamsEncryptedGTE applies the GTE predicate on the "params_encrypted" field.

func ParamsEncryptedHasPrefix

func ParamsEncryptedHasPrefix(v string) predicate.Integration

ParamsEncryptedHasPrefix applies the HasPrefix predicate on the "params_encrypted" field.

func ParamsEncryptedHasSuffix

func ParamsEncryptedHasSuffix(v string) predicate.Integration

ParamsEncryptedHasSuffix applies the HasSuffix predicate on the "params_encrypted" field.

func ParamsEncryptedIn

func ParamsEncryptedIn(vs ...string) predicate.Integration

ParamsEncryptedIn applies the In predicate on the "params_encrypted" field.

func ParamsEncryptedIsNil

func ParamsEncryptedIsNil() predicate.Integration

ParamsEncryptedIsNil applies the IsNil predicate on the "params_encrypted" field.

func ParamsEncryptedLT

func ParamsEncryptedLT(v string) predicate.Integration

ParamsEncryptedLT applies the LT predicate on the "params_encrypted" field.

func ParamsEncryptedLTE

func ParamsEncryptedLTE(v string) predicate.Integration

ParamsEncryptedLTE applies the LTE predicate on the "params_encrypted" field.

func ParamsEncryptedNEQ

func ParamsEncryptedNEQ(v string) predicate.Integration

ParamsEncryptedNEQ applies the NEQ predicate on the "params_encrypted" field.

func ParamsEncryptedNotIn

func ParamsEncryptedNotIn(vs ...string) predicate.Integration

ParamsEncryptedNotIn applies the NotIn predicate on the "params_encrypted" field.

func ParamsEncryptedNotNil

func ParamsEncryptedNotNil() predicate.Integration

ParamsEncryptedNotNil applies the NotNil predicate on the "params_encrypted" field.

func Preset

func Preset(v string) predicate.Integration

Preset applies equality check predicate on the "preset" field. It's identical to PresetEQ.

func PresetContains

func PresetContains(v string) predicate.Integration

PresetContains applies the Contains predicate on the "preset" field.

func PresetContainsFold

func PresetContainsFold(v string) predicate.Integration

PresetContainsFold applies the ContainsFold predicate on the "preset" field.

func PresetEQ

func PresetEQ(v string) predicate.Integration

PresetEQ applies the EQ predicate on the "preset" field.

func PresetEqualFold

func PresetEqualFold(v string) predicate.Integration

PresetEqualFold applies the EqualFold predicate on the "preset" field.

func PresetGT

func PresetGT(v string) predicate.Integration

PresetGT applies the GT predicate on the "preset" field.

func PresetGTE

func PresetGTE(v string) predicate.Integration

PresetGTE applies the GTE predicate on the "preset" field.

func PresetHasPrefix

func PresetHasPrefix(v string) predicate.Integration

PresetHasPrefix applies the HasPrefix predicate on the "preset" field.

func PresetHasSuffix

func PresetHasSuffix(v string) predicate.Integration

PresetHasSuffix applies the HasSuffix predicate on the "preset" field.

func PresetIn

func PresetIn(vs ...string) predicate.Integration

PresetIn applies the In predicate on the "preset" field.

func PresetIsNil

func PresetIsNil() predicate.Integration

PresetIsNil applies the IsNil predicate on the "preset" field.

func PresetLT

func PresetLT(v string) predicate.Integration

PresetLT applies the LT predicate on the "preset" field.

func PresetLTE

func PresetLTE(v string) predicate.Integration

PresetLTE applies the LTE predicate on the "preset" field.

func PresetNEQ

func PresetNEQ(v string) predicate.Integration

PresetNEQ applies the NEQ predicate on the "preset" field.

func PresetNotIn

func PresetNotIn(vs ...string) predicate.Integration

PresetNotIn applies the NotIn predicate on the "preset" field.

func PresetNotNil

func PresetNotNil() predicate.Integration

PresetNotNil applies the NotNil predicate on the "preset" field.

func ProviderEQ

func ProviderEQ(v Provider) predicate.Integration

ProviderEQ applies the EQ predicate on the "provider" field.

func ProviderIn

func ProviderIn(vs ...Provider) predicate.Integration

ProviderIn applies the In predicate on the "provider" field.

func ProviderMaxPerDay

func ProviderMaxPerDay(v int) predicate.Integration

ProviderMaxPerDay applies equality check predicate on the "provider_max_per_day" field. It's identical to ProviderMaxPerDayEQ.

func ProviderMaxPerDayEQ

func ProviderMaxPerDayEQ(v int) predicate.Integration

ProviderMaxPerDayEQ applies the EQ predicate on the "provider_max_per_day" field.

func ProviderMaxPerDayGT

func ProviderMaxPerDayGT(v int) predicate.Integration

ProviderMaxPerDayGT applies the GT predicate on the "provider_max_per_day" field.

func ProviderMaxPerDayGTE

func ProviderMaxPerDayGTE(v int) predicate.Integration

ProviderMaxPerDayGTE applies the GTE predicate on the "provider_max_per_day" field.

func ProviderMaxPerDayIn

func ProviderMaxPerDayIn(vs ...int) predicate.Integration

ProviderMaxPerDayIn applies the In predicate on the "provider_max_per_day" field.

func ProviderMaxPerDayIsNil

func ProviderMaxPerDayIsNil() predicate.Integration

ProviderMaxPerDayIsNil applies the IsNil predicate on the "provider_max_per_day" field.

func ProviderMaxPerDayLT

func ProviderMaxPerDayLT(v int) predicate.Integration

ProviderMaxPerDayLT applies the LT predicate on the "provider_max_per_day" field.

func ProviderMaxPerDayLTE

func ProviderMaxPerDayLTE(v int) predicate.Integration

ProviderMaxPerDayLTE applies the LTE predicate on the "provider_max_per_day" field.

func ProviderMaxPerDayNEQ

func ProviderMaxPerDayNEQ(v int) predicate.Integration

ProviderMaxPerDayNEQ applies the NEQ predicate on the "provider_max_per_day" field.

func ProviderMaxPerDayNotIn

func ProviderMaxPerDayNotIn(vs ...int) predicate.Integration

ProviderMaxPerDayNotIn applies the NotIn predicate on the "provider_max_per_day" field.

func ProviderMaxPerDayNotNil

func ProviderMaxPerDayNotNil() predicate.Integration

ProviderMaxPerDayNotNil applies the NotNil predicate on the "provider_max_per_day" field.

func ProviderMaxPerSecond

func ProviderMaxPerSecond(v int) predicate.Integration

ProviderMaxPerSecond applies equality check predicate on the "provider_max_per_second" field. It's identical to ProviderMaxPerSecondEQ.

func ProviderMaxPerSecondEQ

func ProviderMaxPerSecondEQ(v int) predicate.Integration

ProviderMaxPerSecondEQ applies the EQ predicate on the "provider_max_per_second" field.

func ProviderMaxPerSecondGT

func ProviderMaxPerSecondGT(v int) predicate.Integration

ProviderMaxPerSecondGT applies the GT predicate on the "provider_max_per_second" field.

func ProviderMaxPerSecondGTE

func ProviderMaxPerSecondGTE(v int) predicate.Integration

ProviderMaxPerSecondGTE applies the GTE predicate on the "provider_max_per_second" field.

func ProviderMaxPerSecondIn

func ProviderMaxPerSecondIn(vs ...int) predicate.Integration

ProviderMaxPerSecondIn applies the In predicate on the "provider_max_per_second" field.

func ProviderMaxPerSecondIsNil

func ProviderMaxPerSecondIsNil() predicate.Integration

ProviderMaxPerSecondIsNil applies the IsNil predicate on the "provider_max_per_second" field.

func ProviderMaxPerSecondLT

func ProviderMaxPerSecondLT(v int) predicate.Integration

ProviderMaxPerSecondLT applies the LT predicate on the "provider_max_per_second" field.

func ProviderMaxPerSecondLTE

func ProviderMaxPerSecondLTE(v int) predicate.Integration

ProviderMaxPerSecondLTE applies the LTE predicate on the "provider_max_per_second" field.

func ProviderMaxPerSecondNEQ

func ProviderMaxPerSecondNEQ(v int) predicate.Integration

ProviderMaxPerSecondNEQ applies the NEQ predicate on the "provider_max_per_second" field.

func ProviderMaxPerSecondNotIn

func ProviderMaxPerSecondNotIn(vs ...int) predicate.Integration

ProviderMaxPerSecondNotIn applies the NotIn predicate on the "provider_max_per_second" field.

func ProviderMaxPerSecondNotNil

func ProviderMaxPerSecondNotNil() predicate.Integration

ProviderMaxPerSecondNotNil applies the NotNil predicate on the "provider_max_per_second" field.

func ProviderNEQ

func ProviderNEQ(v Provider) predicate.Integration

ProviderNEQ applies the NEQ predicate on the "provider" field.

func ProviderNotIn

func ProviderNotIn(vs ...Provider) predicate.Integration

ProviderNotIn applies the NotIn predicate on the "provider" field.

func ProviderQuotaCheckedAt

func ProviderQuotaCheckedAt(v time.Time) predicate.Integration

ProviderQuotaCheckedAt applies equality check predicate on the "provider_quota_checked_at" field. It's identical to ProviderQuotaCheckedAtEQ.

func ProviderQuotaCheckedAtEQ

func ProviderQuotaCheckedAtEQ(v time.Time) predicate.Integration

ProviderQuotaCheckedAtEQ applies the EQ predicate on the "provider_quota_checked_at" field.

func ProviderQuotaCheckedAtGT

func ProviderQuotaCheckedAtGT(v time.Time) predicate.Integration

ProviderQuotaCheckedAtGT applies the GT predicate on the "provider_quota_checked_at" field.

func ProviderQuotaCheckedAtGTE

func ProviderQuotaCheckedAtGTE(v time.Time) predicate.Integration

ProviderQuotaCheckedAtGTE applies the GTE predicate on the "provider_quota_checked_at" field.

func ProviderQuotaCheckedAtIn

func ProviderQuotaCheckedAtIn(vs ...time.Time) predicate.Integration

ProviderQuotaCheckedAtIn applies the In predicate on the "provider_quota_checked_at" field.

func ProviderQuotaCheckedAtIsNil

func ProviderQuotaCheckedAtIsNil() predicate.Integration

ProviderQuotaCheckedAtIsNil applies the IsNil predicate on the "provider_quota_checked_at" field.

func ProviderQuotaCheckedAtLT

func ProviderQuotaCheckedAtLT(v time.Time) predicate.Integration

ProviderQuotaCheckedAtLT applies the LT predicate on the "provider_quota_checked_at" field.

func ProviderQuotaCheckedAtLTE

func ProviderQuotaCheckedAtLTE(v time.Time) predicate.Integration

ProviderQuotaCheckedAtLTE applies the LTE predicate on the "provider_quota_checked_at" field.

func ProviderQuotaCheckedAtNEQ

func ProviderQuotaCheckedAtNEQ(v time.Time) predicate.Integration

ProviderQuotaCheckedAtNEQ applies the NEQ predicate on the "provider_quota_checked_at" field.

func ProviderQuotaCheckedAtNotIn

func ProviderQuotaCheckedAtNotIn(vs ...time.Time) predicate.Integration

ProviderQuotaCheckedAtNotIn applies the NotIn predicate on the "provider_quota_checked_at" field.

func ProviderQuotaCheckedAtNotNil

func ProviderQuotaCheckedAtNotNil() predicate.Integration

ProviderQuotaCheckedAtNotNil applies the NotNil predicate on the "provider_quota_checked_at" field.

func ProviderQuotaFailedAt

func ProviderQuotaFailedAt(v time.Time) predicate.Integration

ProviderQuotaFailedAt applies equality check predicate on the "provider_quota_failed_at" field. It's identical to ProviderQuotaFailedAtEQ.

func ProviderQuotaFailedAtEQ

func ProviderQuotaFailedAtEQ(v time.Time) predicate.Integration

ProviderQuotaFailedAtEQ applies the EQ predicate on the "provider_quota_failed_at" field.

func ProviderQuotaFailedAtGT

func ProviderQuotaFailedAtGT(v time.Time) predicate.Integration

ProviderQuotaFailedAtGT applies the GT predicate on the "provider_quota_failed_at" field.

func ProviderQuotaFailedAtGTE

func ProviderQuotaFailedAtGTE(v time.Time) predicate.Integration

ProviderQuotaFailedAtGTE applies the GTE predicate on the "provider_quota_failed_at" field.

func ProviderQuotaFailedAtIn

func ProviderQuotaFailedAtIn(vs ...time.Time) predicate.Integration

ProviderQuotaFailedAtIn applies the In predicate on the "provider_quota_failed_at" field.

func ProviderQuotaFailedAtIsNil

func ProviderQuotaFailedAtIsNil() predicate.Integration

ProviderQuotaFailedAtIsNil applies the IsNil predicate on the "provider_quota_failed_at" field.

func ProviderQuotaFailedAtLT

func ProviderQuotaFailedAtLT(v time.Time) predicate.Integration

ProviderQuotaFailedAtLT applies the LT predicate on the "provider_quota_failed_at" field.

func ProviderQuotaFailedAtLTE

func ProviderQuotaFailedAtLTE(v time.Time) predicate.Integration

ProviderQuotaFailedAtLTE applies the LTE predicate on the "provider_quota_failed_at" field.

func ProviderQuotaFailedAtNEQ

func ProviderQuotaFailedAtNEQ(v time.Time) predicate.Integration

ProviderQuotaFailedAtNEQ applies the NEQ predicate on the "provider_quota_failed_at" field.

func ProviderQuotaFailedAtNotIn

func ProviderQuotaFailedAtNotIn(vs ...time.Time) predicate.Integration

ProviderQuotaFailedAtNotIn applies the NotIn predicate on the "provider_quota_failed_at" field.

func ProviderQuotaFailedAtNotNil

func ProviderQuotaFailedAtNotNil() predicate.Integration

ProviderQuotaFailedAtNotNil applies the NotNil predicate on the "provider_quota_failed_at" field.

func ProviderValidator

func ProviderValidator(pr Provider) error

ProviderValidator is a validator for the "provider" field enum values. It is called by the builders before save.

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 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 ValidColumn

func ValidColumn(column string) bool

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

func WorkspaceID

func WorkspaceID(v int64) predicate.Integration

WorkspaceID applies equality check predicate on the "workspace_id" field. It's identical to WorkspaceIDEQ.

func WorkspaceIDEQ

func WorkspaceIDEQ(v int64) predicate.Integration

WorkspaceIDEQ applies the EQ predicate on the "workspace_id" field.

func WorkspaceIDIn

func WorkspaceIDIn(vs ...int64) predicate.Integration

WorkspaceIDIn applies the In predicate on the "workspace_id" field.

func WorkspaceIDNEQ

func WorkspaceIDNEQ(v int64) predicate.Integration

WorkspaceIDNEQ applies the NEQ predicate on the "workspace_id" field.

func WorkspaceIDNotIn

func WorkspaceIDNotIn(vs ...int64) predicate.Integration

WorkspaceIDNotIn applies the NotIn predicate on the "workspace_id" field.

Types

type Channel

type Channel string

Channel defines the type for the "channel" enum field.

const (
	ChannelEmail Channel = "email"
	ChannelSms   Channel = "sms"
)

Channel values.

func (Channel) String

func (c Channel) String() string

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the Integration queries.

func ByCapturedMessages

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

ByCapturedMessages orders the results by captured_messages terms.

func ByCapturedMessagesCount

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

ByCapturedMessagesCount orders the results by captured_messages count.

func ByChannel

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

ByChannel orders the results by the channel field.

func ByConfigEncrypted

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

ByConfigEncrypted orders the results by the config_encrypted field.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByDiscardedAt

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

ByDiscardedAt orders the results by the discarded_at field.

func ByEnabled

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

ByEnabled orders the results by the enabled field.

func ByID

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

ByID orders the results by the id field.

func ByIngestKey

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

ByIngestKey orders the results by the ingest_key field.

func ByIsDefault

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

ByIsDefault orders the results by the is_default field.

func ByMaxPerDay

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

ByMaxPerDay orders the results by the max_per_day field.

func ByMaxPerSecond

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

ByMaxPerSecond orders the results by the max_per_second field.

func ByName

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

ByName orders the results by the name field.

func ByParamsEncrypted

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

ByParamsEncrypted orders the results by the params_encrypted field.

func ByPreset

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

ByPreset orders the results by the preset field.

func ByProvider

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

ByProvider orders the results by the provider field.

func ByProviderMaxPerDay

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

ByProviderMaxPerDay orders the results by the provider_max_per_day field.

func ByProviderMaxPerSecond

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

ByProviderMaxPerSecond orders the results by the provider_max_per_second field.

func ByProviderQuotaCheckedAt

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

ByProviderQuotaCheckedAt orders the results by the provider_quota_checked_at field.

func ByProviderQuotaFailedAt

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

ByProviderQuotaFailedAt orders the results by the provider_quota_failed_at field.

func BySendLimiterField

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

BySendLimiterField orders the results by send_limiter field.

func ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

func ByWorkspaceField

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

ByWorkspaceField orders the results by workspace field.

func ByWorkspaceID

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

ByWorkspaceID orders the results by the workspace_id field.

type Provider

type Provider string

Provider defines the type for the "provider" enum field.

const (
	ProviderSMTP  Provider = "smtp"
	ProviderSes   Provider = "ses"
	ProviderInbox Provider = "inbox"
)

Provider values.

func (Provider) String

func (pr Provider) String() string

Jump to

Keyboard shortcuts

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