workflowtask

package
v0.98.0 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2026 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the workflowtask type in the database.
	Label = "workflow_task"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldWorkflowID holds the string denoting the workflow_id field in the database.
	FieldWorkflowID = "workflow_id"
	// FieldTaskID holds the string denoting the task_id field in the database.
	FieldTaskID = "task_id"
	// FieldAction holds the string denoting the action field in the database.
	FieldAction = "action"
	// FieldDescribe holds the string denoting the describe field in the database.
	FieldDescribe = "describe"
	// FieldParams holds the string denoting the params field in the database.
	FieldParams = "params"
	// FieldVars holds the string denoting the vars field in the database.
	FieldVars = "vars"
	// FieldConn holds the string denoting the conn field in the database.
	FieldConn = "conn"
	// FieldRetry holds the string denoting the retry field in the database.
	FieldRetry = "retry"
	// Table holds the table name of the workflowtask in the database.
	Table = "workflow_tasks"
)

Variables

View Source
var (
	// TaskIDValidator is a validator for the "task_id" field. It is called by the builders before save.
	TaskIDValidator func(string) error
	// ActionValidator is a validator for the "action" field. It is called by the builders before save.
	ActionValidator func(string) error
	// DefaultDescribe holds the default value on creation for the "describe" field.
	DefaultDescribe string
)

Columns holds all SQL columns for workflowtask fields.

Functions

func Action

func Action(v string) predicate.WorkflowTask

Action applies equality check predicate on the "action" field. It's identical to ActionEQ.

func ActionContains

func ActionContains(v string) predicate.WorkflowTask

ActionContains applies the Contains predicate on the "action" field.

func ActionContainsFold

func ActionContainsFold(v string) predicate.WorkflowTask

ActionContainsFold applies the ContainsFold predicate on the "action" field.

func ActionEQ

func ActionEQ(v string) predicate.WorkflowTask

ActionEQ applies the EQ predicate on the "action" field.

func ActionEqualFold

func ActionEqualFold(v string) predicate.WorkflowTask

ActionEqualFold applies the EqualFold predicate on the "action" field.

func ActionGT

func ActionGT(v string) predicate.WorkflowTask

ActionGT applies the GT predicate on the "action" field.

func ActionGTE

func ActionGTE(v string) predicate.WorkflowTask

ActionGTE applies the GTE predicate on the "action" field.

func ActionHasPrefix

func ActionHasPrefix(v string) predicate.WorkflowTask

ActionHasPrefix applies the HasPrefix predicate on the "action" field.

func ActionHasSuffix

func ActionHasSuffix(v string) predicate.WorkflowTask

ActionHasSuffix applies the HasSuffix predicate on the "action" field.

func ActionIn

func ActionIn(vs ...string) predicate.WorkflowTask

ActionIn applies the In predicate on the "action" field.

func ActionLT

func ActionLT(v string) predicate.WorkflowTask

ActionLT applies the LT predicate on the "action" field.

func ActionLTE

func ActionLTE(v string) predicate.WorkflowTask

ActionLTE applies the LTE predicate on the "action" field.

func ActionNEQ

func ActionNEQ(v string) predicate.WorkflowTask

ActionNEQ applies the NEQ predicate on the "action" field.

func ActionNotIn

func ActionNotIn(vs ...string) predicate.WorkflowTask

ActionNotIn applies the NotIn predicate on the "action" field.

func And

func And(predicates ...predicate.WorkflowTask) predicate.WorkflowTask

And groups predicates with the AND operator between them.

func ConnIsNil

func ConnIsNil() predicate.WorkflowTask

ConnIsNil applies the IsNil predicate on the "conn" field.

func ConnNotNil

func ConnNotNil() predicate.WorkflowTask

ConnNotNil applies the NotNil predicate on the "conn" field.

func Describe

func Describe(v string) predicate.WorkflowTask

Describe applies equality check predicate on the "describe" field. It's identical to DescribeEQ.

func DescribeContains

func DescribeContains(v string) predicate.WorkflowTask

DescribeContains applies the Contains predicate on the "describe" field.

func DescribeContainsFold

func DescribeContainsFold(v string) predicate.WorkflowTask

DescribeContainsFold applies the ContainsFold predicate on the "describe" field.

func DescribeEQ

func DescribeEQ(v string) predicate.WorkflowTask

DescribeEQ applies the EQ predicate on the "describe" field.

func DescribeEqualFold

func DescribeEqualFold(v string) predicate.WorkflowTask

DescribeEqualFold applies the EqualFold predicate on the "describe" field.

func DescribeGT

func DescribeGT(v string) predicate.WorkflowTask

DescribeGT applies the GT predicate on the "describe" field.

func DescribeGTE

func DescribeGTE(v string) predicate.WorkflowTask

DescribeGTE applies the GTE predicate on the "describe" field.

func DescribeHasPrefix

func DescribeHasPrefix(v string) predicate.WorkflowTask

DescribeHasPrefix applies the HasPrefix predicate on the "describe" field.

func DescribeHasSuffix

func DescribeHasSuffix(v string) predicate.WorkflowTask

DescribeHasSuffix applies the HasSuffix predicate on the "describe" field.

func DescribeIn

func DescribeIn(vs ...string) predicate.WorkflowTask

DescribeIn applies the In predicate on the "describe" field.

func DescribeIsNil

func DescribeIsNil() predicate.WorkflowTask

DescribeIsNil applies the IsNil predicate on the "describe" field.

func DescribeLT

func DescribeLT(v string) predicate.WorkflowTask

DescribeLT applies the LT predicate on the "describe" field.

func DescribeLTE

func DescribeLTE(v string) predicate.WorkflowTask

DescribeLTE applies the LTE predicate on the "describe" field.

func DescribeNEQ

func DescribeNEQ(v string) predicate.WorkflowTask

DescribeNEQ applies the NEQ predicate on the "describe" field.

func DescribeNotIn

func DescribeNotIn(vs ...string) predicate.WorkflowTask

DescribeNotIn applies the NotIn predicate on the "describe" field.

func DescribeNotNil

func DescribeNotNil() predicate.WorkflowTask

DescribeNotNil applies the NotNil predicate on the "describe" field.

func ID

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int64) predicate.WorkflowTask

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int64) predicate.WorkflowTask

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int64) predicate.WorkflowTask

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int64) predicate.WorkflowTask

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int64) predicate.WorkflowTask

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int64) predicate.WorkflowTask

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int64) predicate.WorkflowTask

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int64) predicate.WorkflowTask

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.WorkflowTask) predicate.WorkflowTask

Or groups predicates with the OR operator between them.

func ParamsIsNil

func ParamsIsNil() predicate.WorkflowTask

ParamsIsNil applies the IsNil predicate on the "params" field.

func ParamsNotNil

func ParamsNotNil() predicate.WorkflowTask

ParamsNotNil applies the NotNil predicate on the "params" field.

func RetryIsNil

func RetryIsNil() predicate.WorkflowTask

RetryIsNil applies the IsNil predicate on the "retry" field.

func RetryNotNil

func RetryNotNil() predicate.WorkflowTask

RetryNotNil applies the NotNil predicate on the "retry" field.

func TaskID

func TaskID(v string) predicate.WorkflowTask

TaskID applies equality check predicate on the "task_id" field. It's identical to TaskIDEQ.

func TaskIDContains

func TaskIDContains(v string) predicate.WorkflowTask

TaskIDContains applies the Contains predicate on the "task_id" field.

func TaskIDContainsFold

func TaskIDContainsFold(v string) predicate.WorkflowTask

TaskIDContainsFold applies the ContainsFold predicate on the "task_id" field.

func TaskIDEQ

func TaskIDEQ(v string) predicate.WorkflowTask

TaskIDEQ applies the EQ predicate on the "task_id" field.

func TaskIDEqualFold

func TaskIDEqualFold(v string) predicate.WorkflowTask

TaskIDEqualFold applies the EqualFold predicate on the "task_id" field.

func TaskIDGT

func TaskIDGT(v string) predicate.WorkflowTask

TaskIDGT applies the GT predicate on the "task_id" field.

func TaskIDGTE

func TaskIDGTE(v string) predicate.WorkflowTask

TaskIDGTE applies the GTE predicate on the "task_id" field.

func TaskIDHasPrefix

func TaskIDHasPrefix(v string) predicate.WorkflowTask

TaskIDHasPrefix applies the HasPrefix predicate on the "task_id" field.

func TaskIDHasSuffix

func TaskIDHasSuffix(v string) predicate.WorkflowTask

TaskIDHasSuffix applies the HasSuffix predicate on the "task_id" field.

func TaskIDIn

func TaskIDIn(vs ...string) predicate.WorkflowTask

TaskIDIn applies the In predicate on the "task_id" field.

func TaskIDLT

func TaskIDLT(v string) predicate.WorkflowTask

TaskIDLT applies the LT predicate on the "task_id" field.

func TaskIDLTE

func TaskIDLTE(v string) predicate.WorkflowTask

TaskIDLTE applies the LTE predicate on the "task_id" field.

func TaskIDNEQ

func TaskIDNEQ(v string) predicate.WorkflowTask

TaskIDNEQ applies the NEQ predicate on the "task_id" field.

func TaskIDNotIn

func TaskIDNotIn(vs ...string) predicate.WorkflowTask

TaskIDNotIn applies the NotIn predicate on the "task_id" field.

func ValidColumn

func ValidColumn(column string) bool

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

func VarsIsNil

func VarsIsNil() predicate.WorkflowTask

VarsIsNil applies the IsNil predicate on the "vars" field.

func VarsNotNil

func VarsNotNil() predicate.WorkflowTask

VarsNotNil applies the NotNil predicate on the "vars" field.

func WorkflowID

func WorkflowID(v int64) predicate.WorkflowTask

WorkflowID applies equality check predicate on the "workflow_id" field. It's identical to WorkflowIDEQ.

func WorkflowIDEQ

func WorkflowIDEQ(v int64) predicate.WorkflowTask

WorkflowIDEQ applies the EQ predicate on the "workflow_id" field.

func WorkflowIDGT

func WorkflowIDGT(v int64) predicate.WorkflowTask

WorkflowIDGT applies the GT predicate on the "workflow_id" field.

func WorkflowIDGTE

func WorkflowIDGTE(v int64) predicate.WorkflowTask

WorkflowIDGTE applies the GTE predicate on the "workflow_id" field.

func WorkflowIDIn

func WorkflowIDIn(vs ...int64) predicate.WorkflowTask

WorkflowIDIn applies the In predicate on the "workflow_id" field.

func WorkflowIDLT

func WorkflowIDLT(v int64) predicate.WorkflowTask

WorkflowIDLT applies the LT predicate on the "workflow_id" field.

func WorkflowIDLTE

func WorkflowIDLTE(v int64) predicate.WorkflowTask

WorkflowIDLTE applies the LTE predicate on the "workflow_id" field.

func WorkflowIDNEQ

func WorkflowIDNEQ(v int64) predicate.WorkflowTask

WorkflowIDNEQ applies the NEQ predicate on the "workflow_id" field.

func WorkflowIDNotIn

func WorkflowIDNotIn(vs ...int64) predicate.WorkflowTask

WorkflowIDNotIn applies the NotIn predicate on the "workflow_id" field.

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the WorkflowTask queries.

func ByAction

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

ByAction orders the results by the action field.

func ByDescribe

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

ByDescribe orders the results by the describe field.

func ByID

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

ByID orders the results by the id field.

func ByTaskID

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

ByTaskID orders the results by the task_id field.

func ByWorkflowID

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

ByWorkflowID orders the results by the workflow_id field.

Jump to

Keyboard shortcuts

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