Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.CloudEvents) predicate.CloudEvents
- func Created(v time.Time) predicate.CloudEvents
- func CreatedEQ(v time.Time) predicate.CloudEvents
- func CreatedGT(v time.Time) predicate.CloudEvents
- func CreatedGTE(v time.Time) predicate.CloudEvents
- func CreatedIn(vs ...time.Time) predicate.CloudEvents
- func CreatedLT(v time.Time) predicate.CloudEvents
- func CreatedLTE(v time.Time) predicate.CloudEvents
- func CreatedNEQ(v time.Time) predicate.CloudEvents
- func CreatedNotIn(vs ...time.Time) predicate.CloudEvents
- func Fire(v time.Time) predicate.CloudEvents
- func FireEQ(v time.Time) predicate.CloudEvents
- func FireGT(v time.Time) predicate.CloudEvents
- func FireGTE(v time.Time) predicate.CloudEvents
- func FireIn(vs ...time.Time) predicate.CloudEvents
- func FireLT(v time.Time) predicate.CloudEvents
- func FireLTE(v time.Time) predicate.CloudEvents
- func FireNEQ(v time.Time) predicate.CloudEvents
- func FireNotIn(vs ...time.Time) predicate.CloudEvents
- func ID(id string) predicate.CloudEvents
- func IDEQ(id string) predicate.CloudEvents
- func IDGT(id string) predicate.CloudEvents
- func IDGTE(id string) predicate.CloudEvents
- func IDIn(ids ...string) predicate.CloudEvents
- func IDLT(id string) predicate.CloudEvents
- func IDLTE(id string) predicate.CloudEvents
- func IDNEQ(id string) predicate.CloudEvents
- func IDNotIn(ids ...string) predicate.CloudEvents
- func Namespace(v string) predicate.CloudEvents
- func NamespaceContains(v string) predicate.CloudEvents
- func NamespaceContainsFold(v string) predicate.CloudEvents
- func NamespaceEQ(v string) predicate.CloudEvents
- func NamespaceEqualFold(v string) predicate.CloudEvents
- func NamespaceGT(v string) predicate.CloudEvents
- func NamespaceGTE(v string) predicate.CloudEvents
- func NamespaceHasPrefix(v string) predicate.CloudEvents
- func NamespaceHasSuffix(v string) predicate.CloudEvents
- func NamespaceIn(vs ...string) predicate.CloudEvents
- func NamespaceLT(v string) predicate.CloudEvents
- func NamespaceLTE(v string) predicate.CloudEvents
- func NamespaceNEQ(v string) predicate.CloudEvents
- func NamespaceNotIn(vs ...string) predicate.CloudEvents
- func Not(p predicate.CloudEvents) predicate.CloudEvents
- func Or(predicates ...predicate.CloudEvents) predicate.CloudEvents
- func Processed(v bool) predicate.CloudEvents
- func ProcessedEQ(v bool) predicate.CloudEvents
- func ProcessedNEQ(v bool) predicate.CloudEvents
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the cloudevents type in the database. Label = "cloud_events" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldNamespace holds the string denoting the namespace field in the database. FieldNamespace = "namespace" // FieldEvent holds the string denoting the event field in the database. FieldEvent = "event" // FieldFire holds the string denoting the fire field in the database. FieldFire = "fire" // FieldCreated holds the string denoting the created field in the database. FieldCreated = "created" // FieldProcessed holds the string denoting the processed field in the database. FieldProcessed = "processed" // Table holds the table name of the cloudevents in the database. Table = "cloud_events" )
Variables ¶
var ( // NamespaceValidator is a validator for the "namespace" field. It is called by the builders before save. NamespaceValidator func(string) error // DefaultFire holds the default value on creation for the "fire" field. DefaultFire func() time.Time // DefaultCreated holds the default value on creation for the "created" field. DefaultCreated func() time.Time // IDValidator is a validator for the "id" field. It is called by the builders before save. IDValidator func(string) error )
var Columns = []string{ FieldID, FieldNamespace, FieldEvent, FieldFire, FieldCreated, FieldProcessed, }
Columns holds all SQL columns for cloudevents fields.
Functions ¶
func And ¶
func And(predicates ...predicate.CloudEvents) predicate.CloudEvents
And groups predicates with the AND operator between them.
func Created ¶
func Created(v time.Time) predicate.CloudEvents
Created applies equality check predicate on the "created" field. It's identical to CreatedEQ.
func CreatedEQ ¶
func CreatedEQ(v time.Time) predicate.CloudEvents
CreatedEQ applies the EQ predicate on the "created" field.
func CreatedGT ¶
func CreatedGT(v time.Time) predicate.CloudEvents
CreatedGT applies the GT predicate on the "created" field.
func CreatedGTE ¶
func CreatedGTE(v time.Time) predicate.CloudEvents
CreatedGTE applies the GTE predicate on the "created" field.
func CreatedIn ¶
func CreatedIn(vs ...time.Time) predicate.CloudEvents
CreatedIn applies the In predicate on the "created" field.
func CreatedLT ¶
func CreatedLT(v time.Time) predicate.CloudEvents
CreatedLT applies the LT predicate on the "created" field.
func CreatedLTE ¶
func CreatedLTE(v time.Time) predicate.CloudEvents
CreatedLTE applies the LTE predicate on the "created" field.
func CreatedNEQ ¶
func CreatedNEQ(v time.Time) predicate.CloudEvents
CreatedNEQ applies the NEQ predicate on the "created" field.
func CreatedNotIn ¶
func CreatedNotIn(vs ...time.Time) predicate.CloudEvents
CreatedNotIn applies the NotIn predicate on the "created" field.
func Fire ¶
func Fire(v time.Time) predicate.CloudEvents
Fire applies equality check predicate on the "fire" field. It's identical to FireEQ.
func FireEQ ¶
func FireEQ(v time.Time) predicate.CloudEvents
FireEQ applies the EQ predicate on the "fire" field.
func FireGT ¶
func FireGT(v time.Time) predicate.CloudEvents
FireGT applies the GT predicate on the "fire" field.
func FireGTE ¶
func FireGTE(v time.Time) predicate.CloudEvents
FireGTE applies the GTE predicate on the "fire" field.
func FireIn ¶
func FireIn(vs ...time.Time) predicate.CloudEvents
FireIn applies the In predicate on the "fire" field.
func FireLT ¶
func FireLT(v time.Time) predicate.CloudEvents
FireLT applies the LT predicate on the "fire" field.
func FireLTE ¶
func FireLTE(v time.Time) predicate.CloudEvents
FireLTE applies the LTE predicate on the "fire" field.
func FireNEQ ¶
func FireNEQ(v time.Time) predicate.CloudEvents
FireNEQ applies the NEQ predicate on the "fire" field.
func FireNotIn ¶
func FireNotIn(vs ...time.Time) predicate.CloudEvents
FireNotIn applies the NotIn predicate on the "fire" field.
func IDEQ ¶
func IDEQ(id string) predicate.CloudEvents
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id string) predicate.CloudEvents
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id string) predicate.CloudEvents
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...string) predicate.CloudEvents
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id string) predicate.CloudEvents
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id string) predicate.CloudEvents
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id string) predicate.CloudEvents
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...string) predicate.CloudEvents
IDNotIn applies the NotIn predicate on the ID field.
func Namespace ¶
func Namespace(v string) predicate.CloudEvents
Namespace applies equality check predicate on the "namespace" field. It's identical to NamespaceEQ.
func NamespaceContains ¶
func NamespaceContains(v string) predicate.CloudEvents
NamespaceContains applies the Contains predicate on the "namespace" field.
func NamespaceContainsFold ¶
func NamespaceContainsFold(v string) predicate.CloudEvents
NamespaceContainsFold applies the ContainsFold predicate on the "namespace" field.
func NamespaceEQ ¶
func NamespaceEQ(v string) predicate.CloudEvents
NamespaceEQ applies the EQ predicate on the "namespace" field.
func NamespaceEqualFold ¶
func NamespaceEqualFold(v string) predicate.CloudEvents
NamespaceEqualFold applies the EqualFold predicate on the "namespace" field.
func NamespaceGT ¶
func NamespaceGT(v string) predicate.CloudEvents
NamespaceGT applies the GT predicate on the "namespace" field.
func NamespaceGTE ¶
func NamespaceGTE(v string) predicate.CloudEvents
NamespaceGTE applies the GTE predicate on the "namespace" field.
func NamespaceHasPrefix ¶
func NamespaceHasPrefix(v string) predicate.CloudEvents
NamespaceHasPrefix applies the HasPrefix predicate on the "namespace" field.
func NamespaceHasSuffix ¶
func NamespaceHasSuffix(v string) predicate.CloudEvents
NamespaceHasSuffix applies the HasSuffix predicate on the "namespace" field.
func NamespaceIn ¶
func NamespaceIn(vs ...string) predicate.CloudEvents
NamespaceIn applies the In predicate on the "namespace" field.
func NamespaceLT ¶
func NamespaceLT(v string) predicate.CloudEvents
NamespaceLT applies the LT predicate on the "namespace" field.
func NamespaceLTE ¶
func NamespaceLTE(v string) predicate.CloudEvents
NamespaceLTE applies the LTE predicate on the "namespace" field.
func NamespaceNEQ ¶
func NamespaceNEQ(v string) predicate.CloudEvents
NamespaceNEQ applies the NEQ predicate on the "namespace" field.
func NamespaceNotIn ¶
func NamespaceNotIn(vs ...string) predicate.CloudEvents
NamespaceNotIn applies the NotIn predicate on the "namespace" field.
func Not ¶
func Not(p predicate.CloudEvents) predicate.CloudEvents
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.CloudEvents) predicate.CloudEvents
Or groups predicates with the OR operator between them.
func Processed ¶
func Processed(v bool) predicate.CloudEvents
Processed applies equality check predicate on the "processed" field. It's identical to ProcessedEQ.
func ProcessedEQ ¶
func ProcessedEQ(v bool) predicate.CloudEvents
ProcessedEQ applies the EQ predicate on the "processed" field.
func ProcessedNEQ ¶
func ProcessedNEQ(v bool) predicate.CloudEvents
ProcessedNEQ applies the NEQ predicate on the "processed" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.