Documentation
¶
Index ¶
- Constants
- Variables
- func AgreeCount(v int32) predicate.Task
- func AgreeCountEQ(v int32) predicate.Task
- func AgreeCountGT(v int32) predicate.Task
- func AgreeCountGTE(v int32) predicate.Task
- func AgreeCountIn(vs ...int32) predicate.Task
- func AgreeCountLT(v int32) predicate.Task
- func AgreeCountLTE(v int32) predicate.Task
- func AgreeCountNEQ(v int32) predicate.Task
- func AgreeCountNotIn(vs ...int32) predicate.Task
- func And(predicates ...predicate.Task) predicate.Task
- func Assignee(v string) predicate.Task
- func AssigneeContains(v string) predicate.Task
- func AssigneeContainsFold(v string) predicate.Task
- func AssigneeEQ(v string) predicate.Task
- func AssigneeEqualFold(v string) predicate.Task
- func AssigneeGT(v string) predicate.Task
- func AssigneeGTE(v string) predicate.Task
- func AssigneeHasPrefix(v string) predicate.Task
- func AssigneeHasSuffix(v string) predicate.Task
- func AssigneeIn(vs ...string) predicate.Task
- func AssigneeIsNil() predicate.Task
- func AssigneeLT(v string) predicate.Task
- func AssigneeLTE(v string) predicate.Task
- func AssigneeNEQ(v string) predicate.Task
- func AssigneeNotIn(vs ...string) predicate.Task
- func AssigneeNotNil() predicate.Task
- func Comments(v string) predicate.Task
- func CommentsContains(v string) predicate.Task
- func CommentsContainsFold(v string) predicate.Task
- func CommentsEQ(v string) predicate.Task
- func CommentsEqualFold(v string) predicate.Task
- func CommentsGT(v string) predicate.Task
- func CommentsGTE(v string) predicate.Task
- func CommentsHasPrefix(v string) predicate.Task
- func CommentsHasSuffix(v string) predicate.Task
- func CommentsIn(vs ...string) predicate.Task
- func CommentsIsNil() predicate.Task
- func CommentsLT(v string) predicate.Task
- func CommentsLTE(v string) predicate.Task
- func CommentsNEQ(v string) predicate.Task
- func CommentsNotIn(vs ...string) predicate.Task
- func CommentsNotNil() predicate.Task
- func CreatedAt(v time.Time) predicate.Task
- func CreatedAtEQ(v time.Time) predicate.Task
- func CreatedAtGT(v time.Time) predicate.Task
- func CreatedAtGTE(v time.Time) predicate.Task
- func CreatedAtIn(vs ...time.Time) predicate.Task
- func CreatedAtLT(v time.Time) predicate.Task
- func CreatedAtLTE(v time.Time) predicate.Task
- func CreatedAtNEQ(v time.Time) predicate.Task
- func CreatedAtNotIn(vs ...time.Time) predicate.Task
- func ExecutionID(v string) predicate.Task
- func ExecutionIDContains(v string) predicate.Task
- func ExecutionIDContainsFold(v string) predicate.Task
- func ExecutionIDEQ(v string) predicate.Task
- func ExecutionIDEqualFold(v string) predicate.Task
- func ExecutionIDGT(v string) predicate.Task
- func ExecutionIDGTE(v string) predicate.Task
- func ExecutionIDHasPrefix(v string) predicate.Task
- func ExecutionIDHasSuffix(v string) predicate.Task
- func ExecutionIDIn(vs ...string) predicate.Task
- func ExecutionIDLT(v string) predicate.Task
- func ExecutionIDLTE(v string) predicate.Task
- func ExecutionIDNEQ(v string) predicate.Task
- func ExecutionIDNotIn(vs ...string) predicate.Task
- func HasProcInst() predicate.Task
- func HasProcInstWith(preds ...predicate.ProcInst) predicate.Task
- func HasTaskIdentities() predicate.Task
- func HasTaskIdentitiesWith(preds ...predicate.IdentityLink) predicate.Task
- func ID(id int) predicate.Task
- func IDEQ(id int) predicate.Task
- func IDGT(id int) predicate.Task
- func IDGTE(id int) predicate.Task
- func IDIn(ids ...int) predicate.Task
- func IDLT(id int) predicate.Task
- func IDLTE(id int) predicate.Task
- func IDNEQ(id int) predicate.Task
- func IDNotIn(ids ...int) predicate.Task
- func KindEQ(v Kind) predicate.Task
- func KindIn(vs ...Kind) predicate.Task
- func KindNEQ(v Kind) predicate.Task
- func KindNotIn(vs ...Kind) predicate.Task
- func KindValidator(k Kind) error
- func MemberCount(v int32) predicate.Task
- func MemberCountEQ(v int32) predicate.Task
- func MemberCountGT(v int32) predicate.Task
- func MemberCountGTE(v int32) predicate.Task
- func MemberCountIn(vs ...int32) predicate.Task
- func MemberCountLT(v int32) predicate.Task
- func MemberCountLTE(v int32) predicate.Task
- func MemberCountNEQ(v int32) predicate.Task
- func MemberCountNotIn(vs ...int32) predicate.Task
- func Not(p predicate.Task) predicate.Task
- func Or(predicates ...predicate.Task) predicate.Task
- func ParentID(v int) predicate.Task
- func ParentIDEQ(v int) predicate.Task
- func ParentIDGT(v int) predicate.Task
- func ParentIDGTE(v int) predicate.Task
- func ParentIDIn(vs ...int) predicate.Task
- func ParentIDIsNil() predicate.Task
- func ParentIDLT(v int) predicate.Task
- func ParentIDLTE(v int) predicate.Task
- func ParentIDNEQ(v int) predicate.Task
- func ParentIDNotIn(vs ...int) predicate.Task
- func ParentIDNotNil() predicate.Task
- func ProcDefID(v int) predicate.Task
- func ProcDefIDEQ(v int) predicate.Task
- func ProcDefIDGT(v int) predicate.Task
- func ProcDefIDGTE(v int) predicate.Task
- func ProcDefIDIn(vs ...int) predicate.Task
- func ProcDefIDLT(v int) predicate.Task
- func ProcDefIDLTE(v int) predicate.Task
- func ProcDefIDNEQ(v int) predicate.Task
- func ProcDefIDNotIn(vs ...int) predicate.Task
- func ProcInstID(v int) predicate.Task
- func ProcInstIDEQ(v int) predicate.Task
- func ProcInstIDIn(vs ...int) predicate.Task
- func ProcInstIDNEQ(v int) predicate.Task
- func ProcInstIDNotIn(vs ...int) predicate.Task
- func RunID(v string) predicate.Task
- func RunIDContains(v string) predicate.Task
- func RunIDContainsFold(v string) predicate.Task
- func RunIDEQ(v string) predicate.Task
- func RunIDEqualFold(v string) predicate.Task
- func RunIDGT(v string) predicate.Task
- func RunIDGTE(v string) predicate.Task
- func RunIDHasPrefix(v string) predicate.Task
- func RunIDHasSuffix(v string) predicate.Task
- func RunIDIn(vs ...string) predicate.Task
- func RunIDIsNil() predicate.Task
- func RunIDLT(v string) predicate.Task
- func RunIDLTE(v string) predicate.Task
- func RunIDNEQ(v string) predicate.Task
- func RunIDNotIn(vs ...string) predicate.Task
- func RunIDNotNil() predicate.Task
- func Sequential(v bool) predicate.Task
- func SequentialEQ(v bool) predicate.Task
- func SequentialNEQ(v bool) predicate.Task
- func StatusEQ(v Status) predicate.Task
- func StatusIn(vs ...Status) predicate.Task
- func StatusNEQ(v Status) predicate.Task
- func StatusNotIn(vs ...Status) predicate.Task
- func StatusValidator(s Status) error
- func TaskDefKey(v string) predicate.Task
- func TaskDefKeyContains(v string) predicate.Task
- func TaskDefKeyContainsFold(v string) predicate.Task
- func TaskDefKeyEQ(v string) predicate.Task
- func TaskDefKeyEqualFold(v string) predicate.Task
- func TaskDefKeyGT(v string) predicate.Task
- func TaskDefKeyGTE(v string) predicate.Task
- func TaskDefKeyHasPrefix(v string) predicate.Task
- func TaskDefKeyHasSuffix(v string) predicate.Task
- func TaskDefKeyIn(vs ...string) predicate.Task
- func TaskDefKeyLT(v string) predicate.Task
- func TaskDefKeyLTE(v string) predicate.Task
- func TaskDefKeyNEQ(v string) predicate.Task
- func TaskDefKeyNotIn(vs ...string) predicate.Task
- func TenantID(v int) predicate.Task
- func TenantIDEQ(v int) predicate.Task
- func TenantIDGT(v int) predicate.Task
- func TenantIDGTE(v int) predicate.Task
- func TenantIDIn(vs ...int) predicate.Task
- func TenantIDLT(v int) predicate.Task
- func TenantIDLTE(v int) predicate.Task
- func TenantIDNEQ(v int) predicate.Task
- func TenantIDNotIn(vs ...int) predicate.Task
- func UnfinishedCount(v int32) predicate.Task
- func UnfinishedCountEQ(v int32) predicate.Task
- func UnfinishedCountGT(v int32) predicate.Task
- func UnfinishedCountGTE(v int32) predicate.Task
- func UnfinishedCountIn(vs ...int32) predicate.Task
- func UnfinishedCountLT(v int32) predicate.Task
- func UnfinishedCountLTE(v int32) predicate.Task
- func UnfinishedCountNEQ(v int32) predicate.Task
- func UnfinishedCountNotIn(vs ...int32) predicate.Task
- func UpdatedAt(v time.Time) predicate.Task
- func UpdatedAtEQ(v time.Time) predicate.Task
- func UpdatedAtGT(v time.Time) predicate.Task
- func UpdatedAtGTE(v time.Time) predicate.Task
- func UpdatedAtIn(vs ...time.Time) predicate.Task
- func UpdatedAtLT(v time.Time) predicate.Task
- func UpdatedAtLTE(v time.Time) predicate.Task
- func UpdatedAtNEQ(v time.Time) predicate.Task
- func UpdatedAtNotIn(vs ...time.Time) predicate.Task
- func ValidColumn(column string) bool
- type Kind
- type OrderOption
- func ByAgreeCount(opts ...sql.OrderTermOption) OrderOption
- func ByAssignee(opts ...sql.OrderTermOption) OrderOption
- func ByComments(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByExecutionID(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByKind(opts ...sql.OrderTermOption) OrderOption
- func ByMemberCount(opts ...sql.OrderTermOption) OrderOption
- func ByParentID(opts ...sql.OrderTermOption) OrderOption
- func ByProcDefID(opts ...sql.OrderTermOption) OrderOption
- func ByProcInstField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByProcInstID(opts ...sql.OrderTermOption) OrderOption
- func ByRunID(opts ...sql.OrderTermOption) OrderOption
- func BySequential(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func ByTaskDefKey(opts ...sql.OrderTermOption) OrderOption
- func ByTaskIdentities(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByTaskIdentitiesCount(opts ...sql.OrderTermOption) OrderOption
- func ByTenantID(opts ...sql.OrderTermOption) OrderOption
- func ByUnfinishedCount(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- type Status
Constants ¶
const ( // Label holds the string label denoting the task type in the database. Label = "task" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldTenantID holds the string denoting the tenant_id field in the database. FieldTenantID = "tenant_id" // FieldProcInstID holds the string denoting the proc_inst_id field in the database. FieldProcInstID = "proc_inst_id" // FieldProcDefID holds the string denoting the proc_def_id field in the database. FieldProcDefID = "proc_def_id" // FieldExecutionID holds the string denoting the execution_id field in the database. FieldExecutionID = "execution_id" // FieldRunID holds the string denoting the run_id field in the database. FieldRunID = "run_id" // FieldTaskDefKey holds the string denoting the task_def_key field in the database. FieldTaskDefKey = "task_def_key" // FieldParentID holds the string denoting the parent_id field in the database. FieldParentID = "parent_id" // FieldComments holds the string denoting the comments field in the database. FieldComments = "comments" // FieldAssignee holds the string denoting the assignee field in the database. FieldAssignee = "assignee" // FieldMemberCount holds the string denoting the member_count field in the database. FieldMemberCount = "member_count" // FieldUnfinishedCount holds the string denoting the unfinished_count field in the database. FieldUnfinishedCount = "unfinished_count" // FieldAgreeCount holds the string denoting the agree_count field in the database. FieldAgreeCount = "agree_count" // FieldKind holds the string denoting the kind field in the database. FieldKind = "kind" // FieldSequential holds the string denoting the sequential field in the database. FieldSequential = "sequential" // 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" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // EdgeProcInst holds the string denoting the proc_inst edge name in mutations. EdgeProcInst = "proc_inst" // EdgeTaskIdentities holds the string denoting the task_identities edge name in mutations. EdgeTaskIdentities = "task_identities" // Table holds the table name of the task in the database. Table = "act_task" // ProcInstTable is the table that holds the proc_inst relation/edge. ProcInstTable = "act_task" // ProcInstInverseTable is the table name for the ProcInst entity. // It exists in this package in order to avoid circular dependency with the "procinst" package. ProcInstInverseTable = "act_proc_inst" // ProcInstColumn is the table column denoting the proc_inst relation/edge. ProcInstColumn = "proc_inst_id" // TaskIdentitiesTable is the table that holds the task_identities relation/edge. TaskIdentitiesTable = "act_identity_link" // TaskIdentitiesInverseTable is the table name for the IdentityLink entity. // It exists in this package in order to avoid circular dependency with the "identitylink" package. TaskIdentitiesInverseTable = "act_identity_link" // TaskIdentitiesColumn is the table column denoting the task_identities relation/edge. TaskIdentitiesColumn = "task_id" )
const DefaultKind = KindOR
KindOR is the default value of the Kind enum.
const DefaultStatus = StatusCreated
StatusCreated is the default value of the Status enum.
Variables ¶
var ( Hooks [1]ent.Hook Interceptors [1]ent.Interceptor // DefaultParentID holds the default value on creation for the "parent_id" field. DefaultParentID int // DefaultAgreeCount holds the default value on creation for the "agree_count" field. DefaultAgreeCount int32 // DefaultSequential holds the default value on creation for the "sequential" field. DefaultSequential bool // 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() int )
Note that the variables below are initialized by the runtime package on the initialization of the application. Therefore, it should be imported in the main as follows:
import _ "github.com/woocoos/workflow/ent/runtime"
var Columns = []string{ FieldID, FieldTenantID, FieldProcInstID, FieldProcDefID, FieldExecutionID, FieldRunID, FieldTaskDefKey, FieldParentID, FieldComments, FieldAssignee, FieldMemberCount, FieldUnfinishedCount, FieldAgreeCount, FieldKind, FieldSequential, FieldCreatedAt, FieldUpdatedAt, FieldStatus, }
Columns holds all SQL columns for task fields.
Functions ¶
func AgreeCount ¶
AgreeCount applies equality check predicate on the "agree_count" field. It's identical to AgreeCountEQ.
func AgreeCountEQ ¶
AgreeCountEQ applies the EQ predicate on the "agree_count" field.
func AgreeCountGT ¶
AgreeCountGT applies the GT predicate on the "agree_count" field.
func AgreeCountGTE ¶
AgreeCountGTE applies the GTE predicate on the "agree_count" field.
func AgreeCountIn ¶
AgreeCountIn applies the In predicate on the "agree_count" field.
func AgreeCountLT ¶
AgreeCountLT applies the LT predicate on the "agree_count" field.
func AgreeCountLTE ¶
AgreeCountLTE applies the LTE predicate on the "agree_count" field.
func AgreeCountNEQ ¶
AgreeCountNEQ applies the NEQ predicate on the "agree_count" field.
func AgreeCountNotIn ¶
AgreeCountNotIn applies the NotIn predicate on the "agree_count" field.
func Assignee ¶
Assignee applies equality check predicate on the "assignee" field. It's identical to AssigneeEQ.
func AssigneeContains ¶
AssigneeContains applies the Contains predicate on the "assignee" field.
func AssigneeContainsFold ¶
AssigneeContainsFold applies the ContainsFold predicate on the "assignee" field.
func AssigneeEQ ¶
AssigneeEQ applies the EQ predicate on the "assignee" field.
func AssigneeEqualFold ¶
AssigneeEqualFold applies the EqualFold predicate on the "assignee" field.
func AssigneeGT ¶
AssigneeGT applies the GT predicate on the "assignee" field.
func AssigneeGTE ¶
AssigneeGTE applies the GTE predicate on the "assignee" field.
func AssigneeHasPrefix ¶
AssigneeHasPrefix applies the HasPrefix predicate on the "assignee" field.
func AssigneeHasSuffix ¶
AssigneeHasSuffix applies the HasSuffix predicate on the "assignee" field.
func AssigneeIn ¶
AssigneeIn applies the In predicate on the "assignee" field.
func AssigneeIsNil ¶
AssigneeIsNil applies the IsNil predicate on the "assignee" field.
func AssigneeLT ¶
AssigneeLT applies the LT predicate on the "assignee" field.
func AssigneeLTE ¶
AssigneeLTE applies the LTE predicate on the "assignee" field.
func AssigneeNEQ ¶
AssigneeNEQ applies the NEQ predicate on the "assignee" field.
func AssigneeNotIn ¶
AssigneeNotIn applies the NotIn predicate on the "assignee" field.
func AssigneeNotNil ¶
AssigneeNotNil applies the NotNil predicate on the "assignee" field.
func Comments ¶
Comments applies equality check predicate on the "comments" field. It's identical to CommentsEQ.
func CommentsContains ¶
CommentsContains applies the Contains predicate on the "comments" field.
func CommentsContainsFold ¶
CommentsContainsFold applies the ContainsFold predicate on the "comments" field.
func CommentsEQ ¶
CommentsEQ applies the EQ predicate on the "comments" field.
func CommentsEqualFold ¶
CommentsEqualFold applies the EqualFold predicate on the "comments" field.
func CommentsGT ¶
CommentsGT applies the GT predicate on the "comments" field.
func CommentsGTE ¶
CommentsGTE applies the GTE predicate on the "comments" field.
func CommentsHasPrefix ¶
CommentsHasPrefix applies the HasPrefix predicate on the "comments" field.
func CommentsHasSuffix ¶
CommentsHasSuffix applies the HasSuffix predicate on the "comments" field.
func CommentsIn ¶
CommentsIn applies the In predicate on the "comments" field.
func CommentsIsNil ¶
CommentsIsNil applies the IsNil predicate on the "comments" field.
func CommentsLT ¶
CommentsLT applies the LT predicate on the "comments" field.
func CommentsLTE ¶
CommentsLTE applies the LTE predicate on the "comments" field.
func CommentsNEQ ¶
CommentsNEQ applies the NEQ predicate on the "comments" field.
func CommentsNotIn ¶
CommentsNotIn applies the NotIn predicate on the "comments" field.
func CommentsNotNil ¶
CommentsNotNil applies the NotNil predicate on the "comments" field.
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 ExecutionID ¶
ExecutionID applies equality check predicate on the "execution_id" field. It's identical to ExecutionIDEQ.
func ExecutionIDContains ¶
ExecutionIDContains applies the Contains predicate on the "execution_id" field.
func ExecutionIDContainsFold ¶
ExecutionIDContainsFold applies the ContainsFold predicate on the "execution_id" field.
func ExecutionIDEQ ¶
ExecutionIDEQ applies the EQ predicate on the "execution_id" field.
func ExecutionIDEqualFold ¶
ExecutionIDEqualFold applies the EqualFold predicate on the "execution_id" field.
func ExecutionIDGT ¶
ExecutionIDGT applies the GT predicate on the "execution_id" field.
func ExecutionIDGTE ¶
ExecutionIDGTE applies the GTE predicate on the "execution_id" field.
func ExecutionIDHasPrefix ¶
ExecutionIDHasPrefix applies the HasPrefix predicate on the "execution_id" field.
func ExecutionIDHasSuffix ¶
ExecutionIDHasSuffix applies the HasSuffix predicate on the "execution_id" field.
func ExecutionIDIn ¶
ExecutionIDIn applies the In predicate on the "execution_id" field.
func ExecutionIDLT ¶
ExecutionIDLT applies the LT predicate on the "execution_id" field.
func ExecutionIDLTE ¶
ExecutionIDLTE applies the LTE predicate on the "execution_id" field.
func ExecutionIDNEQ ¶
ExecutionIDNEQ applies the NEQ predicate on the "execution_id" field.
func ExecutionIDNotIn ¶
ExecutionIDNotIn applies the NotIn predicate on the "execution_id" field.
func HasProcInst ¶
HasProcInst applies the HasEdge predicate on the "proc_inst" edge.
func HasProcInstWith ¶
HasProcInstWith applies the HasEdge predicate on the "proc_inst" edge with a given conditions (other predicates).
func HasTaskIdentities ¶
HasTaskIdentities applies the HasEdge predicate on the "task_identities" edge.
func HasTaskIdentitiesWith ¶
func HasTaskIdentitiesWith(preds ...predicate.IdentityLink) predicate.Task
HasTaskIdentitiesWith applies the HasEdge predicate on the "task_identities" edge with a given conditions (other predicates).
func KindValidator ¶
KindValidator is a validator for the "kind" field enum values. It is called by the builders before save.
func MemberCount ¶
MemberCount applies equality check predicate on the "member_count" field. It's identical to MemberCountEQ.
func MemberCountEQ ¶
MemberCountEQ applies the EQ predicate on the "member_count" field.
func MemberCountGT ¶
MemberCountGT applies the GT predicate on the "member_count" field.
func MemberCountGTE ¶
MemberCountGTE applies the GTE predicate on the "member_count" field.
func MemberCountIn ¶
MemberCountIn applies the In predicate on the "member_count" field.
func MemberCountLT ¶
MemberCountLT applies the LT predicate on the "member_count" field.
func MemberCountLTE ¶
MemberCountLTE applies the LTE predicate on the "member_count" field.
func MemberCountNEQ ¶
MemberCountNEQ applies the NEQ predicate on the "member_count" field.
func MemberCountNotIn ¶
MemberCountNotIn applies the NotIn predicate on the "member_count" field.
func ParentID ¶
ParentID applies equality check predicate on the "parent_id" field. It's identical to ParentIDEQ.
func ParentIDEQ ¶
ParentIDEQ applies the EQ predicate on the "parent_id" field.
func ParentIDGT ¶
ParentIDGT applies the GT predicate on the "parent_id" field.
func ParentIDGTE ¶
ParentIDGTE applies the GTE predicate on the "parent_id" field.
func ParentIDIn ¶
ParentIDIn applies the In predicate on the "parent_id" field.
func ParentIDIsNil ¶
ParentIDIsNil applies the IsNil predicate on the "parent_id" field.
func ParentIDLT ¶
ParentIDLT applies the LT predicate on the "parent_id" field.
func ParentIDLTE ¶
ParentIDLTE applies the LTE predicate on the "parent_id" field.
func ParentIDNEQ ¶
ParentIDNEQ applies the NEQ predicate on the "parent_id" field.
func ParentIDNotIn ¶
ParentIDNotIn applies the NotIn predicate on the "parent_id" field.
func ParentIDNotNil ¶
ParentIDNotNil applies the NotNil predicate on the "parent_id" field.
func ProcDefID ¶
ProcDefID applies equality check predicate on the "proc_def_id" field. It's identical to ProcDefIDEQ.
func ProcDefIDEQ ¶
ProcDefIDEQ applies the EQ predicate on the "proc_def_id" field.
func ProcDefIDGT ¶
ProcDefIDGT applies the GT predicate on the "proc_def_id" field.
func ProcDefIDGTE ¶
ProcDefIDGTE applies the GTE predicate on the "proc_def_id" field.
func ProcDefIDIn ¶
ProcDefIDIn applies the In predicate on the "proc_def_id" field.
func ProcDefIDLT ¶
ProcDefIDLT applies the LT predicate on the "proc_def_id" field.
func ProcDefIDLTE ¶
ProcDefIDLTE applies the LTE predicate on the "proc_def_id" field.
func ProcDefIDNEQ ¶
ProcDefIDNEQ applies the NEQ predicate on the "proc_def_id" field.
func ProcDefIDNotIn ¶
ProcDefIDNotIn applies the NotIn predicate on the "proc_def_id" field.
func ProcInstID ¶
ProcInstID applies equality check predicate on the "proc_inst_id" field. It's identical to ProcInstIDEQ.
func ProcInstIDEQ ¶
ProcInstIDEQ applies the EQ predicate on the "proc_inst_id" field.
func ProcInstIDIn ¶
ProcInstIDIn applies the In predicate on the "proc_inst_id" field.
func ProcInstIDNEQ ¶
ProcInstIDNEQ applies the NEQ predicate on the "proc_inst_id" field.
func ProcInstIDNotIn ¶
ProcInstIDNotIn applies the NotIn predicate on the "proc_inst_id" 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 RunIDIsNil ¶
RunIDIsNil applies the IsNil predicate on the "run_id" field.
func RunIDNotIn ¶
RunIDNotIn applies the NotIn predicate on the "run_id" field.
func RunIDNotNil ¶
RunIDNotNil applies the NotNil predicate on the "run_id" field.
func Sequential ¶
Sequential applies equality check predicate on the "sequential" field. It's identical to SequentialEQ.
func SequentialEQ ¶
SequentialEQ applies the EQ predicate on the "sequential" field.
func SequentialNEQ ¶
SequentialNEQ applies the NEQ predicate on the "sequential" 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 TaskDefKey ¶
TaskDefKey applies equality check predicate on the "task_def_key" field. It's identical to TaskDefKeyEQ.
func TaskDefKeyContains ¶
TaskDefKeyContains applies the Contains predicate on the "task_def_key" field.
func TaskDefKeyContainsFold ¶
TaskDefKeyContainsFold applies the ContainsFold predicate on the "task_def_key" field.
func TaskDefKeyEQ ¶
TaskDefKeyEQ applies the EQ predicate on the "task_def_key" field.
func TaskDefKeyEqualFold ¶
TaskDefKeyEqualFold applies the EqualFold predicate on the "task_def_key" field.
func TaskDefKeyGT ¶
TaskDefKeyGT applies the GT predicate on the "task_def_key" field.
func TaskDefKeyGTE ¶
TaskDefKeyGTE applies the GTE predicate on the "task_def_key" field.
func TaskDefKeyHasPrefix ¶
TaskDefKeyHasPrefix applies the HasPrefix predicate on the "task_def_key" field.
func TaskDefKeyHasSuffix ¶
TaskDefKeyHasSuffix applies the HasSuffix predicate on the "task_def_key" field.
func TaskDefKeyIn ¶
TaskDefKeyIn applies the In predicate on the "task_def_key" field.
func TaskDefKeyLT ¶
TaskDefKeyLT applies the LT predicate on the "task_def_key" field.
func TaskDefKeyLTE ¶
TaskDefKeyLTE applies the LTE predicate on the "task_def_key" field.
func TaskDefKeyNEQ ¶
TaskDefKeyNEQ applies the NEQ predicate on the "task_def_key" field.
func TaskDefKeyNotIn ¶
TaskDefKeyNotIn applies the NotIn predicate on the "task_def_key" field.
func TenantID ¶
TenantID applies equality check predicate on the "tenant_id" field. It's identical to TenantIDEQ.
func TenantIDEQ ¶
TenantIDEQ applies the EQ predicate on the "tenant_id" field.
func TenantIDGT ¶
TenantIDGT applies the GT predicate on the "tenant_id" field.
func TenantIDGTE ¶
TenantIDGTE applies the GTE predicate on the "tenant_id" field.
func TenantIDIn ¶
TenantIDIn applies the In predicate on the "tenant_id" field.
func TenantIDLT ¶
TenantIDLT applies the LT predicate on the "tenant_id" field.
func TenantIDLTE ¶
TenantIDLTE applies the LTE predicate on the "tenant_id" field.
func TenantIDNEQ ¶
TenantIDNEQ applies the NEQ predicate on the "tenant_id" field.
func TenantIDNotIn ¶
TenantIDNotIn applies the NotIn predicate on the "tenant_id" field.
func UnfinishedCount ¶
UnfinishedCount applies equality check predicate on the "unfinished_count" field. It's identical to UnfinishedCountEQ.
func UnfinishedCountEQ ¶
UnfinishedCountEQ applies the EQ predicate on the "unfinished_count" field.
func UnfinishedCountGT ¶
UnfinishedCountGT applies the GT predicate on the "unfinished_count" field.
func UnfinishedCountGTE ¶
UnfinishedCountGTE applies the GTE predicate on the "unfinished_count" field.
func UnfinishedCountIn ¶
UnfinishedCountIn applies the In predicate on the "unfinished_count" field.
func UnfinishedCountLT ¶
UnfinishedCountLT applies the LT predicate on the "unfinished_count" field.
func UnfinishedCountLTE ¶
UnfinishedCountLTE applies the LTE predicate on the "unfinished_count" field.
func UnfinishedCountNEQ ¶
UnfinishedCountNEQ applies the NEQ predicate on the "unfinished_count" field.
func UnfinishedCountNotIn ¶
UnfinishedCountNotIn applies the NotIn predicate on the "unfinished_count" 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).
Types ¶
type Kind ¶
type Kind string
Kind defines the type for the "kind" enum field.
func (Kind) MarshalGQL ¶
MarshalGQL implements graphql.Marshaler interface.
func (*Kind) UnmarshalGQL ¶
UnmarshalGQL implements graphql.Unmarshaler interface.
type OrderOption ¶
OrderOption defines the ordering options for the Task queries.
func ByAgreeCount ¶
func ByAgreeCount(opts ...sql.OrderTermOption) OrderOption
ByAgreeCount orders the results by the agree_count field.
func ByAssignee ¶
func ByAssignee(opts ...sql.OrderTermOption) OrderOption
ByAssignee orders the results by the assignee field.
func ByComments ¶
func ByComments(opts ...sql.OrderTermOption) OrderOption
ByComments orders the results by the comments field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByExecutionID ¶
func ByExecutionID(opts ...sql.OrderTermOption) OrderOption
ByExecutionID orders the results by the execution_id field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByKind ¶
func ByKind(opts ...sql.OrderTermOption) OrderOption
ByKind orders the results by the kind field.
func ByMemberCount ¶
func ByMemberCount(opts ...sql.OrderTermOption) OrderOption
ByMemberCount orders the results by the member_count field.
func ByParentID ¶
func ByParentID(opts ...sql.OrderTermOption) OrderOption
ByParentID orders the results by the parent_id field.
func ByProcDefID ¶
func ByProcDefID(opts ...sql.OrderTermOption) OrderOption
ByProcDefID orders the results by the proc_def_id field.
func ByProcInstField ¶
func ByProcInstField(field string, opts ...sql.OrderTermOption) OrderOption
ByProcInstField orders the results by proc_inst field.
func ByProcInstID ¶
func ByProcInstID(opts ...sql.OrderTermOption) OrderOption
ByProcInstID orders the results by the proc_inst_id field.
func ByRunID ¶
func ByRunID(opts ...sql.OrderTermOption) OrderOption
ByRunID orders the results by the run_id field.
func BySequential ¶
func BySequential(opts ...sql.OrderTermOption) OrderOption
BySequential orders the results by the sequential field.
func ByStatus ¶
func ByStatus(opts ...sql.OrderTermOption) OrderOption
ByStatus orders the results by the status field.
func ByTaskDefKey ¶
func ByTaskDefKey(opts ...sql.OrderTermOption) OrderOption
ByTaskDefKey orders the results by the task_def_key field.
func ByTaskIdentities ¶
func ByTaskIdentities(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByTaskIdentities orders the results by task_identities terms.
func ByTaskIdentitiesCount ¶
func ByTaskIdentitiesCount(opts ...sql.OrderTermOption) OrderOption
ByTaskIdentitiesCount orders the results by task_identities count.
func ByTenantID ¶
func ByTenantID(opts ...sql.OrderTermOption) OrderOption
ByTenantID orders the results by the tenant_id field.
func ByUnfinishedCount ¶
func ByUnfinishedCount(opts ...sql.OrderTermOption) OrderOption
ByUnfinishedCount orders the results by the unfinished_count field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
type Status ¶
type Status string
Status defines the type for the "status" enum field.
const ( StatusCreated Status = "created" StatusRunning Status = "running" StatusFinished Status = "finished" StatusCanceled Status = "canceled" )
Status values.
func (Status) MarshalGQL ¶
MarshalGQL implements graphql.Marshaler interface.
func (*Status) UnmarshalGQL ¶
UnmarshalGQL implements graphql.Unmarshaler interface.