workflowsteprun

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the workflowsteprun type in the database.
	Label = "workflow_step_run"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldRunID holds the string denoting the run_id field in the database.
	FieldRunID = "run_id"
	// FieldStepID holds the string denoting the step_id field in the database.
	FieldStepID = "step_id"
	// FieldAgent holds the string denoting the agent field in the database.
	FieldAgent = "agent"
	// FieldPrompt holds the string denoting the prompt field in the database.
	FieldPrompt = "prompt"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// FieldResult holds the string denoting the result field in the database.
	FieldResult = "result"
	// FieldErrorMessage holds the string denoting the error_message field in the database.
	FieldErrorMessage = "error_message"
	// FieldStartedAt holds the string denoting the started_at field in the database.
	FieldStartedAt = "started_at"
	// FieldCompletedAt holds the string denoting the completed_at field in the database.
	FieldCompletedAt = "completed_at"
	// Table holds the table name of the workflowsteprun in the database.
	Table = "workflow_step_runs"
)
View Source
const DefaultStatus = StatusPending

StatusPending is the default value of the Status enum.

Variables

View Source
var (
	// StepIDValidator is a validator for the "step_id" field. It is called by the builders before save.
	StepIDValidator func(string) error
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() uuid.UUID
)

Columns holds all SQL columns for workflowsteprun fields.

Functions

func Agent

Agent applies equality check predicate on the "agent" field. It's identical to AgentEQ.

func AgentContains

func AgentContains(v string) predicate.WorkflowStepRun

AgentContains applies the Contains predicate on the "agent" field.

func AgentContainsFold

func AgentContainsFold(v string) predicate.WorkflowStepRun

AgentContainsFold applies the ContainsFold predicate on the "agent" field.

func AgentEQ

func AgentEQ(v string) predicate.WorkflowStepRun

AgentEQ applies the EQ predicate on the "agent" field.

func AgentEqualFold

func AgentEqualFold(v string) predicate.WorkflowStepRun

AgentEqualFold applies the EqualFold predicate on the "agent" field.

func AgentGT

func AgentGT(v string) predicate.WorkflowStepRun

AgentGT applies the GT predicate on the "agent" field.

func AgentGTE

func AgentGTE(v string) predicate.WorkflowStepRun

AgentGTE applies the GTE predicate on the "agent" field.

func AgentHasPrefix

func AgentHasPrefix(v string) predicate.WorkflowStepRun

AgentHasPrefix applies the HasPrefix predicate on the "agent" field.

func AgentHasSuffix

func AgentHasSuffix(v string) predicate.WorkflowStepRun

AgentHasSuffix applies the HasSuffix predicate on the "agent" field.

func AgentIn

func AgentIn(vs ...string) predicate.WorkflowStepRun

AgentIn applies the In predicate on the "agent" field.

func AgentIsNil

func AgentIsNil() predicate.WorkflowStepRun

AgentIsNil applies the IsNil predicate on the "agent" field.

func AgentLT

func AgentLT(v string) predicate.WorkflowStepRun

AgentLT applies the LT predicate on the "agent" field.

func AgentLTE

func AgentLTE(v string) predicate.WorkflowStepRun

AgentLTE applies the LTE predicate on the "agent" field.

func AgentNEQ

func AgentNEQ(v string) predicate.WorkflowStepRun

AgentNEQ applies the NEQ predicate on the "agent" field.

func AgentNotIn

func AgentNotIn(vs ...string) predicate.WorkflowStepRun

AgentNotIn applies the NotIn predicate on the "agent" field.

func AgentNotNil

func AgentNotNil() predicate.WorkflowStepRun

AgentNotNil applies the NotNil predicate on the "agent" field.

func And

And groups predicates with the AND operator between them.

func CompletedAt

func CompletedAt(v time.Time) predicate.WorkflowStepRun

CompletedAt applies equality check predicate on the "completed_at" field. It's identical to CompletedAtEQ.

func CompletedAtEQ

func CompletedAtEQ(v time.Time) predicate.WorkflowStepRun

CompletedAtEQ applies the EQ predicate on the "completed_at" field.

func CompletedAtGT

func CompletedAtGT(v time.Time) predicate.WorkflowStepRun

CompletedAtGT applies the GT predicate on the "completed_at" field.

func CompletedAtGTE

func CompletedAtGTE(v time.Time) predicate.WorkflowStepRun

CompletedAtGTE applies the GTE predicate on the "completed_at" field.

func CompletedAtIn

func CompletedAtIn(vs ...time.Time) predicate.WorkflowStepRun

CompletedAtIn applies the In predicate on the "completed_at" field.

func CompletedAtIsNil

func CompletedAtIsNil() predicate.WorkflowStepRun

CompletedAtIsNil applies the IsNil predicate on the "completed_at" field.

func CompletedAtLT

func CompletedAtLT(v time.Time) predicate.WorkflowStepRun

CompletedAtLT applies the LT predicate on the "completed_at" field.

func CompletedAtLTE

func CompletedAtLTE(v time.Time) predicate.WorkflowStepRun

CompletedAtLTE applies the LTE predicate on the "completed_at" field.

func CompletedAtNEQ

func CompletedAtNEQ(v time.Time) predicate.WorkflowStepRun

CompletedAtNEQ applies the NEQ predicate on the "completed_at" field.

func CompletedAtNotIn

func CompletedAtNotIn(vs ...time.Time) predicate.WorkflowStepRun

CompletedAtNotIn applies the NotIn predicate on the "completed_at" field.

func CompletedAtNotNil

func CompletedAtNotNil() predicate.WorkflowStepRun

CompletedAtNotNil applies the NotNil predicate on the "completed_at" field.

func ErrorMessage

func ErrorMessage(v string) predicate.WorkflowStepRun

ErrorMessage applies equality check predicate on the "error_message" field. It's identical to ErrorMessageEQ.

func ErrorMessageContains

func ErrorMessageContains(v string) predicate.WorkflowStepRun

ErrorMessageContains applies the Contains predicate on the "error_message" field.

func ErrorMessageContainsFold

func ErrorMessageContainsFold(v string) predicate.WorkflowStepRun

ErrorMessageContainsFold applies the ContainsFold predicate on the "error_message" field.

func ErrorMessageEQ

func ErrorMessageEQ(v string) predicate.WorkflowStepRun

ErrorMessageEQ applies the EQ predicate on the "error_message" field.

func ErrorMessageEqualFold

func ErrorMessageEqualFold(v string) predicate.WorkflowStepRun

ErrorMessageEqualFold applies the EqualFold predicate on the "error_message" field.

func ErrorMessageGT

func ErrorMessageGT(v string) predicate.WorkflowStepRun

ErrorMessageGT applies the GT predicate on the "error_message" field.

func ErrorMessageGTE

func ErrorMessageGTE(v string) predicate.WorkflowStepRun

ErrorMessageGTE applies the GTE predicate on the "error_message" field.

func ErrorMessageHasPrefix

func ErrorMessageHasPrefix(v string) predicate.WorkflowStepRun

ErrorMessageHasPrefix applies the HasPrefix predicate on the "error_message" field.

func ErrorMessageHasSuffix

func ErrorMessageHasSuffix(v string) predicate.WorkflowStepRun

ErrorMessageHasSuffix applies the HasSuffix predicate on the "error_message" field.

func ErrorMessageIn

func ErrorMessageIn(vs ...string) predicate.WorkflowStepRun

ErrorMessageIn applies the In predicate on the "error_message" field.

func ErrorMessageIsNil

func ErrorMessageIsNil() predicate.WorkflowStepRun

ErrorMessageIsNil applies the IsNil predicate on the "error_message" field.

func ErrorMessageLT

func ErrorMessageLT(v string) predicate.WorkflowStepRun

ErrorMessageLT applies the LT predicate on the "error_message" field.

func ErrorMessageLTE

func ErrorMessageLTE(v string) predicate.WorkflowStepRun

ErrorMessageLTE applies the LTE predicate on the "error_message" field.

func ErrorMessageNEQ

func ErrorMessageNEQ(v string) predicate.WorkflowStepRun

ErrorMessageNEQ applies the NEQ predicate on the "error_message" field.

func ErrorMessageNotIn

func ErrorMessageNotIn(vs ...string) predicate.WorkflowStepRun

ErrorMessageNotIn applies the NotIn predicate on the "error_message" field.

func ErrorMessageNotNil

func ErrorMessageNotNil() predicate.WorkflowStepRun

ErrorMessageNotNil applies the NotNil predicate on the "error_message" field.

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

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

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func Prompt

Prompt applies equality check predicate on the "prompt" field. It's identical to PromptEQ.

func PromptContains

func PromptContains(v string) predicate.WorkflowStepRun

PromptContains applies the Contains predicate on the "prompt" field.

func PromptContainsFold

func PromptContainsFold(v string) predicate.WorkflowStepRun

PromptContainsFold applies the ContainsFold predicate on the "prompt" field.

func PromptEQ

func PromptEQ(v string) predicate.WorkflowStepRun

PromptEQ applies the EQ predicate on the "prompt" field.

func PromptEqualFold

func PromptEqualFold(v string) predicate.WorkflowStepRun

PromptEqualFold applies the EqualFold predicate on the "prompt" field.

func PromptGT

func PromptGT(v string) predicate.WorkflowStepRun

PromptGT applies the GT predicate on the "prompt" field.

func PromptGTE

func PromptGTE(v string) predicate.WorkflowStepRun

PromptGTE applies the GTE predicate on the "prompt" field.

func PromptHasPrefix

func PromptHasPrefix(v string) predicate.WorkflowStepRun

PromptHasPrefix applies the HasPrefix predicate on the "prompt" field.

func PromptHasSuffix

func PromptHasSuffix(v string) predicate.WorkflowStepRun

PromptHasSuffix applies the HasSuffix predicate on the "prompt" field.

func PromptIn

func PromptIn(vs ...string) predicate.WorkflowStepRun

PromptIn applies the In predicate on the "prompt" field.

func PromptLT

func PromptLT(v string) predicate.WorkflowStepRun

PromptLT applies the LT predicate on the "prompt" field.

func PromptLTE

func PromptLTE(v string) predicate.WorkflowStepRun

PromptLTE applies the LTE predicate on the "prompt" field.

func PromptNEQ

func PromptNEQ(v string) predicate.WorkflowStepRun

PromptNEQ applies the NEQ predicate on the "prompt" field.

func PromptNotIn

func PromptNotIn(vs ...string) predicate.WorkflowStepRun

PromptNotIn applies the NotIn predicate on the "prompt" field.

func Result

Result applies equality check predicate on the "result" field. It's identical to ResultEQ.

func ResultContains

func ResultContains(v string) predicate.WorkflowStepRun

ResultContains applies the Contains predicate on the "result" field.

func ResultContainsFold

func ResultContainsFold(v string) predicate.WorkflowStepRun

ResultContainsFold applies the ContainsFold predicate on the "result" field.

func ResultEQ

func ResultEQ(v string) predicate.WorkflowStepRun

ResultEQ applies the EQ predicate on the "result" field.

func ResultEqualFold

func ResultEqualFold(v string) predicate.WorkflowStepRun

ResultEqualFold applies the EqualFold predicate on the "result" field.

func ResultGT

func ResultGT(v string) predicate.WorkflowStepRun

ResultGT applies the GT predicate on the "result" field.

func ResultGTE

func ResultGTE(v string) predicate.WorkflowStepRun

ResultGTE applies the GTE predicate on the "result" field.

func ResultHasPrefix

func ResultHasPrefix(v string) predicate.WorkflowStepRun

ResultHasPrefix applies the HasPrefix predicate on the "result" field.

func ResultHasSuffix

func ResultHasSuffix(v string) predicate.WorkflowStepRun

ResultHasSuffix applies the HasSuffix predicate on the "result" field.

func ResultIn

func ResultIn(vs ...string) predicate.WorkflowStepRun

ResultIn applies the In predicate on the "result" field.

func ResultIsNil

func ResultIsNil() predicate.WorkflowStepRun

ResultIsNil applies the IsNil predicate on the "result" field.

func ResultLT

func ResultLT(v string) predicate.WorkflowStepRun

ResultLT applies the LT predicate on the "result" field.

func ResultLTE

func ResultLTE(v string) predicate.WorkflowStepRun

ResultLTE applies the LTE predicate on the "result" field.

func ResultNEQ

func ResultNEQ(v string) predicate.WorkflowStepRun

ResultNEQ applies the NEQ predicate on the "result" field.

func ResultNotIn

func ResultNotIn(vs ...string) predicate.WorkflowStepRun

ResultNotIn applies the NotIn predicate on the "result" field.

func ResultNotNil

func ResultNotNil() predicate.WorkflowStepRun

ResultNotNil applies the NotNil predicate on the "result" field.

func RunID

RunID applies equality check predicate on the "run_id" field. It's identical to RunIDEQ.

func RunIDEQ

RunIDEQ applies the EQ predicate on the "run_id" field.

func RunIDGT

RunIDGT applies the GT predicate on the "run_id" field.

func RunIDGTE

func RunIDGTE(v uuid.UUID) predicate.WorkflowStepRun

RunIDGTE applies the GTE predicate on the "run_id" field.

func RunIDIn

func RunIDIn(vs ...uuid.UUID) predicate.WorkflowStepRun

RunIDIn applies the In predicate on the "run_id" field.

func RunIDLT

RunIDLT applies the LT predicate on the "run_id" field.

func RunIDLTE

func RunIDLTE(v uuid.UUID) predicate.WorkflowStepRun

RunIDLTE applies the LTE predicate on the "run_id" field.

func RunIDNEQ

func RunIDNEQ(v uuid.UUID) predicate.WorkflowStepRun

RunIDNEQ applies the NEQ predicate on the "run_id" field.

func RunIDNotIn

func RunIDNotIn(vs ...uuid.UUID) predicate.WorkflowStepRun

RunIDNotIn applies the NotIn predicate on the "run_id" field.

func StartedAt

func StartedAt(v time.Time) predicate.WorkflowStepRun

StartedAt applies equality check predicate on the "started_at" field. It's identical to StartedAtEQ.

func StartedAtEQ

func StartedAtEQ(v time.Time) predicate.WorkflowStepRun

StartedAtEQ applies the EQ predicate on the "started_at" field.

func StartedAtGT

func StartedAtGT(v time.Time) predicate.WorkflowStepRun

StartedAtGT applies the GT predicate on the "started_at" field.

func StartedAtGTE

func StartedAtGTE(v time.Time) predicate.WorkflowStepRun

StartedAtGTE applies the GTE predicate on the "started_at" field.

func StartedAtIn

func StartedAtIn(vs ...time.Time) predicate.WorkflowStepRun

StartedAtIn applies the In predicate on the "started_at" field.

func StartedAtIsNil

func StartedAtIsNil() predicate.WorkflowStepRun

StartedAtIsNil applies the IsNil predicate on the "started_at" field.

func StartedAtLT

func StartedAtLT(v time.Time) predicate.WorkflowStepRun

StartedAtLT applies the LT predicate on the "started_at" field.

func StartedAtLTE

func StartedAtLTE(v time.Time) predicate.WorkflowStepRun

StartedAtLTE applies the LTE predicate on the "started_at" field.

func StartedAtNEQ

func StartedAtNEQ(v time.Time) predicate.WorkflowStepRun

StartedAtNEQ applies the NEQ predicate on the "started_at" field.

func StartedAtNotIn

func StartedAtNotIn(vs ...time.Time) predicate.WorkflowStepRun

StartedAtNotIn applies the NotIn predicate on the "started_at" field.

func StartedAtNotNil

func StartedAtNotNil() predicate.WorkflowStepRun

StartedAtNotNil applies the NotNil predicate on the "started_at" field.

func StatusEQ

func StatusEQ(v Status) predicate.WorkflowStepRun

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

func StatusIn

func StatusIn(vs ...Status) predicate.WorkflowStepRun

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

func StatusNEQ

func StatusNEQ(v Status) predicate.WorkflowStepRun

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

func StatusNotIn

func StatusNotIn(vs ...Status) predicate.WorkflowStepRun

StatusNotIn applies the NotIn predicate on the "status" field.

func StatusValidator

func StatusValidator(s Status) error

StatusValidator is a validator for the "status" field enum values. It is called by the builders before save.

func StepID

StepID applies equality check predicate on the "step_id" field. It's identical to StepIDEQ.

func StepIDContains

func StepIDContains(v string) predicate.WorkflowStepRun

StepIDContains applies the Contains predicate on the "step_id" field.

func StepIDContainsFold

func StepIDContainsFold(v string) predicate.WorkflowStepRun

StepIDContainsFold applies the ContainsFold predicate on the "step_id" field.

func StepIDEQ

func StepIDEQ(v string) predicate.WorkflowStepRun

StepIDEQ applies the EQ predicate on the "step_id" field.

func StepIDEqualFold

func StepIDEqualFold(v string) predicate.WorkflowStepRun

StepIDEqualFold applies the EqualFold predicate on the "step_id" field.

func StepIDGT

func StepIDGT(v string) predicate.WorkflowStepRun

StepIDGT applies the GT predicate on the "step_id" field.

func StepIDGTE

func StepIDGTE(v string) predicate.WorkflowStepRun

StepIDGTE applies the GTE predicate on the "step_id" field.

func StepIDHasPrefix

func StepIDHasPrefix(v string) predicate.WorkflowStepRun

StepIDHasPrefix applies the HasPrefix predicate on the "step_id" field.

func StepIDHasSuffix

func StepIDHasSuffix(v string) predicate.WorkflowStepRun

StepIDHasSuffix applies the HasSuffix predicate on the "step_id" field.

func StepIDIn

func StepIDIn(vs ...string) predicate.WorkflowStepRun

StepIDIn applies the In predicate on the "step_id" field.

func StepIDLT

func StepIDLT(v string) predicate.WorkflowStepRun

StepIDLT applies the LT predicate on the "step_id" field.

func StepIDLTE

func StepIDLTE(v string) predicate.WorkflowStepRun

StepIDLTE applies the LTE predicate on the "step_id" field.

func StepIDNEQ

func StepIDNEQ(v string) predicate.WorkflowStepRun

StepIDNEQ applies the NEQ predicate on the "step_id" field.

func StepIDNotIn

func StepIDNotIn(vs ...string) predicate.WorkflowStepRun

StepIDNotIn applies the NotIn predicate on the "step_id" field.

func ValidColumn

func ValidColumn(column string) bool

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

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the WorkflowStepRun queries.

func ByAgent

func ByAgent(opts ...sql.OrderTermOption) OrderOption

ByAgent orders the results by the agent field.

func ByCompletedAt

func ByCompletedAt(opts ...sql.OrderTermOption) OrderOption

ByCompletedAt orders the results by the completed_at field.

func ByErrorMessage

func ByErrorMessage(opts ...sql.OrderTermOption) OrderOption

ByErrorMessage orders the results by the error_message field.

func ByID

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByPrompt

func ByPrompt(opts ...sql.OrderTermOption) OrderOption

ByPrompt orders the results by the prompt field.

func ByResult

func ByResult(opts ...sql.OrderTermOption) OrderOption

ByResult orders the results by the result field.

func ByRunID

func ByRunID(opts ...sql.OrderTermOption) OrderOption

ByRunID orders the results by the run_id field.

func ByStartedAt

func ByStartedAt(opts ...sql.OrderTermOption) OrderOption

ByStartedAt orders the results by the started_at field.

func ByStatus

func ByStatus(opts ...sql.OrderTermOption) OrderOption

ByStatus orders the results by the status field.

func ByStepID

func ByStepID(opts ...sql.OrderTermOption) OrderOption

ByStepID orders the results by the step_id field.

type Status

type Status string

Status defines the type for the "status" enum field.

const (
	StatusPending   Status = "pending"
	StatusRunning   Status = "running"
	StatusCompleted Status = "completed"
	StatusFailed    Status = "failed"
	StatusSkipped   Status = "skipped"
)

Status values.

func (Status) String

func (s Status) String() string

Jump to

Keyboard shortcuts

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