Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.RunStep) predicate.RunStep
- func CreatedAt(v time.Time) predicate.RunStep
- func CreatedAtEQ(v time.Time) predicate.RunStep
- func CreatedAtGT(v time.Time) predicate.RunStep
- func CreatedAtGTE(v time.Time) predicate.RunStep
- func CreatedAtIn(vs ...time.Time) predicate.RunStep
- func CreatedAtLT(v time.Time) predicate.RunStep
- func CreatedAtLTE(v time.Time) predicate.RunStep
- func CreatedAtNEQ(v time.Time) predicate.RunStep
- func CreatedAtNotIn(vs ...time.Time) predicate.RunStep
- func Evidence(v string) predicate.RunStep
- func EvidenceContains(v string) predicate.RunStep
- func EvidenceContainsFold(v string) predicate.RunStep
- func EvidenceEQ(v string) predicate.RunStep
- func EvidenceEqualFold(v string) predicate.RunStep
- func EvidenceGT(v string) predicate.RunStep
- func EvidenceGTE(v string) predicate.RunStep
- func EvidenceHasPrefix(v string) predicate.RunStep
- func EvidenceHasSuffix(v string) predicate.RunStep
- func EvidenceIn(vs ...string) predicate.RunStep
- func EvidenceIsNil() predicate.RunStep
- func EvidenceLT(v string) predicate.RunStep
- func EvidenceLTE(v string) predicate.RunStep
- func EvidenceNEQ(v string) predicate.RunStep
- func EvidenceNotIn(vs ...string) predicate.RunStep
- func EvidenceNotNil() predicate.RunStep
- func Goal(v string) predicate.RunStep
- func GoalContains(v string) predicate.RunStep
- func GoalContainsFold(v string) predicate.RunStep
- func GoalEQ(v string) predicate.RunStep
- func GoalEqualFold(v string) predicate.RunStep
- func GoalGT(v string) predicate.RunStep
- func GoalGTE(v string) predicate.RunStep
- func GoalHasPrefix(v string) predicate.RunStep
- func GoalHasSuffix(v string) predicate.RunStep
- func GoalIn(vs ...string) predicate.RunStep
- func GoalIsNil() predicate.RunStep
- func GoalLT(v string) predicate.RunStep
- func GoalLTE(v string) predicate.RunStep
- func GoalNEQ(v string) predicate.RunStep
- func GoalNotIn(vs ...string) predicate.RunStep
- func GoalNotNil() predicate.RunStep
- func ID(id uuid.UUID) predicate.RunStep
- func IDEQ(id uuid.UUID) predicate.RunStep
- func IDGT(id uuid.UUID) predicate.RunStep
- func IDGTE(id uuid.UUID) predicate.RunStep
- func IDIn(ids ...uuid.UUID) predicate.RunStep
- func IDLT(id uuid.UUID) predicate.RunStep
- func IDLTE(id uuid.UUID) predicate.RunStep
- func IDNEQ(id uuid.UUID) predicate.RunStep
- func IDNotIn(ids ...uuid.UUID) predicate.RunStep
- func MaxRetries(v int) predicate.RunStep
- func MaxRetriesEQ(v int) predicate.RunStep
- func MaxRetriesGT(v int) predicate.RunStep
- func MaxRetriesGTE(v int) predicate.RunStep
- func MaxRetriesIn(vs ...int) predicate.RunStep
- func MaxRetriesLT(v int) predicate.RunStep
- func MaxRetriesLTE(v int) predicate.RunStep
- func MaxRetriesNEQ(v int) predicate.RunStep
- func MaxRetriesNotIn(vs ...int) predicate.RunStep
- func Not(p predicate.RunStep) predicate.RunStep
- func Or(predicates ...predicate.RunStep) predicate.RunStep
- func OwnerAgent(v string) predicate.RunStep
- func OwnerAgentContains(v string) predicate.RunStep
- func OwnerAgentContainsFold(v string) predicate.RunStep
- func OwnerAgentEQ(v string) predicate.RunStep
- func OwnerAgentEqualFold(v string) predicate.RunStep
- func OwnerAgentGT(v string) predicate.RunStep
- func OwnerAgentGTE(v string) predicate.RunStep
- func OwnerAgentHasPrefix(v string) predicate.RunStep
- func OwnerAgentHasSuffix(v string) predicate.RunStep
- func OwnerAgentIn(vs ...string) predicate.RunStep
- func OwnerAgentIsNil() predicate.RunStep
- func OwnerAgentLT(v string) predicate.RunStep
- func OwnerAgentLTE(v string) predicate.RunStep
- func OwnerAgentNEQ(v string) predicate.RunStep
- func OwnerAgentNotIn(vs ...string) predicate.RunStep
- func OwnerAgentNotNil() predicate.RunStep
- func Result(v string) predicate.RunStep
- func ResultContains(v string) predicate.RunStep
- func ResultContainsFold(v string) predicate.RunStep
- func ResultEQ(v string) predicate.RunStep
- func ResultEqualFold(v string) predicate.RunStep
- func ResultGT(v string) predicate.RunStep
- func ResultGTE(v string) predicate.RunStep
- func ResultHasPrefix(v string) predicate.RunStep
- func ResultHasSuffix(v string) predicate.RunStep
- func ResultIn(vs ...string) predicate.RunStep
- func ResultIsNil() predicate.RunStep
- func ResultLT(v string) predicate.RunStep
- func ResultLTE(v string) predicate.RunStep
- func ResultNEQ(v string) predicate.RunStep
- func ResultNotIn(vs ...string) predicate.RunStep
- func ResultNotNil() predicate.RunStep
- func RetryCount(v int) predicate.RunStep
- func RetryCountEQ(v int) predicate.RunStep
- func RetryCountGT(v int) predicate.RunStep
- func RetryCountGTE(v int) predicate.RunStep
- func RetryCountIn(vs ...int) predicate.RunStep
- func RetryCountLT(v int) predicate.RunStep
- func RetryCountLTE(v int) predicate.RunStep
- func RetryCountNEQ(v int) predicate.RunStep
- func RetryCountNotIn(vs ...int) predicate.RunStep
- func RunID(v string) predicate.RunStep
- func RunIDContains(v string) predicate.RunStep
- func RunIDContainsFold(v string) predicate.RunStep
- func RunIDEQ(v string) predicate.RunStep
- func RunIDEqualFold(v string) predicate.RunStep
- func RunIDGT(v string) predicate.RunStep
- func RunIDGTE(v string) predicate.RunStep
- func RunIDHasPrefix(v string) predicate.RunStep
- func RunIDHasSuffix(v string) predicate.RunStep
- func RunIDIn(vs ...string) predicate.RunStep
- func RunIDLT(v string) predicate.RunStep
- func RunIDLTE(v string) predicate.RunStep
- func RunIDNEQ(v string) predicate.RunStep
- func RunIDNotIn(vs ...string) predicate.RunStep
- func StatusEQ(v Status) predicate.RunStep
- func StatusIn(vs ...Status) predicate.RunStep
- func StatusNEQ(v Status) predicate.RunStep
- func StatusNotIn(vs ...Status) predicate.RunStep
- func StatusValidator(s Status) error
- func StepID(v string) predicate.RunStep
- func StepIDContains(v string) predicate.RunStep
- func StepIDContainsFold(v string) predicate.RunStep
- func StepIDEQ(v string) predicate.RunStep
- func StepIDEqualFold(v string) predicate.RunStep
- func StepIDGT(v string) predicate.RunStep
- func StepIDGTE(v string) predicate.RunStep
- func StepIDHasPrefix(v string) predicate.RunStep
- func StepIDHasSuffix(v string) predicate.RunStep
- func StepIDIn(vs ...string) predicate.RunStep
- func StepIDLT(v string) predicate.RunStep
- func StepIDLTE(v string) predicate.RunStep
- func StepIDNEQ(v string) predicate.RunStep
- func StepIDNotIn(vs ...string) predicate.RunStep
- func StepIndex(v int) predicate.RunStep
- func StepIndexEQ(v int) predicate.RunStep
- func StepIndexGT(v int) predicate.RunStep
- func StepIndexGTE(v int) predicate.RunStep
- func StepIndexIn(vs ...int) predicate.RunStep
- func StepIndexLT(v int) predicate.RunStep
- func StepIndexLTE(v int) predicate.RunStep
- func StepIndexNEQ(v int) predicate.RunStep
- func StepIndexNotIn(vs ...int) predicate.RunStep
- func UpdatedAt(v time.Time) predicate.RunStep
- func UpdatedAtEQ(v time.Time) predicate.RunStep
- func UpdatedAtGT(v time.Time) predicate.RunStep
- func UpdatedAtGTE(v time.Time) predicate.RunStep
- func UpdatedAtIn(vs ...time.Time) predicate.RunStep
- func UpdatedAtLT(v time.Time) predicate.RunStep
- func UpdatedAtLTE(v time.Time) predicate.RunStep
- func UpdatedAtNEQ(v time.Time) predicate.RunStep
- func UpdatedAtNotIn(vs ...time.Time) predicate.RunStep
- func ValidColumn(column string) bool
- func ValidatorSpec(v string) predicate.RunStep
- func ValidatorSpecContains(v string) predicate.RunStep
- func ValidatorSpecContainsFold(v string) predicate.RunStep
- func ValidatorSpecEQ(v string) predicate.RunStep
- func ValidatorSpecEqualFold(v string) predicate.RunStep
- func ValidatorSpecGT(v string) predicate.RunStep
- func ValidatorSpecGTE(v string) predicate.RunStep
- func ValidatorSpecHasPrefix(v string) predicate.RunStep
- func ValidatorSpecHasSuffix(v string) predicate.RunStep
- func ValidatorSpecIn(vs ...string) predicate.RunStep
- func ValidatorSpecIsNil() predicate.RunStep
- func ValidatorSpecLT(v string) predicate.RunStep
- func ValidatorSpecLTE(v string) predicate.RunStep
- func ValidatorSpecNEQ(v string) predicate.RunStep
- func ValidatorSpecNotIn(vs ...string) predicate.RunStep
- func ValidatorSpecNotNil() predicate.RunStep
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByEvidence(opts ...sql.OrderTermOption) OrderOption
- func ByGoal(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByMaxRetries(opts ...sql.OrderTermOption) OrderOption
- func ByOwnerAgent(opts ...sql.OrderTermOption) OrderOption
- func ByResult(opts ...sql.OrderTermOption) OrderOption
- func ByRetryCount(opts ...sql.OrderTermOption) OrderOption
- func ByRunID(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func ByStepID(opts ...sql.OrderTermOption) OrderOption
- func ByStepIndex(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByValidatorSpec(opts ...sql.OrderTermOption) OrderOption
- type Status
Constants ¶
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" )
const DefaultStatus = StatusPending
StatusPending is the default value of the Status enum.
Variables ¶
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 )
var Columns = []string{ FieldID, FieldRunID, FieldStepID, FieldStepIndex, FieldGoal, FieldOwnerAgent, FieldStatus, FieldResult, FieldEvidence, FieldValidatorSpec, FieldRetryCount, FieldMaxRetries, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for runstep fields.
Functions ¶
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func Evidence ¶
Evidence applies equality check predicate on the "evidence" field. It's identical to EvidenceEQ.
func EvidenceContains ¶
EvidenceContains applies the Contains predicate on the "evidence" field.
func EvidenceContainsFold ¶
EvidenceContainsFold applies the ContainsFold predicate on the "evidence" field.
func EvidenceEQ ¶
EvidenceEQ applies the EQ predicate on the "evidence" field.
func EvidenceEqualFold ¶
EvidenceEqualFold applies the EqualFold predicate on the "evidence" field.
func EvidenceGT ¶
EvidenceGT applies the GT predicate on the "evidence" field.
func EvidenceGTE ¶
EvidenceGTE applies the GTE predicate on the "evidence" field.
func EvidenceHasPrefix ¶
EvidenceHasPrefix applies the HasPrefix predicate on the "evidence" field.
func EvidenceHasSuffix ¶
EvidenceHasSuffix applies the HasSuffix predicate on the "evidence" field.
func EvidenceIn ¶
EvidenceIn applies the In predicate on the "evidence" field.
func EvidenceIsNil ¶
EvidenceIsNil applies the IsNil predicate on the "evidence" field.
func EvidenceLT ¶
EvidenceLT applies the LT predicate on the "evidence" field.
func EvidenceLTE ¶
EvidenceLTE applies the LTE predicate on the "evidence" field.
func EvidenceNEQ ¶
EvidenceNEQ applies the NEQ predicate on the "evidence" field.
func EvidenceNotIn ¶
EvidenceNotIn applies the NotIn predicate on the "evidence" field.
func EvidenceNotNil ¶
EvidenceNotNil applies the NotNil predicate on the "evidence" field.
func GoalContains ¶
GoalContains applies the Contains predicate on the "goal" field.
func GoalContainsFold ¶
GoalContainsFold applies the ContainsFold predicate on the "goal" field.
func GoalEqualFold ¶
GoalEqualFold applies the EqualFold predicate on the "goal" field.
func GoalHasPrefix ¶
GoalHasPrefix applies the HasPrefix predicate on the "goal" field.
func GoalHasSuffix ¶
GoalHasSuffix applies the HasSuffix predicate on the "goal" field.
func GoalNotNil ¶
GoalNotNil applies the NotNil predicate on the "goal" field.
func MaxRetries ¶
MaxRetries applies equality check predicate on the "max_retries" field. It's identical to MaxRetriesEQ.
func MaxRetriesEQ ¶
MaxRetriesEQ applies the EQ predicate on the "max_retries" field.
func MaxRetriesGT ¶
MaxRetriesGT applies the GT predicate on the "max_retries" field.
func MaxRetriesGTE ¶
MaxRetriesGTE applies the GTE predicate on the "max_retries" field.
func MaxRetriesIn ¶
MaxRetriesIn applies the In predicate on the "max_retries" field.
func MaxRetriesLT ¶
MaxRetriesLT applies the LT predicate on the "max_retries" field.
func MaxRetriesLTE ¶
MaxRetriesLTE applies the LTE predicate on the "max_retries" field.
func MaxRetriesNEQ ¶
MaxRetriesNEQ applies the NEQ predicate on the "max_retries" field.
func MaxRetriesNotIn ¶
MaxRetriesNotIn applies the NotIn predicate on the "max_retries" field.
func OwnerAgent ¶
OwnerAgent applies equality check predicate on the "owner_agent" field. It's identical to OwnerAgentEQ.
func OwnerAgentContains ¶
OwnerAgentContains applies the Contains predicate on the "owner_agent" field.
func OwnerAgentContainsFold ¶
OwnerAgentContainsFold applies the ContainsFold predicate on the "owner_agent" field.
func OwnerAgentEQ ¶
OwnerAgentEQ applies the EQ predicate on the "owner_agent" field.
func OwnerAgentEqualFold ¶
OwnerAgentEqualFold applies the EqualFold predicate on the "owner_agent" field.
func OwnerAgentGT ¶
OwnerAgentGT applies the GT predicate on the "owner_agent" field.
func OwnerAgentGTE ¶
OwnerAgentGTE applies the GTE predicate on the "owner_agent" field.
func OwnerAgentHasPrefix ¶
OwnerAgentHasPrefix applies the HasPrefix predicate on the "owner_agent" field.
func OwnerAgentHasSuffix ¶
OwnerAgentHasSuffix applies the HasSuffix predicate on the "owner_agent" field.
func OwnerAgentIn ¶
OwnerAgentIn applies the In predicate on the "owner_agent" field.
func OwnerAgentIsNil ¶
OwnerAgentIsNil applies the IsNil predicate on the "owner_agent" field.
func OwnerAgentLT ¶
OwnerAgentLT applies the LT predicate on the "owner_agent" field.
func OwnerAgentLTE ¶
OwnerAgentLTE applies the LTE predicate on the "owner_agent" field.
func OwnerAgentNEQ ¶
OwnerAgentNEQ applies the NEQ predicate on the "owner_agent" field.
func OwnerAgentNotIn ¶
OwnerAgentNotIn applies the NotIn predicate on the "owner_agent" field.
func OwnerAgentNotNil ¶
OwnerAgentNotNil applies the NotNil predicate on the "owner_agent" field.
func Result ¶
Result applies equality check predicate on the "result" field. It's identical to ResultEQ.
func ResultContains ¶
ResultContains applies the Contains predicate on the "result" field.
func ResultContainsFold ¶
ResultContainsFold applies the ContainsFold predicate on the "result" field.
func ResultEqualFold ¶
ResultEqualFold applies the EqualFold predicate on the "result" field.
func ResultHasPrefix ¶
ResultHasPrefix applies the HasPrefix predicate on the "result" field.
func ResultHasSuffix ¶
ResultHasSuffix applies the HasSuffix predicate on the "result" field.
func ResultIsNil ¶
ResultIsNil applies the IsNil predicate on the "result" field.
func ResultNotIn ¶
ResultNotIn applies the NotIn predicate on the "result" field.
func ResultNotNil ¶
ResultNotNil applies the NotNil predicate on the "result" field.
func RetryCount ¶
RetryCount applies equality check predicate on the "retry_count" field. It's identical to RetryCountEQ.
func RetryCountEQ ¶
RetryCountEQ applies the EQ predicate on the "retry_count" field.
func RetryCountGT ¶
RetryCountGT applies the GT predicate on the "retry_count" field.
func RetryCountGTE ¶
RetryCountGTE applies the GTE predicate on the "retry_count" field.
func RetryCountIn ¶
RetryCountIn applies the In predicate on the "retry_count" field.
func RetryCountLT ¶
RetryCountLT applies the LT predicate on the "retry_count" field.
func RetryCountLTE ¶
RetryCountLTE applies the LTE predicate on the "retry_count" field.
func RetryCountNEQ ¶
RetryCountNEQ applies the NEQ predicate on the "retry_count" field.
func RetryCountNotIn ¶
RetryCountNotIn applies the NotIn predicate on the "retry_count" field.
func RunID ¶
RunID applies equality check predicate on the "run_id" field. It's identical to RunIDEQ.
func RunIDContains ¶
RunIDContains applies the Contains predicate on the "run_id" field.
func RunIDContainsFold ¶
RunIDContainsFold applies the ContainsFold predicate on the "run_id" field.
func RunIDEqualFold ¶
RunIDEqualFold applies the EqualFold predicate on the "run_id" field.
func RunIDHasPrefix ¶
RunIDHasPrefix applies the HasPrefix predicate on the "run_id" field.
func RunIDHasSuffix ¶
RunIDHasSuffix applies the HasSuffix predicate on the "run_id" field.
func RunIDNotIn ¶
RunIDNotIn applies the NotIn predicate on the "run_id" field.
func StatusNotIn ¶
StatusNotIn applies the NotIn predicate on the "status" field.
func StatusValidator ¶
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 ¶
StepIDContains applies the Contains predicate on the "step_id" field.
func StepIDContainsFold ¶
StepIDContainsFold applies the ContainsFold predicate on the "step_id" field.
func StepIDEqualFold ¶
StepIDEqualFold applies the EqualFold predicate on the "step_id" field.
func StepIDHasPrefix ¶
StepIDHasPrefix applies the HasPrefix predicate on the "step_id" field.
func StepIDHasSuffix ¶
StepIDHasSuffix applies the HasSuffix predicate on the "step_id" field.
func StepIDNotIn ¶
StepIDNotIn applies the NotIn predicate on the "step_id" field.
func StepIndex ¶
StepIndex applies equality check predicate on the "step_index" field. It's identical to StepIndexEQ.
func StepIndexEQ ¶
StepIndexEQ applies the EQ predicate on the "step_index" field.
func StepIndexGT ¶
StepIndexGT applies the GT predicate on the "step_index" field.
func StepIndexGTE ¶
StepIndexGTE applies the GTE predicate on the "step_index" field.
func StepIndexIn ¶
StepIndexIn applies the In predicate on the "step_index" field.
func StepIndexLT ¶
StepIndexLT applies the LT predicate on the "step_index" field.
func StepIndexLTE ¶
StepIndexLTE applies the LTE predicate on the "step_index" field.
func StepIndexNEQ ¶
StepIndexNEQ applies the NEQ predicate on the "step_index" field.
func StepIndexNotIn ¶
StepIndexNotIn applies the NotIn predicate on the "step_index" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func ValidatorSpec ¶
ValidatorSpec applies equality check predicate on the "validator_spec" field. It's identical to ValidatorSpecEQ.
func ValidatorSpecContains ¶
ValidatorSpecContains applies the Contains predicate on the "validator_spec" field.
func ValidatorSpecContainsFold ¶
ValidatorSpecContainsFold applies the ContainsFold predicate on the "validator_spec" field.
func ValidatorSpecEQ ¶
ValidatorSpecEQ applies the EQ predicate on the "validator_spec" field.
func ValidatorSpecEqualFold ¶
ValidatorSpecEqualFold applies the EqualFold predicate on the "validator_spec" field.
func ValidatorSpecGT ¶
ValidatorSpecGT applies the GT predicate on the "validator_spec" field.
func ValidatorSpecGTE ¶
ValidatorSpecGTE applies the GTE predicate on the "validator_spec" field.
func ValidatorSpecHasPrefix ¶
ValidatorSpecHasPrefix applies the HasPrefix predicate on the "validator_spec" field.
func ValidatorSpecHasSuffix ¶
ValidatorSpecHasSuffix applies the HasSuffix predicate on the "validator_spec" field.
func ValidatorSpecIn ¶
ValidatorSpecIn applies the In predicate on the "validator_spec" field.
func ValidatorSpecIsNil ¶
ValidatorSpecIsNil applies the IsNil predicate on the "validator_spec" field.
func ValidatorSpecLT ¶
ValidatorSpecLT applies the LT predicate on the "validator_spec" field.
func ValidatorSpecLTE ¶
ValidatorSpecLTE applies the LTE predicate on the "validator_spec" field.
func ValidatorSpecNEQ ¶
ValidatorSpecNEQ applies the NEQ predicate on the "validator_spec" field.
func ValidatorSpecNotIn ¶
ValidatorSpecNotIn applies the NotIn predicate on the "validator_spec" field.
func ValidatorSpecNotNil ¶
ValidatorSpecNotNil applies the NotNil predicate on the "validator_spec" field.
Types ¶
type OrderOption ¶
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.