Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.WorkflowRunEvent) predicate.WorkflowRunEvent
- func AttributesIsNil() predicate.WorkflowRunEvent
- func AttributesNotNil() predicate.WorkflowRunEvent
- func CreatedAt(v time.Time) predicate.WorkflowRunEvent
- func CreatedAtEQ(v time.Time) predicate.WorkflowRunEvent
- func CreatedAtGT(v time.Time) predicate.WorkflowRunEvent
- func CreatedAtGTE(v time.Time) predicate.WorkflowRunEvent
- func CreatedAtIn(vs ...time.Time) predicate.WorkflowRunEvent
- func CreatedAtLT(v time.Time) predicate.WorkflowRunEvent
- func CreatedAtLTE(v time.Time) predicate.WorkflowRunEvent
- func CreatedAtNEQ(v time.Time) predicate.WorkflowRunEvent
- func CreatedAtNotIn(vs ...time.Time) predicate.WorkflowRunEvent
- func HasWorkflowRun() predicate.WorkflowRunEvent
- func HasWorkflowRunWith(preds ...predicate.WorkflowRun) predicate.WorkflowRunEvent
- func ID(id uuid.UUID) predicate.WorkflowRunEvent
- func IDEQ(id uuid.UUID) predicate.WorkflowRunEvent
- func IDGT(id uuid.UUID) predicate.WorkflowRunEvent
- func IDGTE(id uuid.UUID) predicate.WorkflowRunEvent
- func IDIn(ids ...uuid.UUID) predicate.WorkflowRunEvent
- func IDLT(id uuid.UUID) predicate.WorkflowRunEvent
- func IDLTE(id uuid.UUID) predicate.WorkflowRunEvent
- func IDNEQ(id uuid.UUID) predicate.WorkflowRunEvent
- func IDNotIn(ids ...uuid.UUID) predicate.WorkflowRunEvent
- func Key(v string) predicate.WorkflowRunEvent
- func KeyContains(v string) predicate.WorkflowRunEvent
- func KeyContainsFold(v string) predicate.WorkflowRunEvent
- func KeyEQ(v string) predicate.WorkflowRunEvent
- func KeyEqualFold(v string) predicate.WorkflowRunEvent
- func KeyGT(v string) predicate.WorkflowRunEvent
- func KeyGTE(v string) predicate.WorkflowRunEvent
- func KeyHasPrefix(v string) predicate.WorkflowRunEvent
- func KeyHasSuffix(v string) predicate.WorkflowRunEvent
- func KeyIn(vs ...string) predicate.WorkflowRunEvent
- func KeyLT(v string) predicate.WorkflowRunEvent
- func KeyLTE(v string) predicate.WorkflowRunEvent
- func KeyNEQ(v string) predicate.WorkflowRunEvent
- func KeyNotIn(vs ...string) predicate.WorkflowRunEvent
- func Message(v string) predicate.WorkflowRunEvent
- func MessageContains(v string) predicate.WorkflowRunEvent
- func MessageContainsFold(v string) predicate.WorkflowRunEvent
- func MessageEQ(v string) predicate.WorkflowRunEvent
- func MessageEqualFold(v string) predicate.WorkflowRunEvent
- func MessageGT(v string) predicate.WorkflowRunEvent
- func MessageGTE(v string) predicate.WorkflowRunEvent
- func MessageHasPrefix(v string) predicate.WorkflowRunEvent
- func MessageHasSuffix(v string) predicate.WorkflowRunEvent
- func MessageIn(vs ...string) predicate.WorkflowRunEvent
- func MessageIsNil() predicate.WorkflowRunEvent
- func MessageLT(v string) predicate.WorkflowRunEvent
- func MessageLTE(v string) predicate.WorkflowRunEvent
- func MessageNEQ(v string) predicate.WorkflowRunEvent
- func MessageNotIn(vs ...string) predicate.WorkflowRunEvent
- func MessageNotNil() predicate.WorkflowRunEvent
- func Not(p predicate.WorkflowRunEvent) predicate.WorkflowRunEvent
- func Or(predicates ...predicate.WorkflowRunEvent) predicate.WorkflowRunEvent
- func SourceEQ(v biz.WorkflowRunEventSource) predicate.WorkflowRunEvent
- func SourceIn(vs ...biz.WorkflowRunEventSource) predicate.WorkflowRunEvent
- func SourceNEQ(v biz.WorkflowRunEventSource) predicate.WorkflowRunEvent
- func SourceNotIn(vs ...biz.WorkflowRunEventSource) predicate.WorkflowRunEvent
- func SourceValidator(s biz.WorkflowRunEventSource) error
- func StatusEQ(v biz.WorkflowRunEventStatus) predicate.WorkflowRunEvent
- func StatusIn(vs ...biz.WorkflowRunEventStatus) predicate.WorkflowRunEvent
- func StatusNEQ(v biz.WorkflowRunEventStatus) predicate.WorkflowRunEvent
- func StatusNotIn(vs ...biz.WorkflowRunEventStatus) predicate.WorkflowRunEvent
- func StatusValidator(s biz.WorkflowRunEventStatus) error
- func TypeEQ(v biz.WorkflowRunEventType) predicate.WorkflowRunEvent
- func TypeIn(vs ...biz.WorkflowRunEventType) predicate.WorkflowRunEvent
- func TypeNEQ(v biz.WorkflowRunEventType) predicate.WorkflowRunEvent
- func TypeNotIn(vs ...biz.WorkflowRunEventType) predicate.WorkflowRunEvent
- func TypeValidator(_type biz.WorkflowRunEventType) error
- func ValidColumn(column string) bool
- func WorkflowRunID(v uuid.UUID) predicate.WorkflowRunEvent
- func WorkflowRunIDEQ(v uuid.UUID) predicate.WorkflowRunEvent
- func WorkflowRunIDIn(vs ...uuid.UUID) predicate.WorkflowRunEvent
- func WorkflowRunIDNEQ(v uuid.UUID) predicate.WorkflowRunEvent
- func WorkflowRunIDNotIn(vs ...uuid.UUID) predicate.WorkflowRunEvent
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByKey(opts ...sql.OrderTermOption) OrderOption
- func ByMessage(opts ...sql.OrderTermOption) OrderOption
- func BySource(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func ByType(opts ...sql.OrderTermOption) OrderOption
- func ByWorkflowRunField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByWorkflowRunID(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the workflowrunevent type in the database. Label = "workflow_run_event" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldWorkflowRunID holds the string denoting the workflow_run_id field in the database. FieldWorkflowRunID = "workflow_run_id" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldSource holds the string denoting the source field in the database. FieldSource = "source" // FieldType holds the string denoting the type field in the database. FieldType = "type" // FieldKey holds the string denoting the key field in the database. FieldKey = "key" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldMessage holds the string denoting the message field in the database. FieldMessage = "message" // FieldAttributes holds the string denoting the attributes field in the database. FieldAttributes = "attributes" // EdgeWorkflowRun holds the string denoting the workflow_run edge name in mutations. EdgeWorkflowRun = "workflow_run" // Table holds the table name of the workflowrunevent in the database. Table = "workflow_run_events" // WorkflowRunTable is the table that holds the workflow_run relation/edge. WorkflowRunTable = "workflow_run_events" // WorkflowRunInverseTable is the table name for the WorkflowRun entity. // It exists in this package in order to avoid circular dependency with the "workflowrun" package. WorkflowRunInverseTable = "workflow_runs" // WorkflowRunColumn is the table column denoting the workflow_run relation/edge. WorkflowRunColumn = "workflow_run_id" )
Variables ¶
var ( // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldWorkflowRunID, FieldCreatedAt, FieldSource, FieldType, FieldKey, FieldStatus, FieldMessage, FieldAttributes, }
Columns holds all SQL columns for workflowrunevent fields.
Functions ¶
func And ¶
func And(predicates ...predicate.WorkflowRunEvent) predicate.WorkflowRunEvent
And groups predicates with the AND operator between them.
func AttributesIsNil ¶
func AttributesIsNil() predicate.WorkflowRunEvent
AttributesIsNil applies the IsNil predicate on the "attributes" field.
func AttributesNotNil ¶
func AttributesNotNil() predicate.WorkflowRunEvent
AttributesNotNil applies the NotNil predicate on the "attributes" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.WorkflowRunEvent
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.WorkflowRunEvent
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.WorkflowRunEvent
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.WorkflowRunEvent
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.WorkflowRunEvent
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.WorkflowRunEvent
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.WorkflowRunEvent
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.WorkflowRunEvent
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.WorkflowRunEvent
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func HasWorkflowRun ¶
func HasWorkflowRun() predicate.WorkflowRunEvent
HasWorkflowRun applies the HasEdge predicate on the "workflow_run" edge.
func HasWorkflowRunWith ¶
func HasWorkflowRunWith(preds ...predicate.WorkflowRun) predicate.WorkflowRunEvent
HasWorkflowRunWith applies the HasEdge predicate on the "workflow_run" edge with a given conditions (other predicates).
func ID ¶
func ID(id uuid.UUID) predicate.WorkflowRunEvent
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.WorkflowRunEvent
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.WorkflowRunEvent
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.WorkflowRunEvent
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.WorkflowRunEvent
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.WorkflowRunEvent
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.WorkflowRunEvent
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.WorkflowRunEvent
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.WorkflowRunEvent
IDNotIn applies the NotIn predicate on the ID field.
func Key ¶
func Key(v string) predicate.WorkflowRunEvent
Key applies equality check predicate on the "key" field. It's identical to KeyEQ.
func KeyContains ¶
func KeyContains(v string) predicate.WorkflowRunEvent
KeyContains applies the Contains predicate on the "key" field.
func KeyContainsFold ¶
func KeyContainsFold(v string) predicate.WorkflowRunEvent
KeyContainsFold applies the ContainsFold predicate on the "key" field.
func KeyEQ ¶
func KeyEQ(v string) predicate.WorkflowRunEvent
KeyEQ applies the EQ predicate on the "key" field.
func KeyEqualFold ¶
func KeyEqualFold(v string) predicate.WorkflowRunEvent
KeyEqualFold applies the EqualFold predicate on the "key" field.
func KeyGT ¶
func KeyGT(v string) predicate.WorkflowRunEvent
KeyGT applies the GT predicate on the "key" field.
func KeyGTE ¶
func KeyGTE(v string) predicate.WorkflowRunEvent
KeyGTE applies the GTE predicate on the "key" field.
func KeyHasPrefix ¶
func KeyHasPrefix(v string) predicate.WorkflowRunEvent
KeyHasPrefix applies the HasPrefix predicate on the "key" field.
func KeyHasSuffix ¶
func KeyHasSuffix(v string) predicate.WorkflowRunEvent
KeyHasSuffix applies the HasSuffix predicate on the "key" field.
func KeyIn ¶
func KeyIn(vs ...string) predicate.WorkflowRunEvent
KeyIn applies the In predicate on the "key" field.
func KeyLT ¶
func KeyLT(v string) predicate.WorkflowRunEvent
KeyLT applies the LT predicate on the "key" field.
func KeyLTE ¶
func KeyLTE(v string) predicate.WorkflowRunEvent
KeyLTE applies the LTE predicate on the "key" field.
func KeyNEQ ¶
func KeyNEQ(v string) predicate.WorkflowRunEvent
KeyNEQ applies the NEQ predicate on the "key" field.
func KeyNotIn ¶
func KeyNotIn(vs ...string) predicate.WorkflowRunEvent
KeyNotIn applies the NotIn predicate on the "key" field.
func Message ¶
func Message(v string) predicate.WorkflowRunEvent
Message applies equality check predicate on the "message" field. It's identical to MessageEQ.
func MessageContains ¶
func MessageContains(v string) predicate.WorkflowRunEvent
MessageContains applies the Contains predicate on the "message" field.
func MessageContainsFold ¶
func MessageContainsFold(v string) predicate.WorkflowRunEvent
MessageContainsFold applies the ContainsFold predicate on the "message" field.
func MessageEQ ¶
func MessageEQ(v string) predicate.WorkflowRunEvent
MessageEQ applies the EQ predicate on the "message" field.
func MessageEqualFold ¶
func MessageEqualFold(v string) predicate.WorkflowRunEvent
MessageEqualFold applies the EqualFold predicate on the "message" field.
func MessageGT ¶
func MessageGT(v string) predicate.WorkflowRunEvent
MessageGT applies the GT predicate on the "message" field.
func MessageGTE ¶
func MessageGTE(v string) predicate.WorkflowRunEvent
MessageGTE applies the GTE predicate on the "message" field.
func MessageHasPrefix ¶
func MessageHasPrefix(v string) predicate.WorkflowRunEvent
MessageHasPrefix applies the HasPrefix predicate on the "message" field.
func MessageHasSuffix ¶
func MessageHasSuffix(v string) predicate.WorkflowRunEvent
MessageHasSuffix applies the HasSuffix predicate on the "message" field.
func MessageIn ¶
func MessageIn(vs ...string) predicate.WorkflowRunEvent
MessageIn applies the In predicate on the "message" field.
func MessageIsNil ¶
func MessageIsNil() predicate.WorkflowRunEvent
MessageIsNil applies the IsNil predicate on the "message" field.
func MessageLT ¶
func MessageLT(v string) predicate.WorkflowRunEvent
MessageLT applies the LT predicate on the "message" field.
func MessageLTE ¶
func MessageLTE(v string) predicate.WorkflowRunEvent
MessageLTE applies the LTE predicate on the "message" field.
func MessageNEQ ¶
func MessageNEQ(v string) predicate.WorkflowRunEvent
MessageNEQ applies the NEQ predicate on the "message" field.
func MessageNotIn ¶
func MessageNotIn(vs ...string) predicate.WorkflowRunEvent
MessageNotIn applies the NotIn predicate on the "message" field.
func MessageNotNil ¶
func MessageNotNil() predicate.WorkflowRunEvent
MessageNotNil applies the NotNil predicate on the "message" field.
func Not ¶
func Not(p predicate.WorkflowRunEvent) predicate.WorkflowRunEvent
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.WorkflowRunEvent) predicate.WorkflowRunEvent
Or groups predicates with the OR operator between them.
func SourceEQ ¶
func SourceEQ(v biz.WorkflowRunEventSource) predicate.WorkflowRunEvent
SourceEQ applies the EQ predicate on the "source" field.
func SourceIn ¶
func SourceIn(vs ...biz.WorkflowRunEventSource) predicate.WorkflowRunEvent
SourceIn applies the In predicate on the "source" field.
func SourceNEQ ¶
func SourceNEQ(v biz.WorkflowRunEventSource) predicate.WorkflowRunEvent
SourceNEQ applies the NEQ predicate on the "source" field.
func SourceNotIn ¶
func SourceNotIn(vs ...biz.WorkflowRunEventSource) predicate.WorkflowRunEvent
SourceNotIn applies the NotIn predicate on the "source" field.
func SourceValidator ¶
func SourceValidator(s biz.WorkflowRunEventSource) error
SourceValidator is a validator for the "source" field enum values. It is called by the builders before save.
func StatusEQ ¶
func StatusEQ(v biz.WorkflowRunEventStatus) predicate.WorkflowRunEvent
StatusEQ applies the EQ predicate on the "status" field.
func StatusIn ¶
func StatusIn(vs ...biz.WorkflowRunEventStatus) predicate.WorkflowRunEvent
StatusIn applies the In predicate on the "status" field.
func StatusNEQ ¶
func StatusNEQ(v biz.WorkflowRunEventStatus) predicate.WorkflowRunEvent
StatusNEQ applies the NEQ predicate on the "status" field.
func StatusNotIn ¶
func StatusNotIn(vs ...biz.WorkflowRunEventStatus) predicate.WorkflowRunEvent
StatusNotIn applies the NotIn predicate on the "status" field.
func StatusValidator ¶
func StatusValidator(s biz.WorkflowRunEventStatus) error
StatusValidator is a validator for the "status" field enum values. It is called by the builders before save.
func TypeEQ ¶
func TypeEQ(v biz.WorkflowRunEventType) predicate.WorkflowRunEvent
TypeEQ applies the EQ predicate on the "type" field.
func TypeIn ¶
func TypeIn(vs ...biz.WorkflowRunEventType) predicate.WorkflowRunEvent
TypeIn applies the In predicate on the "type" field.
func TypeNEQ ¶
func TypeNEQ(v biz.WorkflowRunEventType) predicate.WorkflowRunEvent
TypeNEQ applies the NEQ predicate on the "type" field.
func TypeNotIn ¶
func TypeNotIn(vs ...biz.WorkflowRunEventType) predicate.WorkflowRunEvent
TypeNotIn applies the NotIn predicate on the "type" field.
func TypeValidator ¶
func TypeValidator(_type biz.WorkflowRunEventType) error
TypeValidator is a validator for the "type" field enum values. It is called by the builders before save.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func WorkflowRunID ¶
func WorkflowRunID(v uuid.UUID) predicate.WorkflowRunEvent
WorkflowRunID applies equality check predicate on the "workflow_run_id" field. It's identical to WorkflowRunIDEQ.
func WorkflowRunIDEQ ¶
func WorkflowRunIDEQ(v uuid.UUID) predicate.WorkflowRunEvent
WorkflowRunIDEQ applies the EQ predicate on the "workflow_run_id" field.
func WorkflowRunIDIn ¶
func WorkflowRunIDIn(vs ...uuid.UUID) predicate.WorkflowRunEvent
WorkflowRunIDIn applies the In predicate on the "workflow_run_id" field.
func WorkflowRunIDNEQ ¶
func WorkflowRunIDNEQ(v uuid.UUID) predicate.WorkflowRunEvent
WorkflowRunIDNEQ applies the NEQ predicate on the "workflow_run_id" field.
func WorkflowRunIDNotIn ¶
func WorkflowRunIDNotIn(vs ...uuid.UUID) predicate.WorkflowRunEvent
WorkflowRunIDNotIn applies the NotIn predicate on the "workflow_run_id" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the WorkflowRunEvent queries.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByKey ¶
func ByKey(opts ...sql.OrderTermOption) OrderOption
ByKey orders the results by the key field.
func ByMessage ¶
func ByMessage(opts ...sql.OrderTermOption) OrderOption
ByMessage orders the results by the message field.
func BySource ¶
func BySource(opts ...sql.OrderTermOption) OrderOption
BySource orders the results by the source field.
func ByStatus ¶
func ByStatus(opts ...sql.OrderTermOption) OrderOption
ByStatus orders the results by the status field.
func ByType ¶
func ByType(opts ...sql.OrderTermOption) OrderOption
ByType orders the results by the type field.
func ByWorkflowRunField ¶
func ByWorkflowRunField(field string, opts ...sql.OrderTermOption) OrderOption
ByWorkflowRunField orders the results by workflow_run field.
func ByWorkflowRunID ¶
func ByWorkflowRunID(opts ...sql.OrderTermOption) OrderOption
ByWorkflowRunID orders the results by the workflow_run_id field.