cloudevent

package
v0.0.0-...-65c6c44 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the cloudevent type in the database.
	Label = "cloud_event"
	// 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"
	// FieldSource holds the string denoting the source field in the database.
	FieldSource = "source"
	// FieldSourceEventID holds the string denoting the source_event_id field in the database.
	FieldSourceEventID = "source_event_id"
	// FieldSourceAccountID holds the string denoting the source_account_id field in the database.
	FieldSourceAccountID = "source_account_id"
	// FieldCorrelationID holds the string denoting the correlation_id field in the database.
	FieldCorrelationID = "correlation_id"
	// FieldEventType holds the string denoting the event_type field in the database.
	FieldEventType = "event_type"
	// FieldSubject holds the string denoting the subject field in the database.
	FieldSubject = "subject"
	// FieldText holds the string denoting the text field in the database.
	FieldText = "text"
	// FieldPayloadCiphertext holds the string denoting the payload_ciphertext field in the database.
	FieldPayloadCiphertext = "payload_ciphertext"
	// FieldRoutingJSON holds the string denoting the routing_json field in the database.
	FieldRoutingJSON = "routing_json"
	// FieldDedupeKey holds the string denoting the dedupe_key field in the database.
	FieldDedupeKey = "dedupe_key"
	// FieldRoutingStatus holds the string denoting the routing_status field in the database.
	FieldRoutingStatus = "routing_status"
	// FieldMatchedTaskCount holds the string denoting the matched_task_count field in the database.
	FieldMatchedTaskCount = "matched_task_count"
	// FieldOccurredAt holds the string denoting the occurred_at field in the database.
	FieldOccurredAt = "occurred_at"
	// FieldReceivedAt holds the string denoting the received_at field in the database.
	FieldReceivedAt = "received_at"
	// FieldRoutedAt holds the string denoting the routed_at field in the database.
	FieldRoutedAt = "routed_at"
	// EdgeUser holds the string denoting the user edge name in mutations.
	EdgeUser = "user"
	// EdgeRuns holds the string denoting the runs edge name in mutations.
	EdgeRuns = "runs"
	// Table holds the table name of the cloudevent in the database.
	Table = "cloud_events"
	// UserTable is the table that holds the user relation/edge.
	UserTable = "cloud_events"
	// UserInverseTable is the table name for the User entity.
	// It exists in this package in order to avoid circular dependency with the "user" package.
	UserInverseTable = "users"
	// UserColumn is the table column denoting the user relation/edge.
	UserColumn = "user_cloud_events"
	// RunsTable is the table that holds the runs relation/edge.
	RunsTable = "background_task_runs"
	// RunsInverseTable is the table name for the BackgroundTaskRun entity.
	// It exists in this package in order to avoid circular dependency with the "backgroundtaskrun" package.
	RunsInverseTable = "background_task_runs"
	// RunsColumn is the table column denoting the runs relation/edge.
	RunsColumn = "cloud_event_id"
)

Variables

View Source
var (
	Hooks  [1]ent.Hook
	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
	// SourceValidator is a validator for the "source" field. It is called by the builders before save.
	SourceValidator func(string) error
	// RoutingJSONValidator is a validator for the "routing_json" field. It is called by the builders before save.
	RoutingJSONValidator func(string) error
	// DedupeKeyValidator is a validator for the "dedupe_key" field. It is called by the builders before save.
	DedupeKeyValidator func(string) error
	// DefaultRoutingStatus holds the default value on creation for the "routing_status" field.
	DefaultRoutingStatus string
	// RoutingStatusValidator is a validator for the "routing_status" field. It is called by the builders before save.
	RoutingStatusValidator func(string) error
	// DefaultMatchedTaskCount holds the default value on creation for the "matched_task_count" field.
	DefaultMatchedTaskCount int
	// DefaultReceivedAt holds the default value on creation for the "received_at" field.
	DefaultReceivedAt func() time.Time
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() uuid.UUID
)

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/Oppulence-Engineering/rowboat/apps/rowboat-api/ent/runtime"

Columns holds all SQL columns for cloudevent fields.

View Source
var ForeignKeys = []string{
	"user_cloud_events",
}

ForeignKeys holds the SQL foreign-keys that are owned by the "cloud_events" table and are not defined as standalone fields in the schema.

Functions

func And

func And(predicates ...predicate.CloudEvent) predicate.CloudEvent

And groups predicates with the AND operator between them.

func CorrelationID

func CorrelationID(v string) predicate.CloudEvent

CorrelationID applies equality check predicate on the "correlation_id" field. It's identical to CorrelationIDEQ.

func CorrelationIDContains

func CorrelationIDContains(v string) predicate.CloudEvent

CorrelationIDContains applies the Contains predicate on the "correlation_id" field.

func CorrelationIDContainsFold

func CorrelationIDContainsFold(v string) predicate.CloudEvent

CorrelationIDContainsFold applies the ContainsFold predicate on the "correlation_id" field.

func CorrelationIDEQ

func CorrelationIDEQ(v string) predicate.CloudEvent

CorrelationIDEQ applies the EQ predicate on the "correlation_id" field.

func CorrelationIDEqualFold

func CorrelationIDEqualFold(v string) predicate.CloudEvent

CorrelationIDEqualFold applies the EqualFold predicate on the "correlation_id" field.

func CorrelationIDGT

func CorrelationIDGT(v string) predicate.CloudEvent

CorrelationIDGT applies the GT predicate on the "correlation_id" field.

func CorrelationIDGTE

func CorrelationIDGTE(v string) predicate.CloudEvent

CorrelationIDGTE applies the GTE predicate on the "correlation_id" field.

func CorrelationIDHasPrefix

func CorrelationIDHasPrefix(v string) predicate.CloudEvent

CorrelationIDHasPrefix applies the HasPrefix predicate on the "correlation_id" field.

func CorrelationIDHasSuffix

func CorrelationIDHasSuffix(v string) predicate.CloudEvent

CorrelationIDHasSuffix applies the HasSuffix predicate on the "correlation_id" field.

func CorrelationIDIn

func CorrelationIDIn(vs ...string) predicate.CloudEvent

CorrelationIDIn applies the In predicate on the "correlation_id" field.

func CorrelationIDIsNil

func CorrelationIDIsNil() predicate.CloudEvent

CorrelationIDIsNil applies the IsNil predicate on the "correlation_id" field.

func CorrelationIDLT

func CorrelationIDLT(v string) predicate.CloudEvent

CorrelationIDLT applies the LT predicate on the "correlation_id" field.

func CorrelationIDLTE

func CorrelationIDLTE(v string) predicate.CloudEvent

CorrelationIDLTE applies the LTE predicate on the "correlation_id" field.

func CorrelationIDNEQ

func CorrelationIDNEQ(v string) predicate.CloudEvent

CorrelationIDNEQ applies the NEQ predicate on the "correlation_id" field.

func CorrelationIDNotIn

func CorrelationIDNotIn(vs ...string) predicate.CloudEvent

CorrelationIDNotIn applies the NotIn predicate on the "correlation_id" field.

func CorrelationIDNotNil

func CorrelationIDNotNil() predicate.CloudEvent

CorrelationIDNotNil applies the NotNil predicate on the "correlation_id" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.CloudEvent

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.CloudEvent

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.CloudEvent

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.CloudEvent

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.CloudEvent

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.CloudEvent

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.CloudEvent

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.CloudEvent

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.CloudEvent

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func DedupeKey

func DedupeKey(v string) predicate.CloudEvent

DedupeKey applies equality check predicate on the "dedupe_key" field. It's identical to DedupeKeyEQ.

func DedupeKeyContains

func DedupeKeyContains(v string) predicate.CloudEvent

DedupeKeyContains applies the Contains predicate on the "dedupe_key" field.

func DedupeKeyContainsFold

func DedupeKeyContainsFold(v string) predicate.CloudEvent

DedupeKeyContainsFold applies the ContainsFold predicate on the "dedupe_key" field.

func DedupeKeyEQ

func DedupeKeyEQ(v string) predicate.CloudEvent

DedupeKeyEQ applies the EQ predicate on the "dedupe_key" field.

func DedupeKeyEqualFold

func DedupeKeyEqualFold(v string) predicate.CloudEvent

DedupeKeyEqualFold applies the EqualFold predicate on the "dedupe_key" field.

func DedupeKeyGT

func DedupeKeyGT(v string) predicate.CloudEvent

DedupeKeyGT applies the GT predicate on the "dedupe_key" field.

func DedupeKeyGTE

func DedupeKeyGTE(v string) predicate.CloudEvent

DedupeKeyGTE applies the GTE predicate on the "dedupe_key" field.

func DedupeKeyHasPrefix

func DedupeKeyHasPrefix(v string) predicate.CloudEvent

DedupeKeyHasPrefix applies the HasPrefix predicate on the "dedupe_key" field.

func DedupeKeyHasSuffix

func DedupeKeyHasSuffix(v string) predicate.CloudEvent

DedupeKeyHasSuffix applies the HasSuffix predicate on the "dedupe_key" field.

func DedupeKeyIn

func DedupeKeyIn(vs ...string) predicate.CloudEvent

DedupeKeyIn applies the In predicate on the "dedupe_key" field.

func DedupeKeyLT

func DedupeKeyLT(v string) predicate.CloudEvent

DedupeKeyLT applies the LT predicate on the "dedupe_key" field.

func DedupeKeyLTE

func DedupeKeyLTE(v string) predicate.CloudEvent

DedupeKeyLTE applies the LTE predicate on the "dedupe_key" field.

func DedupeKeyNEQ

func DedupeKeyNEQ(v string) predicate.CloudEvent

DedupeKeyNEQ applies the NEQ predicate on the "dedupe_key" field.

func DedupeKeyNotIn

func DedupeKeyNotIn(vs ...string) predicate.CloudEvent

DedupeKeyNotIn applies the NotIn predicate on the "dedupe_key" field.

func EventType

func EventType(v string) predicate.CloudEvent

EventType applies equality check predicate on the "event_type" field. It's identical to EventTypeEQ.

func EventTypeContains

func EventTypeContains(v string) predicate.CloudEvent

EventTypeContains applies the Contains predicate on the "event_type" field.

func EventTypeContainsFold

func EventTypeContainsFold(v string) predicate.CloudEvent

EventTypeContainsFold applies the ContainsFold predicate on the "event_type" field.

func EventTypeEQ

func EventTypeEQ(v string) predicate.CloudEvent

EventTypeEQ applies the EQ predicate on the "event_type" field.

func EventTypeEqualFold

func EventTypeEqualFold(v string) predicate.CloudEvent

EventTypeEqualFold applies the EqualFold predicate on the "event_type" field.

func EventTypeGT

func EventTypeGT(v string) predicate.CloudEvent

EventTypeGT applies the GT predicate on the "event_type" field.

func EventTypeGTE

func EventTypeGTE(v string) predicate.CloudEvent

EventTypeGTE applies the GTE predicate on the "event_type" field.

func EventTypeHasPrefix

func EventTypeHasPrefix(v string) predicate.CloudEvent

EventTypeHasPrefix applies the HasPrefix predicate on the "event_type" field.

func EventTypeHasSuffix

func EventTypeHasSuffix(v string) predicate.CloudEvent

EventTypeHasSuffix applies the HasSuffix predicate on the "event_type" field.

func EventTypeIn

func EventTypeIn(vs ...string) predicate.CloudEvent

EventTypeIn applies the In predicate on the "event_type" field.

func EventTypeIsNil

func EventTypeIsNil() predicate.CloudEvent

EventTypeIsNil applies the IsNil predicate on the "event_type" field.

func EventTypeLT

func EventTypeLT(v string) predicate.CloudEvent

EventTypeLT applies the LT predicate on the "event_type" field.

func EventTypeLTE

func EventTypeLTE(v string) predicate.CloudEvent

EventTypeLTE applies the LTE predicate on the "event_type" field.

func EventTypeNEQ

func EventTypeNEQ(v string) predicate.CloudEvent

EventTypeNEQ applies the NEQ predicate on the "event_type" field.

func EventTypeNotIn

func EventTypeNotIn(vs ...string) predicate.CloudEvent

EventTypeNotIn applies the NotIn predicate on the "event_type" field.

func EventTypeNotNil

func EventTypeNotNil() predicate.CloudEvent

EventTypeNotNil applies the NotNil predicate on the "event_type" field.

func HasRuns

func HasRuns() predicate.CloudEvent

HasRuns applies the HasEdge predicate on the "runs" edge.

func HasRunsWith

func HasRunsWith(preds ...predicate.BackgroundTaskRun) predicate.CloudEvent

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

func HasUser

func HasUser() predicate.CloudEvent

HasUser applies the HasEdge predicate on the "user" edge.

func HasUserWith

func HasUserWith(preds ...predicate.User) predicate.CloudEvent

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

func ID

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uuid.UUID) predicate.CloudEvent

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uuid.UUID) predicate.CloudEvent

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uuid.UUID) predicate.CloudEvent

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uuid.UUID) predicate.CloudEvent

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uuid.UUID) predicate.CloudEvent

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.CloudEvent

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.CloudEvent

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uuid.UUID) predicate.CloudEvent

IDNotIn applies the NotIn predicate on the ID field.

func MatchedTaskCount

func MatchedTaskCount(v int) predicate.CloudEvent

MatchedTaskCount applies equality check predicate on the "matched_task_count" field. It's identical to MatchedTaskCountEQ.

func MatchedTaskCountEQ

func MatchedTaskCountEQ(v int) predicate.CloudEvent

MatchedTaskCountEQ applies the EQ predicate on the "matched_task_count" field.

func MatchedTaskCountGT

func MatchedTaskCountGT(v int) predicate.CloudEvent

MatchedTaskCountGT applies the GT predicate on the "matched_task_count" field.

func MatchedTaskCountGTE

func MatchedTaskCountGTE(v int) predicate.CloudEvent

MatchedTaskCountGTE applies the GTE predicate on the "matched_task_count" field.

func MatchedTaskCountIn

func MatchedTaskCountIn(vs ...int) predicate.CloudEvent

MatchedTaskCountIn applies the In predicate on the "matched_task_count" field.

func MatchedTaskCountLT

func MatchedTaskCountLT(v int) predicate.CloudEvent

MatchedTaskCountLT applies the LT predicate on the "matched_task_count" field.

func MatchedTaskCountLTE

func MatchedTaskCountLTE(v int) predicate.CloudEvent

MatchedTaskCountLTE applies the LTE predicate on the "matched_task_count" field.

func MatchedTaskCountNEQ

func MatchedTaskCountNEQ(v int) predicate.CloudEvent

MatchedTaskCountNEQ applies the NEQ predicate on the "matched_task_count" field.

func MatchedTaskCountNotIn

func MatchedTaskCountNotIn(vs ...int) predicate.CloudEvent

MatchedTaskCountNotIn applies the NotIn predicate on the "matched_task_count" field.

func Not

Not applies the not operator on the given predicate.

func OccurredAt

func OccurredAt(v time.Time) predicate.CloudEvent

OccurredAt applies equality check predicate on the "occurred_at" field. It's identical to OccurredAtEQ.

func OccurredAtEQ

func OccurredAtEQ(v time.Time) predicate.CloudEvent

OccurredAtEQ applies the EQ predicate on the "occurred_at" field.

func OccurredAtGT

func OccurredAtGT(v time.Time) predicate.CloudEvent

OccurredAtGT applies the GT predicate on the "occurred_at" field.

func OccurredAtGTE

func OccurredAtGTE(v time.Time) predicate.CloudEvent

OccurredAtGTE applies the GTE predicate on the "occurred_at" field.

func OccurredAtIn

func OccurredAtIn(vs ...time.Time) predicate.CloudEvent

OccurredAtIn applies the In predicate on the "occurred_at" field.

func OccurredAtIsNil

func OccurredAtIsNil() predicate.CloudEvent

OccurredAtIsNil applies the IsNil predicate on the "occurred_at" field.

func OccurredAtLT

func OccurredAtLT(v time.Time) predicate.CloudEvent

OccurredAtLT applies the LT predicate on the "occurred_at" field.

func OccurredAtLTE

func OccurredAtLTE(v time.Time) predicate.CloudEvent

OccurredAtLTE applies the LTE predicate on the "occurred_at" field.

func OccurredAtNEQ

func OccurredAtNEQ(v time.Time) predicate.CloudEvent

OccurredAtNEQ applies the NEQ predicate on the "occurred_at" field.

func OccurredAtNotIn

func OccurredAtNotIn(vs ...time.Time) predicate.CloudEvent

OccurredAtNotIn applies the NotIn predicate on the "occurred_at" field.

func OccurredAtNotNil

func OccurredAtNotNil() predicate.CloudEvent

OccurredAtNotNil applies the NotNil predicate on the "occurred_at" field.

func Or

func Or(predicates ...predicate.CloudEvent) predicate.CloudEvent

Or groups predicates with the OR operator between them.

func PayloadCiphertext

func PayloadCiphertext(v []byte) predicate.CloudEvent

PayloadCiphertext applies equality check predicate on the "payload_ciphertext" field. It's identical to PayloadCiphertextEQ.

func PayloadCiphertextEQ

func PayloadCiphertextEQ(v []byte) predicate.CloudEvent

PayloadCiphertextEQ applies the EQ predicate on the "payload_ciphertext" field.

func PayloadCiphertextGT

func PayloadCiphertextGT(v []byte) predicate.CloudEvent

PayloadCiphertextGT applies the GT predicate on the "payload_ciphertext" field.

func PayloadCiphertextGTE

func PayloadCiphertextGTE(v []byte) predicate.CloudEvent

PayloadCiphertextGTE applies the GTE predicate on the "payload_ciphertext" field.

func PayloadCiphertextIn

func PayloadCiphertextIn(vs ...[]byte) predicate.CloudEvent

PayloadCiphertextIn applies the In predicate on the "payload_ciphertext" field.

func PayloadCiphertextIsNil

func PayloadCiphertextIsNil() predicate.CloudEvent

PayloadCiphertextIsNil applies the IsNil predicate on the "payload_ciphertext" field.

func PayloadCiphertextLT

func PayloadCiphertextLT(v []byte) predicate.CloudEvent

PayloadCiphertextLT applies the LT predicate on the "payload_ciphertext" field.

func PayloadCiphertextLTE

func PayloadCiphertextLTE(v []byte) predicate.CloudEvent

PayloadCiphertextLTE applies the LTE predicate on the "payload_ciphertext" field.

func PayloadCiphertextNEQ

func PayloadCiphertextNEQ(v []byte) predicate.CloudEvent

PayloadCiphertextNEQ applies the NEQ predicate on the "payload_ciphertext" field.

func PayloadCiphertextNotIn

func PayloadCiphertextNotIn(vs ...[]byte) predicate.CloudEvent

PayloadCiphertextNotIn applies the NotIn predicate on the "payload_ciphertext" field.

func PayloadCiphertextNotNil

func PayloadCiphertextNotNil() predicate.CloudEvent

PayloadCiphertextNotNil applies the NotNil predicate on the "payload_ciphertext" field.

func ReceivedAt

func ReceivedAt(v time.Time) predicate.CloudEvent

ReceivedAt applies equality check predicate on the "received_at" field. It's identical to ReceivedAtEQ.

func ReceivedAtEQ

func ReceivedAtEQ(v time.Time) predicate.CloudEvent

ReceivedAtEQ applies the EQ predicate on the "received_at" field.

func ReceivedAtGT

func ReceivedAtGT(v time.Time) predicate.CloudEvent

ReceivedAtGT applies the GT predicate on the "received_at" field.

func ReceivedAtGTE

func ReceivedAtGTE(v time.Time) predicate.CloudEvent

ReceivedAtGTE applies the GTE predicate on the "received_at" field.

func ReceivedAtIn

func ReceivedAtIn(vs ...time.Time) predicate.CloudEvent

ReceivedAtIn applies the In predicate on the "received_at" field.

func ReceivedAtLT

func ReceivedAtLT(v time.Time) predicate.CloudEvent

ReceivedAtLT applies the LT predicate on the "received_at" field.

func ReceivedAtLTE

func ReceivedAtLTE(v time.Time) predicate.CloudEvent

ReceivedAtLTE applies the LTE predicate on the "received_at" field.

func ReceivedAtNEQ

func ReceivedAtNEQ(v time.Time) predicate.CloudEvent

ReceivedAtNEQ applies the NEQ predicate on the "received_at" field.

func ReceivedAtNotIn

func ReceivedAtNotIn(vs ...time.Time) predicate.CloudEvent

ReceivedAtNotIn applies the NotIn predicate on the "received_at" field.

func RoutedAt

func RoutedAt(v time.Time) predicate.CloudEvent

RoutedAt applies equality check predicate on the "routed_at" field. It's identical to RoutedAtEQ.

func RoutedAtEQ

func RoutedAtEQ(v time.Time) predicate.CloudEvent

RoutedAtEQ applies the EQ predicate on the "routed_at" field.

func RoutedAtGT

func RoutedAtGT(v time.Time) predicate.CloudEvent

RoutedAtGT applies the GT predicate on the "routed_at" field.

func RoutedAtGTE

func RoutedAtGTE(v time.Time) predicate.CloudEvent

RoutedAtGTE applies the GTE predicate on the "routed_at" field.

func RoutedAtIn

func RoutedAtIn(vs ...time.Time) predicate.CloudEvent

RoutedAtIn applies the In predicate on the "routed_at" field.

func RoutedAtIsNil

func RoutedAtIsNil() predicate.CloudEvent

RoutedAtIsNil applies the IsNil predicate on the "routed_at" field.

func RoutedAtLT

func RoutedAtLT(v time.Time) predicate.CloudEvent

RoutedAtLT applies the LT predicate on the "routed_at" field.

func RoutedAtLTE

func RoutedAtLTE(v time.Time) predicate.CloudEvent

RoutedAtLTE applies the LTE predicate on the "routed_at" field.

func RoutedAtNEQ

func RoutedAtNEQ(v time.Time) predicate.CloudEvent

RoutedAtNEQ applies the NEQ predicate on the "routed_at" field.

func RoutedAtNotIn

func RoutedAtNotIn(vs ...time.Time) predicate.CloudEvent

RoutedAtNotIn applies the NotIn predicate on the "routed_at" field.

func RoutedAtNotNil

func RoutedAtNotNil() predicate.CloudEvent

RoutedAtNotNil applies the NotNil predicate on the "routed_at" field.

func RoutingJSON

func RoutingJSON(v string) predicate.CloudEvent

RoutingJSON applies equality check predicate on the "routing_json" field. It's identical to RoutingJSONEQ.

func RoutingJSONContains

func RoutingJSONContains(v string) predicate.CloudEvent

RoutingJSONContains applies the Contains predicate on the "routing_json" field.

func RoutingJSONContainsFold

func RoutingJSONContainsFold(v string) predicate.CloudEvent

RoutingJSONContainsFold applies the ContainsFold predicate on the "routing_json" field.

func RoutingJSONEQ

func RoutingJSONEQ(v string) predicate.CloudEvent

RoutingJSONEQ applies the EQ predicate on the "routing_json" field.

func RoutingJSONEqualFold

func RoutingJSONEqualFold(v string) predicate.CloudEvent

RoutingJSONEqualFold applies the EqualFold predicate on the "routing_json" field.

func RoutingJSONGT

func RoutingJSONGT(v string) predicate.CloudEvent

RoutingJSONGT applies the GT predicate on the "routing_json" field.

func RoutingJSONGTE

func RoutingJSONGTE(v string) predicate.CloudEvent

RoutingJSONGTE applies the GTE predicate on the "routing_json" field.

func RoutingJSONHasPrefix

func RoutingJSONHasPrefix(v string) predicate.CloudEvent

RoutingJSONHasPrefix applies the HasPrefix predicate on the "routing_json" field.

func RoutingJSONHasSuffix

func RoutingJSONHasSuffix(v string) predicate.CloudEvent

RoutingJSONHasSuffix applies the HasSuffix predicate on the "routing_json" field.

func RoutingJSONIn

func RoutingJSONIn(vs ...string) predicate.CloudEvent

RoutingJSONIn applies the In predicate on the "routing_json" field.

func RoutingJSONIsNil

func RoutingJSONIsNil() predicate.CloudEvent

RoutingJSONIsNil applies the IsNil predicate on the "routing_json" field.

func RoutingJSONLT

func RoutingJSONLT(v string) predicate.CloudEvent

RoutingJSONLT applies the LT predicate on the "routing_json" field.

func RoutingJSONLTE

func RoutingJSONLTE(v string) predicate.CloudEvent

RoutingJSONLTE applies the LTE predicate on the "routing_json" field.

func RoutingJSONNEQ

func RoutingJSONNEQ(v string) predicate.CloudEvent

RoutingJSONNEQ applies the NEQ predicate on the "routing_json" field.

func RoutingJSONNotIn

func RoutingJSONNotIn(vs ...string) predicate.CloudEvent

RoutingJSONNotIn applies the NotIn predicate on the "routing_json" field.

func RoutingJSONNotNil

func RoutingJSONNotNil() predicate.CloudEvent

RoutingJSONNotNil applies the NotNil predicate on the "routing_json" field.

func RoutingStatus

func RoutingStatus(v string) predicate.CloudEvent

RoutingStatus applies equality check predicate on the "routing_status" field. It's identical to RoutingStatusEQ.

func RoutingStatusContains

func RoutingStatusContains(v string) predicate.CloudEvent

RoutingStatusContains applies the Contains predicate on the "routing_status" field.

func RoutingStatusContainsFold

func RoutingStatusContainsFold(v string) predicate.CloudEvent

RoutingStatusContainsFold applies the ContainsFold predicate on the "routing_status" field.

func RoutingStatusEQ

func RoutingStatusEQ(v string) predicate.CloudEvent

RoutingStatusEQ applies the EQ predicate on the "routing_status" field.

func RoutingStatusEqualFold

func RoutingStatusEqualFold(v string) predicate.CloudEvent

RoutingStatusEqualFold applies the EqualFold predicate on the "routing_status" field.

func RoutingStatusGT

func RoutingStatusGT(v string) predicate.CloudEvent

RoutingStatusGT applies the GT predicate on the "routing_status" field.

func RoutingStatusGTE

func RoutingStatusGTE(v string) predicate.CloudEvent

RoutingStatusGTE applies the GTE predicate on the "routing_status" field.

func RoutingStatusHasPrefix

func RoutingStatusHasPrefix(v string) predicate.CloudEvent

RoutingStatusHasPrefix applies the HasPrefix predicate on the "routing_status" field.

func RoutingStatusHasSuffix

func RoutingStatusHasSuffix(v string) predicate.CloudEvent

RoutingStatusHasSuffix applies the HasSuffix predicate on the "routing_status" field.

func RoutingStatusIn

func RoutingStatusIn(vs ...string) predicate.CloudEvent

RoutingStatusIn applies the In predicate on the "routing_status" field.

func RoutingStatusLT

func RoutingStatusLT(v string) predicate.CloudEvent

RoutingStatusLT applies the LT predicate on the "routing_status" field.

func RoutingStatusLTE

func RoutingStatusLTE(v string) predicate.CloudEvent

RoutingStatusLTE applies the LTE predicate on the "routing_status" field.

func RoutingStatusNEQ

func RoutingStatusNEQ(v string) predicate.CloudEvent

RoutingStatusNEQ applies the NEQ predicate on the "routing_status" field.

func RoutingStatusNotIn

func RoutingStatusNotIn(vs ...string) predicate.CloudEvent

RoutingStatusNotIn applies the NotIn predicate on the "routing_status" field.

func Source

func Source(v string) predicate.CloudEvent

Source applies equality check predicate on the "source" field. It's identical to SourceEQ.

func SourceAccountID

func SourceAccountID(v string) predicate.CloudEvent

SourceAccountID applies equality check predicate on the "source_account_id" field. It's identical to SourceAccountIDEQ.

func SourceAccountIDContains

func SourceAccountIDContains(v string) predicate.CloudEvent

SourceAccountIDContains applies the Contains predicate on the "source_account_id" field.

func SourceAccountIDContainsFold

func SourceAccountIDContainsFold(v string) predicate.CloudEvent

SourceAccountIDContainsFold applies the ContainsFold predicate on the "source_account_id" field.

func SourceAccountIDEQ

func SourceAccountIDEQ(v string) predicate.CloudEvent

SourceAccountIDEQ applies the EQ predicate on the "source_account_id" field.

func SourceAccountIDEqualFold

func SourceAccountIDEqualFold(v string) predicate.CloudEvent

SourceAccountIDEqualFold applies the EqualFold predicate on the "source_account_id" field.

func SourceAccountIDGT

func SourceAccountIDGT(v string) predicate.CloudEvent

SourceAccountIDGT applies the GT predicate on the "source_account_id" field.

func SourceAccountIDGTE

func SourceAccountIDGTE(v string) predicate.CloudEvent

SourceAccountIDGTE applies the GTE predicate on the "source_account_id" field.

func SourceAccountIDHasPrefix

func SourceAccountIDHasPrefix(v string) predicate.CloudEvent

SourceAccountIDHasPrefix applies the HasPrefix predicate on the "source_account_id" field.

func SourceAccountIDHasSuffix

func SourceAccountIDHasSuffix(v string) predicate.CloudEvent

SourceAccountIDHasSuffix applies the HasSuffix predicate on the "source_account_id" field.

func SourceAccountIDIn

func SourceAccountIDIn(vs ...string) predicate.CloudEvent

SourceAccountIDIn applies the In predicate on the "source_account_id" field.

func SourceAccountIDIsNil

func SourceAccountIDIsNil() predicate.CloudEvent

SourceAccountIDIsNil applies the IsNil predicate on the "source_account_id" field.

func SourceAccountIDLT

func SourceAccountIDLT(v string) predicate.CloudEvent

SourceAccountIDLT applies the LT predicate on the "source_account_id" field.

func SourceAccountIDLTE

func SourceAccountIDLTE(v string) predicate.CloudEvent

SourceAccountIDLTE applies the LTE predicate on the "source_account_id" field.

func SourceAccountIDNEQ

func SourceAccountIDNEQ(v string) predicate.CloudEvent

SourceAccountIDNEQ applies the NEQ predicate on the "source_account_id" field.

func SourceAccountIDNotIn

func SourceAccountIDNotIn(vs ...string) predicate.CloudEvent

SourceAccountIDNotIn applies the NotIn predicate on the "source_account_id" field.

func SourceAccountIDNotNil

func SourceAccountIDNotNil() predicate.CloudEvent

SourceAccountIDNotNil applies the NotNil predicate on the "source_account_id" field.

func SourceContains

func SourceContains(v string) predicate.CloudEvent

SourceContains applies the Contains predicate on the "source" field.

func SourceContainsFold

func SourceContainsFold(v string) predicate.CloudEvent

SourceContainsFold applies the ContainsFold predicate on the "source" field.

func SourceEQ

func SourceEQ(v string) predicate.CloudEvent

SourceEQ applies the EQ predicate on the "source" field.

func SourceEqualFold

func SourceEqualFold(v string) predicate.CloudEvent

SourceEqualFold applies the EqualFold predicate on the "source" field.

func SourceEventID

func SourceEventID(v string) predicate.CloudEvent

SourceEventID applies equality check predicate on the "source_event_id" field. It's identical to SourceEventIDEQ.

func SourceEventIDContains

func SourceEventIDContains(v string) predicate.CloudEvent

SourceEventIDContains applies the Contains predicate on the "source_event_id" field.

func SourceEventIDContainsFold

func SourceEventIDContainsFold(v string) predicate.CloudEvent

SourceEventIDContainsFold applies the ContainsFold predicate on the "source_event_id" field.

func SourceEventIDEQ

func SourceEventIDEQ(v string) predicate.CloudEvent

SourceEventIDEQ applies the EQ predicate on the "source_event_id" field.

func SourceEventIDEqualFold

func SourceEventIDEqualFold(v string) predicate.CloudEvent

SourceEventIDEqualFold applies the EqualFold predicate on the "source_event_id" field.

func SourceEventIDGT

func SourceEventIDGT(v string) predicate.CloudEvent

SourceEventIDGT applies the GT predicate on the "source_event_id" field.

func SourceEventIDGTE

func SourceEventIDGTE(v string) predicate.CloudEvent

SourceEventIDGTE applies the GTE predicate on the "source_event_id" field.

func SourceEventIDHasPrefix

func SourceEventIDHasPrefix(v string) predicate.CloudEvent

SourceEventIDHasPrefix applies the HasPrefix predicate on the "source_event_id" field.

func SourceEventIDHasSuffix

func SourceEventIDHasSuffix(v string) predicate.CloudEvent

SourceEventIDHasSuffix applies the HasSuffix predicate on the "source_event_id" field.

func SourceEventIDIn

func SourceEventIDIn(vs ...string) predicate.CloudEvent

SourceEventIDIn applies the In predicate on the "source_event_id" field.

func SourceEventIDIsNil

func SourceEventIDIsNil() predicate.CloudEvent

SourceEventIDIsNil applies the IsNil predicate on the "source_event_id" field.

func SourceEventIDLT

func SourceEventIDLT(v string) predicate.CloudEvent

SourceEventIDLT applies the LT predicate on the "source_event_id" field.

func SourceEventIDLTE

func SourceEventIDLTE(v string) predicate.CloudEvent

SourceEventIDLTE applies the LTE predicate on the "source_event_id" field.

func SourceEventIDNEQ

func SourceEventIDNEQ(v string) predicate.CloudEvent

SourceEventIDNEQ applies the NEQ predicate on the "source_event_id" field.

func SourceEventIDNotIn

func SourceEventIDNotIn(vs ...string) predicate.CloudEvent

SourceEventIDNotIn applies the NotIn predicate on the "source_event_id" field.

func SourceEventIDNotNil

func SourceEventIDNotNil() predicate.CloudEvent

SourceEventIDNotNil applies the NotNil predicate on the "source_event_id" field.

func SourceGT

func SourceGT(v string) predicate.CloudEvent

SourceGT applies the GT predicate on the "source" field.

func SourceGTE

func SourceGTE(v string) predicate.CloudEvent

SourceGTE applies the GTE predicate on the "source" field.

func SourceHasPrefix

func SourceHasPrefix(v string) predicate.CloudEvent

SourceHasPrefix applies the HasPrefix predicate on the "source" field.

func SourceHasSuffix

func SourceHasSuffix(v string) predicate.CloudEvent

SourceHasSuffix applies the HasSuffix predicate on the "source" field.

func SourceIn

func SourceIn(vs ...string) predicate.CloudEvent

SourceIn applies the In predicate on the "source" field.

func SourceLT

func SourceLT(v string) predicate.CloudEvent

SourceLT applies the LT predicate on the "source" field.

func SourceLTE

func SourceLTE(v string) predicate.CloudEvent

SourceLTE applies the LTE predicate on the "source" field.

func SourceNEQ

func SourceNEQ(v string) predicate.CloudEvent

SourceNEQ applies the NEQ predicate on the "source" field.

func SourceNotIn

func SourceNotIn(vs ...string) predicate.CloudEvent

SourceNotIn applies the NotIn predicate on the "source" field.

func Subject

func Subject(v string) predicate.CloudEvent

Subject applies equality check predicate on the "subject" field. It's identical to SubjectEQ.

func SubjectContains

func SubjectContains(v string) predicate.CloudEvent

SubjectContains applies the Contains predicate on the "subject" field.

func SubjectContainsFold

func SubjectContainsFold(v string) predicate.CloudEvent

SubjectContainsFold applies the ContainsFold predicate on the "subject" field.

func SubjectEQ

func SubjectEQ(v string) predicate.CloudEvent

SubjectEQ applies the EQ predicate on the "subject" field.

func SubjectEqualFold

func SubjectEqualFold(v string) predicate.CloudEvent

SubjectEqualFold applies the EqualFold predicate on the "subject" field.

func SubjectGT

func SubjectGT(v string) predicate.CloudEvent

SubjectGT applies the GT predicate on the "subject" field.

func SubjectGTE

func SubjectGTE(v string) predicate.CloudEvent

SubjectGTE applies the GTE predicate on the "subject" field.

func SubjectHasPrefix

func SubjectHasPrefix(v string) predicate.CloudEvent

SubjectHasPrefix applies the HasPrefix predicate on the "subject" field.

func SubjectHasSuffix

func SubjectHasSuffix(v string) predicate.CloudEvent

SubjectHasSuffix applies the HasSuffix predicate on the "subject" field.

func SubjectIn

func SubjectIn(vs ...string) predicate.CloudEvent

SubjectIn applies the In predicate on the "subject" field.

func SubjectIsNil

func SubjectIsNil() predicate.CloudEvent

SubjectIsNil applies the IsNil predicate on the "subject" field.

func SubjectLT

func SubjectLT(v string) predicate.CloudEvent

SubjectLT applies the LT predicate on the "subject" field.

func SubjectLTE

func SubjectLTE(v string) predicate.CloudEvent

SubjectLTE applies the LTE predicate on the "subject" field.

func SubjectNEQ

func SubjectNEQ(v string) predicate.CloudEvent

SubjectNEQ applies the NEQ predicate on the "subject" field.

func SubjectNotIn

func SubjectNotIn(vs ...string) predicate.CloudEvent

SubjectNotIn applies the NotIn predicate on the "subject" field.

func SubjectNotNil

func SubjectNotNil() predicate.CloudEvent

SubjectNotNil applies the NotNil predicate on the "subject" field.

func Text

func Text(v string) predicate.CloudEvent

Text applies equality check predicate on the "text" field. It's identical to TextEQ.

func TextContains

func TextContains(v string) predicate.CloudEvent

TextContains applies the Contains predicate on the "text" field.

func TextContainsFold

func TextContainsFold(v string) predicate.CloudEvent

TextContainsFold applies the ContainsFold predicate on the "text" field.

func TextEQ

func TextEQ(v string) predicate.CloudEvent

TextEQ applies the EQ predicate on the "text" field.

func TextEqualFold

func TextEqualFold(v string) predicate.CloudEvent

TextEqualFold applies the EqualFold predicate on the "text" field.

func TextGT

func TextGT(v string) predicate.CloudEvent

TextGT applies the GT predicate on the "text" field.

func TextGTE

func TextGTE(v string) predicate.CloudEvent

TextGTE applies the GTE predicate on the "text" field.

func TextHasPrefix

func TextHasPrefix(v string) predicate.CloudEvent

TextHasPrefix applies the HasPrefix predicate on the "text" field.

func TextHasSuffix

func TextHasSuffix(v string) predicate.CloudEvent

TextHasSuffix applies the HasSuffix predicate on the "text" field.

func TextIn

func TextIn(vs ...string) predicate.CloudEvent

TextIn applies the In predicate on the "text" field.

func TextIsNil

func TextIsNil() predicate.CloudEvent

TextIsNil applies the IsNil predicate on the "text" field.

func TextLT

func TextLT(v string) predicate.CloudEvent

TextLT applies the LT predicate on the "text" field.

func TextLTE

func TextLTE(v string) predicate.CloudEvent

TextLTE applies the LTE predicate on the "text" field.

func TextNEQ

func TextNEQ(v string) predicate.CloudEvent

TextNEQ applies the NEQ predicate on the "text" field.

func TextNotIn

func TextNotIn(vs ...string) predicate.CloudEvent

TextNotIn applies the NotIn predicate on the "text" field.

func TextNotNil

func TextNotNil() predicate.CloudEvent

TextNotNil applies the NotNil predicate on the "text" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.CloudEvent

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.CloudEvent

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.CloudEvent

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.CloudEvent

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.CloudEvent

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.CloudEvent

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.CloudEvent

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.CloudEvent

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.CloudEvent

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).

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the CloudEvent queries.

func ByCorrelationID

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

ByCorrelationID orders the results by the correlation_id field.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByDedupeKey

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

ByDedupeKey orders the results by the dedupe_key field.

func ByEventType

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

ByEventType orders the results by the event_type field.

func ByID

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

ByID orders the results by the id field.

func ByMatchedTaskCount

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

ByMatchedTaskCount orders the results by the matched_task_count field.

func ByOccurredAt

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

ByOccurredAt orders the results by the occurred_at field.

func ByReceivedAt

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

ByReceivedAt orders the results by the received_at field.

func ByRoutedAt

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

ByRoutedAt orders the results by the routed_at field.

func ByRoutingJSON

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

ByRoutingJSON orders the results by the routing_json field.

func ByRoutingStatus

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

ByRoutingStatus orders the results by the routing_status field.

func ByRuns

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

ByRuns orders the results by runs terms.

func ByRunsCount

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

ByRunsCount orders the results by runs count.

func BySource

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

BySource orders the results by the source field.

func BySourceAccountID

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

BySourceAccountID orders the results by the source_account_id field.

func BySourceEventID

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

BySourceEventID orders the results by the source_event_id field.

func BySubject

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

BySubject orders the results by the subject field.

func ByText

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

ByText orders the results by the text field.

func ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

func ByUserField

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

ByUserField orders the results by user field.

Jump to

Keyboard shortcuts

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