Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Events) predicate.Events
- func Count(v int) predicate.Events
- func CountEQ(v int) predicate.Events
- func CountGT(v int) predicate.Events
- func CountGTE(v int) predicate.Events
- func CountIn(vs ...int) predicate.Events
- func CountLT(v int) predicate.Events
- func CountLTE(v int) predicate.Events
- func CountNEQ(v int) predicate.Events
- func CountNotIn(vs ...int) predicate.Events
- func CreatedAt(v time.Time) predicate.Events
- func CreatedAtEQ(v time.Time) predicate.Events
- func CreatedAtGT(v time.Time) predicate.Events
- func CreatedAtGTE(v time.Time) predicate.Events
- func CreatedAtIn(vs ...time.Time) predicate.Events
- func CreatedAtLT(v time.Time) predicate.Events
- func CreatedAtLTE(v time.Time) predicate.Events
- func CreatedAtNEQ(v time.Time) predicate.Events
- func CreatedAtNotIn(vs ...time.Time) predicate.Events
- func HasInstance() predicate.Events
- func HasInstanceWith(preds ...predicate.Instance) predicate.Events
- func HasNamespace() predicate.Events
- func HasNamespaceWith(preds ...predicate.Namespace) predicate.Events
- func HasWfeventswait() predicate.Events
- func HasWfeventswaitWith(preds ...predicate.EventsWait) predicate.Events
- func HasWorkflow() predicate.Events
- func HasWorkflowWith(preds ...predicate.Workflow) predicate.Events
- func ID(id uuid.UUID) predicate.Events
- func IDEQ(id uuid.UUID) predicate.Events
- func IDGT(id uuid.UUID) predicate.Events
- func IDGTE(id uuid.UUID) predicate.Events
- func IDIn(ids ...uuid.UUID) predicate.Events
- func IDLT(id uuid.UUID) predicate.Events
- func IDLTE(id uuid.UUID) predicate.Events
- func IDNEQ(id uuid.UUID) predicate.Events
- func IDNotIn(ids ...uuid.UUID) predicate.Events
- func Not(p predicate.Events) predicate.Events
- func Or(predicates ...predicate.Events) predicate.Events
- func Signature(v []byte) predicate.Events
- func SignatureEQ(v []byte) predicate.Events
- func SignatureGT(v []byte) predicate.Events
- func SignatureGTE(v []byte) predicate.Events
- func SignatureIn(vs ...[]byte) predicate.Events
- func SignatureIsNil() predicate.Events
- func SignatureLT(v []byte) predicate.Events
- func SignatureLTE(v []byte) predicate.Events
- func SignatureNEQ(v []byte) predicate.Events
- func SignatureNotIn(vs ...[]byte) predicate.Events
- func SignatureNotNil() predicate.Events
- func UpdatedAt(v time.Time) predicate.Events
- func UpdatedAtEQ(v time.Time) predicate.Events
- func UpdatedAtGT(v time.Time) predicate.Events
- func UpdatedAtGTE(v time.Time) predicate.Events
- func UpdatedAtIn(vs ...time.Time) predicate.Events
- func UpdatedAtLT(v time.Time) predicate.Events
- func UpdatedAtLTE(v time.Time) predicate.Events
- func UpdatedAtNEQ(v time.Time) predicate.Events
- func UpdatedAtNotIn(vs ...time.Time) predicate.Events
- func ValidColumn(column string) bool
Constants ¶
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" // 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" // 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" // EdgeNamespace holds the string denoting the namespace edge name in mutations. EdgeNamespace = "namespace" // 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" // NamespaceTable is the table that holds the namespace relation/edge. NamespaceTable = "events" // NamespaceInverseTable is the table name for the Namespace entity. // It exists in this package in order to avoid circular dependency with the "namespace" package. NamespaceInverseTable = "namespaces" // NamespaceColumn is the table column denoting the namespace relation/edge. NamespaceColumn = "namespace_namespacelisteners" )
Variables ¶
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 // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldEvents, FieldCorrelations, FieldSignature, FieldCount, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for events fields.
var ForeignKeys = []string{
"instance_eventlisteners",
"namespace_namespacelisteners",
"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 Count ¶
Count applies equality check predicate on the "count" field. It's identical to CountEQ.
func CountNotIn ¶
CountNotIn applies the NotIn predicate on the "count" field.
func CreatedAt ¶ added in v0.6.0
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶ added in v0.6.0
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶ added in v0.6.0
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶ added in v0.6.0
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶ added in v0.6.0
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶ added in v0.6.0
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶ added in v0.6.0
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶ added in v0.6.0
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶ added in v0.6.0
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func HasInstance ¶
HasInstance applies the HasEdge predicate on the "instance" edge.
func HasInstanceWith ¶
HasInstanceWith applies the HasEdge predicate on the "instance" edge with a given conditions (other predicates).
func HasNamespace ¶ added in v0.6.0
HasNamespace applies the HasEdge predicate on the "namespace" edge.
func HasNamespaceWith ¶ added in v0.6.0
HasNamespaceWith applies the HasEdge predicate on the "namespace" edge with a given conditions (other predicates).
func HasWfeventswait ¶
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 ¶
HasWorkflow applies the HasEdge predicate on the "workflow" edge.
func HasWorkflowWith ¶
HasWorkflowWith applies the HasEdge predicate on the "workflow" edge with a given conditions (other predicates).
func Signature ¶
Signature applies equality check predicate on the "signature" field. It's identical to SignatureEQ.
func SignatureEQ ¶
SignatureEQ applies the EQ predicate on the "signature" field.
func SignatureGT ¶
SignatureGT applies the GT predicate on the "signature" field.
func SignatureGTE ¶
SignatureGTE applies the GTE predicate on the "signature" field.
func SignatureIn ¶
SignatureIn applies the In predicate on the "signature" field.
func SignatureIsNil ¶
SignatureIsNil applies the IsNil predicate on the "signature" field.
func SignatureLT ¶
SignatureLT applies the LT predicate on the "signature" field.
func SignatureLTE ¶
SignatureLTE applies the LTE predicate on the "signature" field.
func SignatureNEQ ¶
SignatureNEQ applies the NEQ predicate on the "signature" field.
func SignatureNotIn ¶
SignatureNotIn applies the NotIn predicate on the "signature" field.
func SignatureNotNil ¶
SignatureNotNil applies the NotNil predicate on the "signature" field.
func UpdatedAt ¶ added in v0.6.0
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶ added in v0.6.0
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶ added in v0.6.0
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶ added in v0.6.0
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶ added in v0.6.0
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶ added in v0.6.0
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶ added in v0.6.0
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶ added in v0.6.0
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶ added in v0.6.0
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.