events

package
Version: v0.5.6 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the events type in the database.
	Label = "events"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "oid"
	// FieldEvents holds the string denoting the events field in the database.
	FieldEvents = "events"
	// FieldCorrelations holds the string denoting the correlations field in the database.
	FieldCorrelations = "correlations"
	// FieldSignature holds the string denoting the signature field in the database.
	FieldSignature = "signature"
	// FieldCount holds the string denoting the count field in the database.
	FieldCount = "count"
	// EdgeWorkflow holds the string denoting the workflow edge name in mutations.
	EdgeWorkflow = "workflow"
	// EdgeWfeventswait holds the string denoting the wfeventswait edge name in mutations.
	EdgeWfeventswait = "wfeventswait"
	// EdgeInstance holds the string denoting the instance edge name in mutations.
	EdgeInstance = "instance"
	// Table holds the table name of the events in the database.
	Table = "events"
	// WorkflowTable is the table that holds the workflow relation/edge.
	WorkflowTable = "events"
	// WorkflowInverseTable is the table name for the Workflow entity.
	// It exists in this package in order to avoid circular dependency with the "workflow" package.
	WorkflowInverseTable = "workflows"
	// WorkflowColumn is the table column denoting the workflow relation/edge.
	WorkflowColumn = "workflow_wfevents"
	// WfeventswaitTable is the table that holds the wfeventswait relation/edge.
	WfeventswaitTable = "events_waits"
	// WfeventswaitInverseTable is the table name for the EventsWait entity.
	// It exists in this package in order to avoid circular dependency with the "eventswait" package.
	WfeventswaitInverseTable = "events_waits"
	// WfeventswaitColumn is the table column denoting the wfeventswait relation/edge.
	WfeventswaitColumn = "events_wfeventswait"
	// InstanceTable is the table that holds the instance relation/edge.
	InstanceTable = "events"
	// InstanceInverseTable is the table name for the Instance entity.
	// It exists in this package in order to avoid circular dependency with the "instance" package.
	InstanceInverseTable = "instances"
	// InstanceColumn is the table column denoting the instance relation/edge.
	InstanceColumn = "instance_eventlisteners"
)

Variables

Columns holds all SQL columns for events fields.

View Source
var (
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() uuid.UUID
)
View Source
var ForeignKeys = []string{
	"instance_eventlisteners",
	"workflow_wfevents",
}

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

Functions

func And

func And(predicates ...predicate.Events) predicate.Events

And groups predicates with the AND operator between them.

func Count

func Count(v int) predicate.Events

Count applies equality check predicate on the "count" field. It's identical to CountEQ.

func CountEQ

func CountEQ(v int) predicate.Events

CountEQ applies the EQ predicate on the "count" field.

func CountGT

func CountGT(v int) predicate.Events

CountGT applies the GT predicate on the "count" field.

func CountGTE

func CountGTE(v int) predicate.Events

CountGTE applies the GTE predicate on the "count" field.

func CountIn

func CountIn(vs ...int) predicate.Events

CountIn applies the In predicate on the "count" field.

func CountLT

func CountLT(v int) predicate.Events

CountLT applies the LT predicate on the "count" field.

func CountLTE

func CountLTE(v int) predicate.Events

CountLTE applies the LTE predicate on the "count" field.

func CountNEQ

func CountNEQ(v int) predicate.Events

CountNEQ applies the NEQ predicate on the "count" field.

func CountNotIn

func CountNotIn(vs ...int) predicate.Events

CountNotIn applies the NotIn predicate on the "count" field.

func HasInstance

func HasInstance() predicate.Events

HasInstance applies the HasEdge predicate on the "instance" edge.

func HasInstanceWith

func HasInstanceWith(preds ...predicate.Instance) predicate.Events

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

func HasWfeventswait

func HasWfeventswait() predicate.Events

HasWfeventswait applies the HasEdge predicate on the "wfeventswait" edge.

func HasWfeventswaitWith

func HasWfeventswaitWith(preds ...predicate.EventsWait) predicate.Events

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

func HasWorkflow

func HasWorkflow() predicate.Events

HasWorkflow applies the HasEdge predicate on the "workflow" edge.

func HasWorkflowWith

func HasWorkflowWith(preds ...predicate.Workflow) predicate.Events

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

func ID

func ID(id uuid.UUID) predicate.Events

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uuid.UUID) predicate.Events

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uuid.UUID) predicate.Events

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uuid.UUID) predicate.Events

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uuid.UUID) predicate.Events

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.Events

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.Events

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Events) predicate.Events

Or groups predicates with the OR operator between them.

func Signature

func Signature(v []byte) predicate.Events

Signature applies equality check predicate on the "signature" field. It's identical to SignatureEQ.

func SignatureEQ

func SignatureEQ(v []byte) predicate.Events

SignatureEQ applies the EQ predicate on the "signature" field.

func SignatureGT

func SignatureGT(v []byte) predicate.Events

SignatureGT applies the GT predicate on the "signature" field.

func SignatureGTE

func SignatureGTE(v []byte) predicate.Events

SignatureGTE applies the GTE predicate on the "signature" field.

func SignatureIn

func SignatureIn(vs ...[]byte) predicate.Events

SignatureIn applies the In predicate on the "signature" field.

func SignatureIsNil

func SignatureIsNil() predicate.Events

SignatureIsNil applies the IsNil predicate on the "signature" field.

func SignatureLT

func SignatureLT(v []byte) predicate.Events

SignatureLT applies the LT predicate on the "signature" field.

func SignatureLTE

func SignatureLTE(v []byte) predicate.Events

SignatureLTE applies the LTE predicate on the "signature" field.

func SignatureNEQ

func SignatureNEQ(v []byte) predicate.Events

SignatureNEQ applies the NEQ predicate on the "signature" field.

func SignatureNotIn

func SignatureNotIn(vs ...[]byte) predicate.Events

SignatureNotIn applies the NotIn predicate on the "signature" field.

func SignatureNotNil

func SignatureNotNil() predicate.Events

SignatureNotNil applies the NotNil predicate on the "signature" field.

func ValidColumn

func ValidColumn(column string) bool

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

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

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