workflowrunevent

package
v1.139.0 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2026 License: Apache-2.0 Imports: 7 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
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

View Source
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
)

Columns holds all SQL columns for workflowrunevent fields.

Functions

func And

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

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.WorkflowRunEvent

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.WorkflowRunEvent

IDNotIn applies the NotIn predicate on the ID field.

func Key

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

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

KeyGT applies the GT predicate on the "key" field.

func KeyGTE

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

KeyLT applies the LT predicate on the "key" field.

func KeyLTE

KeyLTE applies the LTE predicate on the "key" field.

func KeyNEQ

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

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

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func SourceEQ

SourceEQ applies the EQ predicate on the "source" field.

func SourceIn

SourceIn applies the In predicate on the "source" field.

func SourceNEQ

SourceNEQ applies the NEQ predicate on the "source" field.

func SourceNotIn

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

StatusEQ applies the EQ predicate on the "status" field.

func StatusIn

StatusIn applies the In predicate on the "status" field.

func StatusNEQ

StatusNEQ applies the NEQ predicate on the "status" field.

func StatusNotIn

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

TypeEQ applies the EQ predicate on the "type" field.

func TypeIn

TypeIn applies the In predicate on the "type" field.

func TypeNEQ

TypeNEQ applies the NEQ predicate on the "type" field.

func TypeNotIn

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

func ValidColumn(column string) bool

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

type OrderOption func(*sql.Selector)

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.

Jump to

Keyboard shortcuts

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