sourcesyncevent

package
v1.45.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the sourcesyncevent type in the database.
	Label = "source_sync_event"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldStartedAt holds the string denoting the started_at field in the database.
	FieldStartedAt = "started_at"
	// FieldFinishedAt holds the string denoting the finished_at field in the database.
	FieldFinishedAt = "finished_at"
	// FieldItemsCreated holds the string denoting the items_created field in the database.
	FieldItemsCreated = "items_created"
	// FieldItemsUpdated holds the string denoting the items_updated field in the database.
	FieldItemsUpdated = "items_updated"
	// FieldItemsSkipped holds the string denoting the items_skipped field in the database.
	FieldItemsSkipped = "items_skipped"
	// FieldItemsErrored holds the string denoting the items_errored field in the database.
	FieldItemsErrored = "items_errored"
	// FieldErrorMessage holds the string denoting the error_message field in the database.
	FieldErrorMessage = "error_message"
	// FieldCursorAfter holds the string denoting the cursor_after field in the database.
	FieldCursorAfter = "cursor_after"
	// EdgeSource holds the string denoting the source edge name in mutations.
	EdgeSource = "source"
	// Table holds the table name of the sourcesyncevent in the database.
	Table = "source_sync_events"
	// SourceTable is the table that holds the source relation/edge.
	SourceTable = "source_sync_events"
	// SourceInverseTable is the table name for the ItemSource entity.
	// It exists in this package in order to avoid circular dependency with the "itemsource" package.
	SourceInverseTable = "item_sources"
	// SourceColumn is the table column denoting the source relation/edge.
	SourceColumn = "item_source_sync_events"
)

Variables

View Source
var (
	// DefaultStartedAt holds the default value on creation for the "started_at" field.
	DefaultStartedAt func() time.Time
	// DefaultItemsCreated holds the default value on creation for the "items_created" field.
	DefaultItemsCreated int
	// DefaultItemsUpdated holds the default value on creation for the "items_updated" field.
	DefaultItemsUpdated int
	// DefaultItemsSkipped holds the default value on creation for the "items_skipped" field.
	DefaultItemsSkipped int
	// DefaultItemsErrored holds the default value on creation for the "items_errored" field.
	DefaultItemsErrored int
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() uuid.UUID
)

Columns holds all SQL columns for sourcesyncevent fields.

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

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

Functions

func And

And groups predicates with the AND operator between them.

func CursorAfter

func CursorAfter(v string) predicate.SourceSyncEvent

CursorAfter applies equality check predicate on the "cursor_after" field. It's identical to CursorAfterEQ.

func CursorAfterContains

func CursorAfterContains(v string) predicate.SourceSyncEvent

CursorAfterContains applies the Contains predicate on the "cursor_after" field.

func CursorAfterContainsFold

func CursorAfterContainsFold(v string) predicate.SourceSyncEvent

CursorAfterContainsFold applies the ContainsFold predicate on the "cursor_after" field.

func CursorAfterEQ

func CursorAfterEQ(v string) predicate.SourceSyncEvent

CursorAfterEQ applies the EQ predicate on the "cursor_after" field.

func CursorAfterEqualFold

func CursorAfterEqualFold(v string) predicate.SourceSyncEvent

CursorAfterEqualFold applies the EqualFold predicate on the "cursor_after" field.

func CursorAfterGT

func CursorAfterGT(v string) predicate.SourceSyncEvent

CursorAfterGT applies the GT predicate on the "cursor_after" field.

func CursorAfterGTE

func CursorAfterGTE(v string) predicate.SourceSyncEvent

CursorAfterGTE applies the GTE predicate on the "cursor_after" field.

func CursorAfterHasPrefix

func CursorAfterHasPrefix(v string) predicate.SourceSyncEvent

CursorAfterHasPrefix applies the HasPrefix predicate on the "cursor_after" field.

func CursorAfterHasSuffix

func CursorAfterHasSuffix(v string) predicate.SourceSyncEvent

CursorAfterHasSuffix applies the HasSuffix predicate on the "cursor_after" field.

func CursorAfterIn

func CursorAfterIn(vs ...string) predicate.SourceSyncEvent

CursorAfterIn applies the In predicate on the "cursor_after" field.

func CursorAfterIsNil

func CursorAfterIsNil() predicate.SourceSyncEvent

CursorAfterIsNil applies the IsNil predicate on the "cursor_after" field.

func CursorAfterLT

func CursorAfterLT(v string) predicate.SourceSyncEvent

CursorAfterLT applies the LT predicate on the "cursor_after" field.

func CursorAfterLTE

func CursorAfterLTE(v string) predicate.SourceSyncEvent

CursorAfterLTE applies the LTE predicate on the "cursor_after" field.

func CursorAfterNEQ

func CursorAfterNEQ(v string) predicate.SourceSyncEvent

CursorAfterNEQ applies the NEQ predicate on the "cursor_after" field.

func CursorAfterNotIn

func CursorAfterNotIn(vs ...string) predicate.SourceSyncEvent

CursorAfterNotIn applies the NotIn predicate on the "cursor_after" field.

func CursorAfterNotNil

func CursorAfterNotNil() predicate.SourceSyncEvent

CursorAfterNotNil applies the NotNil predicate on the "cursor_after" field.

func ErrorMessage

func ErrorMessage(v string) predicate.SourceSyncEvent

ErrorMessage applies equality check predicate on the "error_message" field. It's identical to ErrorMessageEQ.

func ErrorMessageContains

func ErrorMessageContains(v string) predicate.SourceSyncEvent

ErrorMessageContains applies the Contains predicate on the "error_message" field.

func ErrorMessageContainsFold

func ErrorMessageContainsFold(v string) predicate.SourceSyncEvent

ErrorMessageContainsFold applies the ContainsFold predicate on the "error_message" field.

func ErrorMessageEQ

func ErrorMessageEQ(v string) predicate.SourceSyncEvent

ErrorMessageEQ applies the EQ predicate on the "error_message" field.

func ErrorMessageEqualFold

func ErrorMessageEqualFold(v string) predicate.SourceSyncEvent

ErrorMessageEqualFold applies the EqualFold predicate on the "error_message" field.

func ErrorMessageGT

func ErrorMessageGT(v string) predicate.SourceSyncEvent

ErrorMessageGT applies the GT predicate on the "error_message" field.

func ErrorMessageGTE

func ErrorMessageGTE(v string) predicate.SourceSyncEvent

ErrorMessageGTE applies the GTE predicate on the "error_message" field.

func ErrorMessageHasPrefix

func ErrorMessageHasPrefix(v string) predicate.SourceSyncEvent

ErrorMessageHasPrefix applies the HasPrefix predicate on the "error_message" field.

func ErrorMessageHasSuffix

func ErrorMessageHasSuffix(v string) predicate.SourceSyncEvent

ErrorMessageHasSuffix applies the HasSuffix predicate on the "error_message" field.

func ErrorMessageIn

func ErrorMessageIn(vs ...string) predicate.SourceSyncEvent

ErrorMessageIn applies the In predicate on the "error_message" field.

func ErrorMessageIsNil

func ErrorMessageIsNil() predicate.SourceSyncEvent

ErrorMessageIsNil applies the IsNil predicate on the "error_message" field.

func ErrorMessageLT

func ErrorMessageLT(v string) predicate.SourceSyncEvent

ErrorMessageLT applies the LT predicate on the "error_message" field.

func ErrorMessageLTE

func ErrorMessageLTE(v string) predicate.SourceSyncEvent

ErrorMessageLTE applies the LTE predicate on the "error_message" field.

func ErrorMessageNEQ

func ErrorMessageNEQ(v string) predicate.SourceSyncEvent

ErrorMessageNEQ applies the NEQ predicate on the "error_message" field.

func ErrorMessageNotIn

func ErrorMessageNotIn(vs ...string) predicate.SourceSyncEvent

ErrorMessageNotIn applies the NotIn predicate on the "error_message" field.

func ErrorMessageNotNil

func ErrorMessageNotNil() predicate.SourceSyncEvent

ErrorMessageNotNil applies the NotNil predicate on the "error_message" field.

func FinishedAt

func FinishedAt(v time.Time) predicate.SourceSyncEvent

FinishedAt applies equality check predicate on the "finished_at" field. It's identical to FinishedAtEQ.

func FinishedAtEQ

func FinishedAtEQ(v time.Time) predicate.SourceSyncEvent

FinishedAtEQ applies the EQ predicate on the "finished_at" field.

func FinishedAtGT

func FinishedAtGT(v time.Time) predicate.SourceSyncEvent

FinishedAtGT applies the GT predicate on the "finished_at" field.

func FinishedAtGTE

func FinishedAtGTE(v time.Time) predicate.SourceSyncEvent

FinishedAtGTE applies the GTE predicate on the "finished_at" field.

func FinishedAtIn

func FinishedAtIn(vs ...time.Time) predicate.SourceSyncEvent

FinishedAtIn applies the In predicate on the "finished_at" field.

func FinishedAtIsNil

func FinishedAtIsNil() predicate.SourceSyncEvent

FinishedAtIsNil applies the IsNil predicate on the "finished_at" field.

func FinishedAtLT

func FinishedAtLT(v time.Time) predicate.SourceSyncEvent

FinishedAtLT applies the LT predicate on the "finished_at" field.

func FinishedAtLTE

func FinishedAtLTE(v time.Time) predicate.SourceSyncEvent

FinishedAtLTE applies the LTE predicate on the "finished_at" field.

func FinishedAtNEQ

func FinishedAtNEQ(v time.Time) predicate.SourceSyncEvent

FinishedAtNEQ applies the NEQ predicate on the "finished_at" field.

func FinishedAtNotIn

func FinishedAtNotIn(vs ...time.Time) predicate.SourceSyncEvent

FinishedAtNotIn applies the NotIn predicate on the "finished_at" field.

func FinishedAtNotNil

func FinishedAtNotNil() predicate.SourceSyncEvent

FinishedAtNotNil applies the NotNil predicate on the "finished_at" field.

func HasSource

func HasSource() predicate.SourceSyncEvent

HasSource applies the HasEdge predicate on the "source" edge.

func HasSourceWith

func HasSourceWith(preds ...predicate.ItemSource) predicate.SourceSyncEvent

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

func ID

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func ItemsCreated

func ItemsCreated(v int) predicate.SourceSyncEvent

ItemsCreated applies equality check predicate on the "items_created" field. It's identical to ItemsCreatedEQ.

func ItemsCreatedEQ

func ItemsCreatedEQ(v int) predicate.SourceSyncEvent

ItemsCreatedEQ applies the EQ predicate on the "items_created" field.

func ItemsCreatedGT

func ItemsCreatedGT(v int) predicate.SourceSyncEvent

ItemsCreatedGT applies the GT predicate on the "items_created" field.

func ItemsCreatedGTE

func ItemsCreatedGTE(v int) predicate.SourceSyncEvent

ItemsCreatedGTE applies the GTE predicate on the "items_created" field.

func ItemsCreatedIn

func ItemsCreatedIn(vs ...int) predicate.SourceSyncEvent

ItemsCreatedIn applies the In predicate on the "items_created" field.

func ItemsCreatedLT

func ItemsCreatedLT(v int) predicate.SourceSyncEvent

ItemsCreatedLT applies the LT predicate on the "items_created" field.

func ItemsCreatedLTE

func ItemsCreatedLTE(v int) predicate.SourceSyncEvent

ItemsCreatedLTE applies the LTE predicate on the "items_created" field.

func ItemsCreatedNEQ

func ItemsCreatedNEQ(v int) predicate.SourceSyncEvent

ItemsCreatedNEQ applies the NEQ predicate on the "items_created" field.

func ItemsCreatedNotIn

func ItemsCreatedNotIn(vs ...int) predicate.SourceSyncEvent

ItemsCreatedNotIn applies the NotIn predicate on the "items_created" field.

func ItemsErrored

func ItemsErrored(v int) predicate.SourceSyncEvent

ItemsErrored applies equality check predicate on the "items_errored" field. It's identical to ItemsErroredEQ.

func ItemsErroredEQ

func ItemsErroredEQ(v int) predicate.SourceSyncEvent

ItemsErroredEQ applies the EQ predicate on the "items_errored" field.

func ItemsErroredGT

func ItemsErroredGT(v int) predicate.SourceSyncEvent

ItemsErroredGT applies the GT predicate on the "items_errored" field.

func ItemsErroredGTE

func ItemsErroredGTE(v int) predicate.SourceSyncEvent

ItemsErroredGTE applies the GTE predicate on the "items_errored" field.

func ItemsErroredIn

func ItemsErroredIn(vs ...int) predicate.SourceSyncEvent

ItemsErroredIn applies the In predicate on the "items_errored" field.

func ItemsErroredLT

func ItemsErroredLT(v int) predicate.SourceSyncEvent

ItemsErroredLT applies the LT predicate on the "items_errored" field.

func ItemsErroredLTE

func ItemsErroredLTE(v int) predicate.SourceSyncEvent

ItemsErroredLTE applies the LTE predicate on the "items_errored" field.

func ItemsErroredNEQ

func ItemsErroredNEQ(v int) predicate.SourceSyncEvent

ItemsErroredNEQ applies the NEQ predicate on the "items_errored" field.

func ItemsErroredNotIn

func ItemsErroredNotIn(vs ...int) predicate.SourceSyncEvent

ItemsErroredNotIn applies the NotIn predicate on the "items_errored" field.

func ItemsSkipped

func ItemsSkipped(v int) predicate.SourceSyncEvent

ItemsSkipped applies equality check predicate on the "items_skipped" field. It's identical to ItemsSkippedEQ.

func ItemsSkippedEQ

func ItemsSkippedEQ(v int) predicate.SourceSyncEvent

ItemsSkippedEQ applies the EQ predicate on the "items_skipped" field.

func ItemsSkippedGT

func ItemsSkippedGT(v int) predicate.SourceSyncEvent

ItemsSkippedGT applies the GT predicate on the "items_skipped" field.

func ItemsSkippedGTE

func ItemsSkippedGTE(v int) predicate.SourceSyncEvent

ItemsSkippedGTE applies the GTE predicate on the "items_skipped" field.

func ItemsSkippedIn

func ItemsSkippedIn(vs ...int) predicate.SourceSyncEvent

ItemsSkippedIn applies the In predicate on the "items_skipped" field.

func ItemsSkippedLT

func ItemsSkippedLT(v int) predicate.SourceSyncEvent

ItemsSkippedLT applies the LT predicate on the "items_skipped" field.

func ItemsSkippedLTE

func ItemsSkippedLTE(v int) predicate.SourceSyncEvent

ItemsSkippedLTE applies the LTE predicate on the "items_skipped" field.

func ItemsSkippedNEQ

func ItemsSkippedNEQ(v int) predicate.SourceSyncEvent

ItemsSkippedNEQ applies the NEQ predicate on the "items_skipped" field.

func ItemsSkippedNotIn

func ItemsSkippedNotIn(vs ...int) predicate.SourceSyncEvent

ItemsSkippedNotIn applies the NotIn predicate on the "items_skipped" field.

func ItemsUpdated

func ItemsUpdated(v int) predicate.SourceSyncEvent

ItemsUpdated applies equality check predicate on the "items_updated" field. It's identical to ItemsUpdatedEQ.

func ItemsUpdatedEQ

func ItemsUpdatedEQ(v int) predicate.SourceSyncEvent

ItemsUpdatedEQ applies the EQ predicate on the "items_updated" field.

func ItemsUpdatedGT

func ItemsUpdatedGT(v int) predicate.SourceSyncEvent

ItemsUpdatedGT applies the GT predicate on the "items_updated" field.

func ItemsUpdatedGTE

func ItemsUpdatedGTE(v int) predicate.SourceSyncEvent

ItemsUpdatedGTE applies the GTE predicate on the "items_updated" field.

func ItemsUpdatedIn

func ItemsUpdatedIn(vs ...int) predicate.SourceSyncEvent

ItemsUpdatedIn applies the In predicate on the "items_updated" field.

func ItemsUpdatedLT

func ItemsUpdatedLT(v int) predicate.SourceSyncEvent

ItemsUpdatedLT applies the LT predicate on the "items_updated" field.

func ItemsUpdatedLTE

func ItemsUpdatedLTE(v int) predicate.SourceSyncEvent

ItemsUpdatedLTE applies the LTE predicate on the "items_updated" field.

func ItemsUpdatedNEQ

func ItemsUpdatedNEQ(v int) predicate.SourceSyncEvent

ItemsUpdatedNEQ applies the NEQ predicate on the "items_updated" field.

func ItemsUpdatedNotIn

func ItemsUpdatedNotIn(vs ...int) predicate.SourceSyncEvent

ItemsUpdatedNotIn applies the NotIn predicate on the "items_updated" field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func StartedAt

func StartedAt(v time.Time) predicate.SourceSyncEvent

StartedAt applies equality check predicate on the "started_at" field. It's identical to StartedAtEQ.

func StartedAtEQ

func StartedAtEQ(v time.Time) predicate.SourceSyncEvent

StartedAtEQ applies the EQ predicate on the "started_at" field.

func StartedAtGT

func StartedAtGT(v time.Time) predicate.SourceSyncEvent

StartedAtGT applies the GT predicate on the "started_at" field.

func StartedAtGTE

func StartedAtGTE(v time.Time) predicate.SourceSyncEvent

StartedAtGTE applies the GTE predicate on the "started_at" field.

func StartedAtIn

func StartedAtIn(vs ...time.Time) predicate.SourceSyncEvent

StartedAtIn applies the In predicate on the "started_at" field.

func StartedAtLT

func StartedAtLT(v time.Time) predicate.SourceSyncEvent

StartedAtLT applies the LT predicate on the "started_at" field.

func StartedAtLTE

func StartedAtLTE(v time.Time) predicate.SourceSyncEvent

StartedAtLTE applies the LTE predicate on the "started_at" field.

func StartedAtNEQ

func StartedAtNEQ(v time.Time) predicate.SourceSyncEvent

StartedAtNEQ applies the NEQ predicate on the "started_at" field.

func StartedAtNotIn

func StartedAtNotIn(vs ...time.Time) predicate.SourceSyncEvent

StartedAtNotIn applies the NotIn predicate on the "started_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 SourceSyncEvent queries.

func ByCursorAfter

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

ByCursorAfter orders the results by the cursor_after field.

func ByErrorMessage

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

ByErrorMessage orders the results by the error_message field.

func ByFinishedAt

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

ByFinishedAt orders the results by the finished_at field.

func ByID

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

ByID orders the results by the id field.

func ByItemsCreated

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

ByItemsCreated orders the results by the items_created field.

func ByItemsErrored

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

ByItemsErrored orders the results by the items_errored field.

func ByItemsSkipped

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

ByItemsSkipped orders the results by the items_skipped field.

func ByItemsUpdated

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

ByItemsUpdated orders the results by the items_updated field.

func BySourceField

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

BySourceField orders the results by source field.

func ByStartedAt

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

ByStartedAt orders the results by the started_at field.

Jump to

Keyboard shortcuts

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