runstep

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 runstep type in the database.
	Label = "run_step"
	// 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"
	// FieldStepIndex holds the string denoting the step_index field in the database.
	FieldStepIndex = "step_index"
	// FieldGoal holds the string denoting the goal field in the database.
	FieldGoal = "goal"
	// FieldOwnerAgent holds the string denoting the owner_agent field in the database.
	FieldOwnerAgent = "owner_agent"
	// 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"
	// FieldEvidence holds the string denoting the evidence field in the database.
	FieldEvidence = "evidence"
	// FieldValidatorSpec holds the string denoting the validator_spec field in the database.
	FieldValidatorSpec = "validator_spec"
	// FieldRetryCount holds the string denoting the retry_count field in the database.
	FieldRetryCount = "retry_count"
	// FieldMaxRetries holds the string denoting the max_retries field in the database.
	FieldMaxRetries = "max_retries"
	// 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"
	// Table holds the table name of the runstep in the database.
	Table = "run_steps"
)
View Source
const DefaultStatus = StatusPending

StatusPending is the default value of the Status enum.

Variables

View Source
var (
	// RunIDValidator is a validator for the "run_id" field. It is called by the builders before save.
	RunIDValidator func(string) error
	// StepIDValidator is a validator for the "step_id" field. It is called by the builders before save.
	StepIDValidator func(string) error
	// DefaultStepIndex holds the default value on creation for the "step_index" field.
	DefaultStepIndex int
	// DefaultRetryCount holds the default value on creation for the "retry_count" field.
	DefaultRetryCount int
	// DefaultMaxRetries holds the default value on creation for the "max_retries" field.
	DefaultMaxRetries int
	// 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
)

Columns holds all SQL columns for runstep fields.

Functions

func And

func And(predicates ...predicate.RunStep) predicate.RunStep

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.RunStep

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.RunStep

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.RunStep

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.RunStep

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.RunStep

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.RunStep

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.RunStep

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.RunStep

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.RunStep

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func Evidence

func Evidence(v string) predicate.RunStep

Evidence applies equality check predicate on the "evidence" field. It's identical to EvidenceEQ.

func EvidenceContains

func EvidenceContains(v string) predicate.RunStep

EvidenceContains applies the Contains predicate on the "evidence" field.

func EvidenceContainsFold

func EvidenceContainsFold(v string) predicate.RunStep

EvidenceContainsFold applies the ContainsFold predicate on the "evidence" field.

func EvidenceEQ

func EvidenceEQ(v string) predicate.RunStep

EvidenceEQ applies the EQ predicate on the "evidence" field.

func EvidenceEqualFold

func EvidenceEqualFold(v string) predicate.RunStep

EvidenceEqualFold applies the EqualFold predicate on the "evidence" field.

func EvidenceGT

func EvidenceGT(v string) predicate.RunStep

EvidenceGT applies the GT predicate on the "evidence" field.

func EvidenceGTE

func EvidenceGTE(v string) predicate.RunStep

EvidenceGTE applies the GTE predicate on the "evidence" field.

func EvidenceHasPrefix

func EvidenceHasPrefix(v string) predicate.RunStep

EvidenceHasPrefix applies the HasPrefix predicate on the "evidence" field.

func EvidenceHasSuffix

func EvidenceHasSuffix(v string) predicate.RunStep

EvidenceHasSuffix applies the HasSuffix predicate on the "evidence" field.

func EvidenceIn

func EvidenceIn(vs ...string) predicate.RunStep

EvidenceIn applies the In predicate on the "evidence" field.

func EvidenceIsNil

func EvidenceIsNil() predicate.RunStep

EvidenceIsNil applies the IsNil predicate on the "evidence" field.

func EvidenceLT

func EvidenceLT(v string) predicate.RunStep

EvidenceLT applies the LT predicate on the "evidence" field.

func EvidenceLTE

func EvidenceLTE(v string) predicate.RunStep

EvidenceLTE applies the LTE predicate on the "evidence" field.

func EvidenceNEQ

func EvidenceNEQ(v string) predicate.RunStep

EvidenceNEQ applies the NEQ predicate on the "evidence" field.

func EvidenceNotIn

func EvidenceNotIn(vs ...string) predicate.RunStep

EvidenceNotIn applies the NotIn predicate on the "evidence" field.

func EvidenceNotNil

func EvidenceNotNil() predicate.RunStep

EvidenceNotNil applies the NotNil predicate on the "evidence" field.

func Goal

func Goal(v string) predicate.RunStep

Goal applies equality check predicate on the "goal" field. It's identical to GoalEQ.

func GoalContains

func GoalContains(v string) predicate.RunStep

GoalContains applies the Contains predicate on the "goal" field.

func GoalContainsFold

func GoalContainsFold(v string) predicate.RunStep

GoalContainsFold applies the ContainsFold predicate on the "goal" field.

func GoalEQ

func GoalEQ(v string) predicate.RunStep

GoalEQ applies the EQ predicate on the "goal" field.

func GoalEqualFold

func GoalEqualFold(v string) predicate.RunStep

GoalEqualFold applies the EqualFold predicate on the "goal" field.

func GoalGT

func GoalGT(v string) predicate.RunStep

GoalGT applies the GT predicate on the "goal" field.

func GoalGTE

func GoalGTE(v string) predicate.RunStep

GoalGTE applies the GTE predicate on the "goal" field.

func GoalHasPrefix

func GoalHasPrefix(v string) predicate.RunStep

GoalHasPrefix applies the HasPrefix predicate on the "goal" field.

func GoalHasSuffix

func GoalHasSuffix(v string) predicate.RunStep

GoalHasSuffix applies the HasSuffix predicate on the "goal" field.

func GoalIn

func GoalIn(vs ...string) predicate.RunStep

GoalIn applies the In predicate on the "goal" field.

func GoalIsNil

func GoalIsNil() predicate.RunStep

GoalIsNil applies the IsNil predicate on the "goal" field.

func GoalLT

func GoalLT(v string) predicate.RunStep

GoalLT applies the LT predicate on the "goal" field.

func GoalLTE

func GoalLTE(v string) predicate.RunStep

GoalLTE applies the LTE predicate on the "goal" field.

func GoalNEQ

func GoalNEQ(v string) predicate.RunStep

GoalNEQ applies the NEQ predicate on the "goal" field.

func GoalNotIn

func GoalNotIn(vs ...string) predicate.RunStep

GoalNotIn applies the NotIn predicate on the "goal" field.

func GoalNotNil

func GoalNotNil() predicate.RunStep

GoalNotNil applies the NotNil predicate on the "goal" field.

func ID

func ID(id uuid.UUID) predicate.RunStep

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uuid.UUID) predicate.RunStep

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uuid.UUID) predicate.RunStep

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uuid.UUID) predicate.RunStep

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uuid.UUID) predicate.RunStep

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uuid.UUID) predicate.RunStep

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.RunStep

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.RunStep

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uuid.UUID) predicate.RunStep

IDNotIn applies the NotIn predicate on the ID field.

func MaxRetries

func MaxRetries(v int) predicate.RunStep

MaxRetries applies equality check predicate on the "max_retries" field. It's identical to MaxRetriesEQ.

func MaxRetriesEQ

func MaxRetriesEQ(v int) predicate.RunStep

MaxRetriesEQ applies the EQ predicate on the "max_retries" field.

func MaxRetriesGT

func MaxRetriesGT(v int) predicate.RunStep

MaxRetriesGT applies the GT predicate on the "max_retries" field.

func MaxRetriesGTE

func MaxRetriesGTE(v int) predicate.RunStep

MaxRetriesGTE applies the GTE predicate on the "max_retries" field.

func MaxRetriesIn

func MaxRetriesIn(vs ...int) predicate.RunStep

MaxRetriesIn applies the In predicate on the "max_retries" field.

func MaxRetriesLT

func MaxRetriesLT(v int) predicate.RunStep

MaxRetriesLT applies the LT predicate on the "max_retries" field.

func MaxRetriesLTE

func MaxRetriesLTE(v int) predicate.RunStep

MaxRetriesLTE applies the LTE predicate on the "max_retries" field.

func MaxRetriesNEQ

func MaxRetriesNEQ(v int) predicate.RunStep

MaxRetriesNEQ applies the NEQ predicate on the "max_retries" field.

func MaxRetriesNotIn

func MaxRetriesNotIn(vs ...int) predicate.RunStep

MaxRetriesNotIn applies the NotIn predicate on the "max_retries" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.RunStep) predicate.RunStep

Or groups predicates with the OR operator between them.

func OwnerAgent

func OwnerAgent(v string) predicate.RunStep

OwnerAgent applies equality check predicate on the "owner_agent" field. It's identical to OwnerAgentEQ.

func OwnerAgentContains

func OwnerAgentContains(v string) predicate.RunStep

OwnerAgentContains applies the Contains predicate on the "owner_agent" field.

func OwnerAgentContainsFold

func OwnerAgentContainsFold(v string) predicate.RunStep

OwnerAgentContainsFold applies the ContainsFold predicate on the "owner_agent" field.

func OwnerAgentEQ

func OwnerAgentEQ(v string) predicate.RunStep

OwnerAgentEQ applies the EQ predicate on the "owner_agent" field.

func OwnerAgentEqualFold

func OwnerAgentEqualFold(v string) predicate.RunStep

OwnerAgentEqualFold applies the EqualFold predicate on the "owner_agent" field.

func OwnerAgentGT

func OwnerAgentGT(v string) predicate.RunStep

OwnerAgentGT applies the GT predicate on the "owner_agent" field.

func OwnerAgentGTE

func OwnerAgentGTE(v string) predicate.RunStep

OwnerAgentGTE applies the GTE predicate on the "owner_agent" field.

func OwnerAgentHasPrefix

func OwnerAgentHasPrefix(v string) predicate.RunStep

OwnerAgentHasPrefix applies the HasPrefix predicate on the "owner_agent" field.

func OwnerAgentHasSuffix

func OwnerAgentHasSuffix(v string) predicate.RunStep

OwnerAgentHasSuffix applies the HasSuffix predicate on the "owner_agent" field.

func OwnerAgentIn

func OwnerAgentIn(vs ...string) predicate.RunStep

OwnerAgentIn applies the In predicate on the "owner_agent" field.

func OwnerAgentIsNil

func OwnerAgentIsNil() predicate.RunStep

OwnerAgentIsNil applies the IsNil predicate on the "owner_agent" field.

func OwnerAgentLT

func OwnerAgentLT(v string) predicate.RunStep

OwnerAgentLT applies the LT predicate on the "owner_agent" field.

func OwnerAgentLTE

func OwnerAgentLTE(v string) predicate.RunStep

OwnerAgentLTE applies the LTE predicate on the "owner_agent" field.

func OwnerAgentNEQ

func OwnerAgentNEQ(v string) predicate.RunStep

OwnerAgentNEQ applies the NEQ predicate on the "owner_agent" field.

func OwnerAgentNotIn

func OwnerAgentNotIn(vs ...string) predicate.RunStep

OwnerAgentNotIn applies the NotIn predicate on the "owner_agent" field.

func OwnerAgentNotNil

func OwnerAgentNotNil() predicate.RunStep

OwnerAgentNotNil applies the NotNil predicate on the "owner_agent" field.

func Result

func Result(v string) predicate.RunStep

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

func ResultContains

func ResultContains(v string) predicate.RunStep

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

func ResultContainsFold

func ResultContainsFold(v string) predicate.RunStep

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

func ResultEQ

func ResultEQ(v string) predicate.RunStep

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

func ResultEqualFold

func ResultEqualFold(v string) predicate.RunStep

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

func ResultGT

func ResultGT(v string) predicate.RunStep

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

func ResultGTE

func ResultGTE(v string) predicate.RunStep

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

func ResultHasPrefix

func ResultHasPrefix(v string) predicate.RunStep

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

func ResultHasSuffix

func ResultHasSuffix(v string) predicate.RunStep

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

func ResultIn

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

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

func ResultIsNil

func ResultIsNil() predicate.RunStep

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

func ResultLT

func ResultLT(v string) predicate.RunStep

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

func ResultLTE

func ResultLTE(v string) predicate.RunStep

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

func ResultNEQ

func ResultNEQ(v string) predicate.RunStep

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

func ResultNotIn

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

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

func ResultNotNil

func ResultNotNil() predicate.RunStep

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

func RetryCount

func RetryCount(v int) predicate.RunStep

RetryCount applies equality check predicate on the "retry_count" field. It's identical to RetryCountEQ.

func RetryCountEQ

func RetryCountEQ(v int) predicate.RunStep

RetryCountEQ applies the EQ predicate on the "retry_count" field.

func RetryCountGT

func RetryCountGT(v int) predicate.RunStep

RetryCountGT applies the GT predicate on the "retry_count" field.

func RetryCountGTE

func RetryCountGTE(v int) predicate.RunStep

RetryCountGTE applies the GTE predicate on the "retry_count" field.

func RetryCountIn

func RetryCountIn(vs ...int) predicate.RunStep

RetryCountIn applies the In predicate on the "retry_count" field.

func RetryCountLT

func RetryCountLT(v int) predicate.RunStep

RetryCountLT applies the LT predicate on the "retry_count" field.

func RetryCountLTE

func RetryCountLTE(v int) predicate.RunStep

RetryCountLTE applies the LTE predicate on the "retry_count" field.

func RetryCountNEQ

func RetryCountNEQ(v int) predicate.RunStep

RetryCountNEQ applies the NEQ predicate on the "retry_count" field.

func RetryCountNotIn

func RetryCountNotIn(vs ...int) predicate.RunStep

RetryCountNotIn applies the NotIn predicate on the "retry_count" field.

func RunID

func RunID(v string) predicate.RunStep

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

func RunIDContains

func RunIDContains(v string) predicate.RunStep

RunIDContains applies the Contains predicate on the "run_id" field.

func RunIDContainsFold

func RunIDContainsFold(v string) predicate.RunStep

RunIDContainsFold applies the ContainsFold predicate on the "run_id" field.

func RunIDEQ

func RunIDEQ(v string) predicate.RunStep

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

func RunIDEqualFold

func RunIDEqualFold(v string) predicate.RunStep

RunIDEqualFold applies the EqualFold predicate on the "run_id" field.

func RunIDGT

func RunIDGT(v string) predicate.RunStep

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

func RunIDGTE

func RunIDGTE(v string) predicate.RunStep

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

func RunIDHasPrefix

func RunIDHasPrefix(v string) predicate.RunStep

RunIDHasPrefix applies the HasPrefix predicate on the "run_id" field.

func RunIDHasSuffix

func RunIDHasSuffix(v string) predicate.RunStep

RunIDHasSuffix applies the HasSuffix predicate on the "run_id" field.

func RunIDIn

func RunIDIn(vs ...string) predicate.RunStep

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

func RunIDLT

func RunIDLT(v string) predicate.RunStep

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

func RunIDLTE

func RunIDLTE(v string) predicate.RunStep

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

func RunIDNEQ

func RunIDNEQ(v string) predicate.RunStep

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

func RunIDNotIn

func RunIDNotIn(vs ...string) predicate.RunStep

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

func StatusEQ

func StatusEQ(v Status) predicate.RunStep

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

func StatusIn

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

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

func StatusNEQ

func StatusNEQ(v Status) predicate.RunStep

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

func StatusNotIn

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

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

func StepID(v string) predicate.RunStep

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

func StepIDContains

func StepIDContains(v string) predicate.RunStep

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

func StepIDContainsFold

func StepIDContainsFold(v string) predicate.RunStep

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

func StepIDEQ

func StepIDEQ(v string) predicate.RunStep

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

func StepIDEqualFold

func StepIDEqualFold(v string) predicate.RunStep

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

func StepIDGT

func StepIDGT(v string) predicate.RunStep

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

func StepIDGTE

func StepIDGTE(v string) predicate.RunStep

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

func StepIDHasPrefix

func StepIDHasPrefix(v string) predicate.RunStep

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

func StepIDHasSuffix

func StepIDHasSuffix(v string) predicate.RunStep

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

func StepIDIn

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

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

func StepIDLT

func StepIDLT(v string) predicate.RunStep

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

func StepIDLTE

func StepIDLTE(v string) predicate.RunStep

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

func StepIDNEQ

func StepIDNEQ(v string) predicate.RunStep

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

func StepIDNotIn

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

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

func StepIndex

func StepIndex(v int) predicate.RunStep

StepIndex applies equality check predicate on the "step_index" field. It's identical to StepIndexEQ.

func StepIndexEQ

func StepIndexEQ(v int) predicate.RunStep

StepIndexEQ applies the EQ predicate on the "step_index" field.

func StepIndexGT

func StepIndexGT(v int) predicate.RunStep

StepIndexGT applies the GT predicate on the "step_index" field.

func StepIndexGTE

func StepIndexGTE(v int) predicate.RunStep

StepIndexGTE applies the GTE predicate on the "step_index" field.

func StepIndexIn

func StepIndexIn(vs ...int) predicate.RunStep

StepIndexIn applies the In predicate on the "step_index" field.

func StepIndexLT

func StepIndexLT(v int) predicate.RunStep

StepIndexLT applies the LT predicate on the "step_index" field.

func StepIndexLTE

func StepIndexLTE(v int) predicate.RunStep

StepIndexLTE applies the LTE predicate on the "step_index" field.

func StepIndexNEQ

func StepIndexNEQ(v int) predicate.RunStep

StepIndexNEQ applies the NEQ predicate on the "step_index" field.

func StepIndexNotIn

func StepIndexNotIn(vs ...int) predicate.RunStep

StepIndexNotIn applies the NotIn predicate on the "step_index" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.RunStep

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.RunStep

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.RunStep

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.RunStep

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.RunStep

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.RunStep

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.RunStep

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.RunStep

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.RunStep

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func ValidColumn

func ValidColumn(column string) bool

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

func ValidatorSpec

func ValidatorSpec(v string) predicate.RunStep

ValidatorSpec applies equality check predicate on the "validator_spec" field. It's identical to ValidatorSpecEQ.

func ValidatorSpecContains

func ValidatorSpecContains(v string) predicate.RunStep

ValidatorSpecContains applies the Contains predicate on the "validator_spec" field.

func ValidatorSpecContainsFold

func ValidatorSpecContainsFold(v string) predicate.RunStep

ValidatorSpecContainsFold applies the ContainsFold predicate on the "validator_spec" field.

func ValidatorSpecEQ

func ValidatorSpecEQ(v string) predicate.RunStep

ValidatorSpecEQ applies the EQ predicate on the "validator_spec" field.

func ValidatorSpecEqualFold

func ValidatorSpecEqualFold(v string) predicate.RunStep

ValidatorSpecEqualFold applies the EqualFold predicate on the "validator_spec" field.

func ValidatorSpecGT

func ValidatorSpecGT(v string) predicate.RunStep

ValidatorSpecGT applies the GT predicate on the "validator_spec" field.

func ValidatorSpecGTE

func ValidatorSpecGTE(v string) predicate.RunStep

ValidatorSpecGTE applies the GTE predicate on the "validator_spec" field.

func ValidatorSpecHasPrefix

func ValidatorSpecHasPrefix(v string) predicate.RunStep

ValidatorSpecHasPrefix applies the HasPrefix predicate on the "validator_spec" field.

func ValidatorSpecHasSuffix

func ValidatorSpecHasSuffix(v string) predicate.RunStep

ValidatorSpecHasSuffix applies the HasSuffix predicate on the "validator_spec" field.

func ValidatorSpecIn

func ValidatorSpecIn(vs ...string) predicate.RunStep

ValidatorSpecIn applies the In predicate on the "validator_spec" field.

func ValidatorSpecIsNil

func ValidatorSpecIsNil() predicate.RunStep

ValidatorSpecIsNil applies the IsNil predicate on the "validator_spec" field.

func ValidatorSpecLT

func ValidatorSpecLT(v string) predicate.RunStep

ValidatorSpecLT applies the LT predicate on the "validator_spec" field.

func ValidatorSpecLTE

func ValidatorSpecLTE(v string) predicate.RunStep

ValidatorSpecLTE applies the LTE predicate on the "validator_spec" field.

func ValidatorSpecNEQ

func ValidatorSpecNEQ(v string) predicate.RunStep

ValidatorSpecNEQ applies the NEQ predicate on the "validator_spec" field.

func ValidatorSpecNotIn

func ValidatorSpecNotIn(vs ...string) predicate.RunStep

ValidatorSpecNotIn applies the NotIn predicate on the "validator_spec" field.

func ValidatorSpecNotNil

func ValidatorSpecNotNil() predicate.RunStep

ValidatorSpecNotNil applies the NotNil predicate on the "validator_spec" field.

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the RunStep queries.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByEvidence

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

ByEvidence orders the results by the evidence field.

func ByGoal

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

ByGoal orders the results by the goal field.

func ByID

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

ByID orders the results by the id field.

func ByMaxRetries

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

ByMaxRetries orders the results by the max_retries field.

func ByOwnerAgent

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

ByOwnerAgent orders the results by the owner_agent field.

func ByResult

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

ByResult orders the results by the result field.

func ByRetryCount

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

ByRetryCount orders the results by the retry_count field.

func ByRunID

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

ByRunID orders the results by the run_id 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.

func ByStepIndex

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

ByStepIndex orders the results by the step_index field.

func ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

func ByValidatorSpec

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

ByValidatorSpec orders the results by the validator_spec field.

type Status

type Status string

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

const (
	StatusPending       Status = "pending"
	StatusInProgress    Status = "in_progress"
	StatusVerifyPending Status = "verify_pending"
	StatusCompleted     Status = "completed"
	StatusFailed        Status = "failed"
	StatusInterrupted   Status = "interrupted"
)

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