procinst

package
v0.0.0-...-738d89c Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2023 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the procinst type in the database.
	Label = "proc_inst"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldCreatedBy holds the string denoting the created_by field in the database.
	FieldCreatedBy = "created_by"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldUpdatedBy holds the string denoting the updated_by field in the database.
	FieldUpdatedBy = "updated_by"
	// FieldUpdatedAt holds the string denoting the updated_at field in the database.
	FieldUpdatedAt = "updated_at"
	// FieldTenantID holds the string denoting the tenant_id field in the database.
	FieldTenantID = "tenant_id"
	// FieldProcDefID holds the string denoting the proc_def_id field in the database.
	FieldProcDefID = "proc_def_id"
	// FieldAppID holds the string denoting the app_id field in the database.
	FieldAppID = "app_id"
	// FieldBusinessKey holds the string denoting the business_key field in the database.
	FieldBusinessKey = "business_key"
	// FieldStartTime holds the string denoting the start_time field in the database.
	FieldStartTime = "start_time"
	// FieldEndTime holds the string denoting the end_time field in the database.
	FieldEndTime = "end_time"
	// FieldDuration holds the string denoting the duration field in the database.
	FieldDuration = "duration"
	// FieldStartUserID holds the string denoting the start_user_id field in the database.
	FieldStartUserID = "start_user_id"
	// FieldSupperInstanceID holds the string denoting the supper_instance_id field in the database.
	FieldSupperInstanceID = "supper_instance_id"
	// FieldRootInstanceID holds the string denoting the root_instance_id field in the database.
	FieldRootInstanceID = "root_instance_id"
	// FieldDeletedTime holds the string denoting the deleted_time field in the database.
	FieldDeletedTime = "deleted_time"
	// FieldDeletedReason holds the string denoting the deleted_reason field in the database.
	FieldDeletedReason = "deleted_reason"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// EdgeProcDef holds the string denoting the proc_def edge name in mutations.
	EdgeProcDef = "proc_def"
	// EdgeTasks holds the string denoting the tasks edge name in mutations.
	EdgeTasks = "tasks"
	// Table holds the table name of the procinst in the database.
	Table = "act_proc_inst"
	// ProcDefTable is the table that holds the proc_def relation/edge.
	ProcDefTable = "act_proc_inst"
	// ProcDefInverseTable is the table name for the ProcDef entity.
	// It exists in this package in order to avoid circular dependency with the "procdef" package.
	ProcDefInverseTable = "act_proc_def"
	// ProcDefColumn is the table column denoting the proc_def relation/edge.
	ProcDefColumn = "proc_def_id"
	// TasksTable is the table that holds the tasks relation/edge.
	TasksTable = "act_task"
	// TasksInverseTable is the table name for the Task entity.
	// It exists in this package in order to avoid circular dependency with the "task" package.
	TasksInverseTable = "act_task"
	// TasksColumn is the table column denoting the tasks relation/edge.
	TasksColumn = "proc_inst_id"
)

Variables

View Source
var (
	Hooks        [2]ent.Hook
	Interceptors [1]ent.Interceptor
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
	// DefaultStartTime holds the default value on creation for the "start_time" field.
	DefaultStartTime 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"

Columns holds all SQL columns for procinst fields.

Functions

func And

func And(predicates ...predicate.ProcInst) predicate.ProcInst

And groups predicates with the AND operator between them.

func AppID

func AppID(v int) predicate.ProcInst

AppID applies equality check predicate on the "app_id" field. It's identical to AppIDEQ.

func AppIDEQ

func AppIDEQ(v int) predicate.ProcInst

AppIDEQ applies the EQ predicate on the "app_id" field.

func AppIDGT

func AppIDGT(v int) predicate.ProcInst

AppIDGT applies the GT predicate on the "app_id" field.

func AppIDGTE

func AppIDGTE(v int) predicate.ProcInst

AppIDGTE applies the GTE predicate on the "app_id" field.

func AppIDIn

func AppIDIn(vs ...int) predicate.ProcInst

AppIDIn applies the In predicate on the "app_id" field.

func AppIDLT

func AppIDLT(v int) predicate.ProcInst

AppIDLT applies the LT predicate on the "app_id" field.

func AppIDLTE

func AppIDLTE(v int) predicate.ProcInst

AppIDLTE applies the LTE predicate on the "app_id" field.

func AppIDNEQ

func AppIDNEQ(v int) predicate.ProcInst

AppIDNEQ applies the NEQ predicate on the "app_id" field.

func AppIDNotIn

func AppIDNotIn(vs ...int) predicate.ProcInst

AppIDNotIn applies the NotIn predicate on the "app_id" field.

func BusinessKey

func BusinessKey(v string) predicate.ProcInst

BusinessKey applies equality check predicate on the "business_key" field. It's identical to BusinessKeyEQ.

func BusinessKeyContains

func BusinessKeyContains(v string) predicate.ProcInst

BusinessKeyContains applies the Contains predicate on the "business_key" field.

func BusinessKeyContainsFold

func BusinessKeyContainsFold(v string) predicate.ProcInst

BusinessKeyContainsFold applies the ContainsFold predicate on the "business_key" field.

func BusinessKeyEQ

func BusinessKeyEQ(v string) predicate.ProcInst

BusinessKeyEQ applies the EQ predicate on the "business_key" field.

func BusinessKeyEqualFold

func BusinessKeyEqualFold(v string) predicate.ProcInst

BusinessKeyEqualFold applies the EqualFold predicate on the "business_key" field.

func BusinessKeyGT

func BusinessKeyGT(v string) predicate.ProcInst

BusinessKeyGT applies the GT predicate on the "business_key" field.

func BusinessKeyGTE

func BusinessKeyGTE(v string) predicate.ProcInst

BusinessKeyGTE applies the GTE predicate on the "business_key" field.

func BusinessKeyHasPrefix

func BusinessKeyHasPrefix(v string) predicate.ProcInst

BusinessKeyHasPrefix applies the HasPrefix predicate on the "business_key" field.

func BusinessKeyHasSuffix

func BusinessKeyHasSuffix(v string) predicate.ProcInst

BusinessKeyHasSuffix applies the HasSuffix predicate on the "business_key" field.

func BusinessKeyIn

func BusinessKeyIn(vs ...string) predicate.ProcInst

BusinessKeyIn applies the In predicate on the "business_key" field.

func BusinessKeyLT

func BusinessKeyLT(v string) predicate.ProcInst

BusinessKeyLT applies the LT predicate on the "business_key" field.

func BusinessKeyLTE

func BusinessKeyLTE(v string) predicate.ProcInst

BusinessKeyLTE applies the LTE predicate on the "business_key" field.

func BusinessKeyNEQ

func BusinessKeyNEQ(v string) predicate.ProcInst

BusinessKeyNEQ applies the NEQ predicate on the "business_key" field.

func BusinessKeyNotIn

func BusinessKeyNotIn(vs ...string) predicate.ProcInst

BusinessKeyNotIn applies the NotIn predicate on the "business_key" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.ProcInst

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.ProcInst

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.ProcInst

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.ProcInst

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.ProcInst

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.ProcInst

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.ProcInst

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

func CreatedAtNotIn

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

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

func CreatedBy

func CreatedBy(v int) predicate.ProcInst

CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.

func CreatedByEQ

func CreatedByEQ(v int) predicate.ProcInst

CreatedByEQ applies the EQ predicate on the "created_by" field.

func CreatedByGT

func CreatedByGT(v int) predicate.ProcInst

CreatedByGT applies the GT predicate on the "created_by" field.

func CreatedByGTE

func CreatedByGTE(v int) predicate.ProcInst

CreatedByGTE applies the GTE predicate on the "created_by" field.

func CreatedByIn

func CreatedByIn(vs ...int) predicate.ProcInst

CreatedByIn applies the In predicate on the "created_by" field.

func CreatedByLT

func CreatedByLT(v int) predicate.ProcInst

CreatedByLT applies the LT predicate on the "created_by" field.

func CreatedByLTE

func CreatedByLTE(v int) predicate.ProcInst

CreatedByLTE applies the LTE predicate on the "created_by" field.

func CreatedByNEQ

func CreatedByNEQ(v int) predicate.ProcInst

CreatedByNEQ applies the NEQ predicate on the "created_by" field.

func CreatedByNotIn

func CreatedByNotIn(vs ...int) predicate.ProcInst

CreatedByNotIn applies the NotIn predicate on the "created_by" field.

func DeletedReason

func DeletedReason(v string) predicate.ProcInst

DeletedReason applies equality check predicate on the "deleted_reason" field. It's identical to DeletedReasonEQ.

func DeletedReasonContains

func DeletedReasonContains(v string) predicate.ProcInst

DeletedReasonContains applies the Contains predicate on the "deleted_reason" field.

func DeletedReasonContainsFold

func DeletedReasonContainsFold(v string) predicate.ProcInst

DeletedReasonContainsFold applies the ContainsFold predicate on the "deleted_reason" field.

func DeletedReasonEQ

func DeletedReasonEQ(v string) predicate.ProcInst

DeletedReasonEQ applies the EQ predicate on the "deleted_reason" field.

func DeletedReasonEqualFold

func DeletedReasonEqualFold(v string) predicate.ProcInst

DeletedReasonEqualFold applies the EqualFold predicate on the "deleted_reason" field.

func DeletedReasonGT

func DeletedReasonGT(v string) predicate.ProcInst

DeletedReasonGT applies the GT predicate on the "deleted_reason" field.

func DeletedReasonGTE

func DeletedReasonGTE(v string) predicate.ProcInst

DeletedReasonGTE applies the GTE predicate on the "deleted_reason" field.

func DeletedReasonHasPrefix

func DeletedReasonHasPrefix(v string) predicate.ProcInst

DeletedReasonHasPrefix applies the HasPrefix predicate on the "deleted_reason" field.

func DeletedReasonHasSuffix

func DeletedReasonHasSuffix(v string) predicate.ProcInst

DeletedReasonHasSuffix applies the HasSuffix predicate on the "deleted_reason" field.

func DeletedReasonIn

func DeletedReasonIn(vs ...string) predicate.ProcInst

DeletedReasonIn applies the In predicate on the "deleted_reason" field.

func DeletedReasonIsNil

func DeletedReasonIsNil() predicate.ProcInst

DeletedReasonIsNil applies the IsNil predicate on the "deleted_reason" field.

func DeletedReasonLT

func DeletedReasonLT(v string) predicate.ProcInst

DeletedReasonLT applies the LT predicate on the "deleted_reason" field.

func DeletedReasonLTE

func DeletedReasonLTE(v string) predicate.ProcInst

DeletedReasonLTE applies the LTE predicate on the "deleted_reason" field.

func DeletedReasonNEQ

func DeletedReasonNEQ(v string) predicate.ProcInst

DeletedReasonNEQ applies the NEQ predicate on the "deleted_reason" field.

func DeletedReasonNotIn

func DeletedReasonNotIn(vs ...string) predicate.ProcInst

DeletedReasonNotIn applies the NotIn predicate on the "deleted_reason" field.

func DeletedReasonNotNil

func DeletedReasonNotNil() predicate.ProcInst

DeletedReasonNotNil applies the NotNil predicate on the "deleted_reason" field.

func DeletedTime

func DeletedTime(v time.Time) predicate.ProcInst

DeletedTime applies equality check predicate on the "deleted_time" field. It's identical to DeletedTimeEQ.

func DeletedTimeEQ

func DeletedTimeEQ(v time.Time) predicate.ProcInst

DeletedTimeEQ applies the EQ predicate on the "deleted_time" field.

func DeletedTimeGT

func DeletedTimeGT(v time.Time) predicate.ProcInst

DeletedTimeGT applies the GT predicate on the "deleted_time" field.

func DeletedTimeGTE

func DeletedTimeGTE(v time.Time) predicate.ProcInst

DeletedTimeGTE applies the GTE predicate on the "deleted_time" field.

func DeletedTimeIn

func DeletedTimeIn(vs ...time.Time) predicate.ProcInst

DeletedTimeIn applies the In predicate on the "deleted_time" field.

func DeletedTimeIsNil

func DeletedTimeIsNil() predicate.ProcInst

DeletedTimeIsNil applies the IsNil predicate on the "deleted_time" field.

func DeletedTimeLT

func DeletedTimeLT(v time.Time) predicate.ProcInst

DeletedTimeLT applies the LT predicate on the "deleted_time" field.

func DeletedTimeLTE

func DeletedTimeLTE(v time.Time) predicate.ProcInst

DeletedTimeLTE applies the LTE predicate on the "deleted_time" field.

func DeletedTimeNEQ

func DeletedTimeNEQ(v time.Time) predicate.ProcInst

DeletedTimeNEQ applies the NEQ predicate on the "deleted_time" field.

func DeletedTimeNotIn

func DeletedTimeNotIn(vs ...time.Time) predicate.ProcInst

DeletedTimeNotIn applies the NotIn predicate on the "deleted_time" field.

func DeletedTimeNotNil

func DeletedTimeNotNil() predicate.ProcInst

DeletedTimeNotNil applies the NotNil predicate on the "deleted_time" field.

func Duration

func Duration(v int) predicate.ProcInst

Duration applies equality check predicate on the "duration" field. It's identical to DurationEQ.

func DurationEQ

func DurationEQ(v int) predicate.ProcInst

DurationEQ applies the EQ predicate on the "duration" field.

func DurationGT

func DurationGT(v int) predicate.ProcInst

DurationGT applies the GT predicate on the "duration" field.

func DurationGTE

func DurationGTE(v int) predicate.ProcInst

DurationGTE applies the GTE predicate on the "duration" field.

func DurationIn

func DurationIn(vs ...int) predicate.ProcInst

DurationIn applies the In predicate on the "duration" field.

func DurationIsNil

func DurationIsNil() predicate.ProcInst

DurationIsNil applies the IsNil predicate on the "duration" field.

func DurationLT

func DurationLT(v int) predicate.ProcInst

DurationLT applies the LT predicate on the "duration" field.

func DurationLTE

func DurationLTE(v int) predicate.ProcInst

DurationLTE applies the LTE predicate on the "duration" field.

func DurationNEQ

func DurationNEQ(v int) predicate.ProcInst

DurationNEQ applies the NEQ predicate on the "duration" field.

func DurationNotIn

func DurationNotIn(vs ...int) predicate.ProcInst

DurationNotIn applies the NotIn predicate on the "duration" field.

func DurationNotNil

func DurationNotNil() predicate.ProcInst

DurationNotNil applies the NotNil predicate on the "duration" field.

func EndTime

func EndTime(v time.Time) predicate.ProcInst

EndTime applies equality check predicate on the "end_time" field. It's identical to EndTimeEQ.

func EndTimeEQ

func EndTimeEQ(v time.Time) predicate.ProcInst

EndTimeEQ applies the EQ predicate on the "end_time" field.

func EndTimeGT

func EndTimeGT(v time.Time) predicate.ProcInst

EndTimeGT applies the GT predicate on the "end_time" field.

func EndTimeGTE

func EndTimeGTE(v time.Time) predicate.ProcInst

EndTimeGTE applies the GTE predicate on the "end_time" field.

func EndTimeIn

func EndTimeIn(vs ...time.Time) predicate.ProcInst

EndTimeIn applies the In predicate on the "end_time" field.

func EndTimeIsNil

func EndTimeIsNil() predicate.ProcInst

EndTimeIsNil applies the IsNil predicate on the "end_time" field.

func EndTimeLT

func EndTimeLT(v time.Time) predicate.ProcInst

EndTimeLT applies the LT predicate on the "end_time" field.

func EndTimeLTE

func EndTimeLTE(v time.Time) predicate.ProcInst

EndTimeLTE applies the LTE predicate on the "end_time" field.

func EndTimeNEQ

func EndTimeNEQ(v time.Time) predicate.ProcInst

EndTimeNEQ applies the NEQ predicate on the "end_time" field.

func EndTimeNotIn

func EndTimeNotIn(vs ...time.Time) predicate.ProcInst

EndTimeNotIn applies the NotIn predicate on the "end_time" field.

func EndTimeNotNil

func EndTimeNotNil() predicate.ProcInst

EndTimeNotNil applies the NotNil predicate on the "end_time" field.

func HasProcDef

func HasProcDef() predicate.ProcInst

HasProcDef applies the HasEdge predicate on the "proc_def" edge.

func HasProcDefWith

func HasProcDefWith(preds ...predicate.ProcDef) predicate.ProcInst

HasProcDefWith applies the HasEdge predicate on the "proc_def" edge with a given conditions (other predicates).

func HasTasks

func HasTasks() predicate.ProcInst

HasTasks applies the HasEdge predicate on the "tasks" edge.

func HasTasksWith

func HasTasksWith(preds ...predicate.Task) predicate.ProcInst

HasTasksWith applies the HasEdge predicate on the "tasks" edge with a given conditions (other predicates).

func ID

func ID(id int) predicate.ProcInst

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.ProcInst

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.ProcInst

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.ProcInst

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.ProcInst

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.ProcInst

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.ProcInst

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.ProcInst

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.ProcInst

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.ProcInst) predicate.ProcInst

Or groups predicates with the OR operator between them.

func ProcDefID

func ProcDefID(v int) predicate.ProcInst

ProcDefID applies equality check predicate on the "proc_def_id" field. It's identical to ProcDefIDEQ.

func ProcDefIDEQ

func ProcDefIDEQ(v int) predicate.ProcInst

ProcDefIDEQ applies the EQ predicate on the "proc_def_id" field.

func ProcDefIDIn

func ProcDefIDIn(vs ...int) predicate.ProcInst

ProcDefIDIn applies the In predicate on the "proc_def_id" field.

func ProcDefIDNEQ

func ProcDefIDNEQ(v int) predicate.ProcInst

ProcDefIDNEQ applies the NEQ predicate on the "proc_def_id" field.

func ProcDefIDNotIn

func ProcDefIDNotIn(vs ...int) predicate.ProcInst

ProcDefIDNotIn applies the NotIn predicate on the "proc_def_id" field.

func RootInstanceID

func RootInstanceID(v int) predicate.ProcInst

RootInstanceID applies equality check predicate on the "root_instance_id" field. It's identical to RootInstanceIDEQ.

func RootInstanceIDEQ

func RootInstanceIDEQ(v int) predicate.ProcInst

RootInstanceIDEQ applies the EQ predicate on the "root_instance_id" field.

func RootInstanceIDGT

func RootInstanceIDGT(v int) predicate.ProcInst

RootInstanceIDGT applies the GT predicate on the "root_instance_id" field.

func RootInstanceIDGTE

func RootInstanceIDGTE(v int) predicate.ProcInst

RootInstanceIDGTE applies the GTE predicate on the "root_instance_id" field.

func RootInstanceIDIn

func RootInstanceIDIn(vs ...int) predicate.ProcInst

RootInstanceIDIn applies the In predicate on the "root_instance_id" field.

func RootInstanceIDIsNil

func RootInstanceIDIsNil() predicate.ProcInst

RootInstanceIDIsNil applies the IsNil predicate on the "root_instance_id" field.

func RootInstanceIDLT

func RootInstanceIDLT(v int) predicate.ProcInst

RootInstanceIDLT applies the LT predicate on the "root_instance_id" field.

func RootInstanceIDLTE

func RootInstanceIDLTE(v int) predicate.ProcInst

RootInstanceIDLTE applies the LTE predicate on the "root_instance_id" field.

func RootInstanceIDNEQ

func RootInstanceIDNEQ(v int) predicate.ProcInst

RootInstanceIDNEQ applies the NEQ predicate on the "root_instance_id" field.

func RootInstanceIDNotIn

func RootInstanceIDNotIn(vs ...int) predicate.ProcInst

RootInstanceIDNotIn applies the NotIn predicate on the "root_instance_id" field.

func RootInstanceIDNotNil

func RootInstanceIDNotNil() predicate.ProcInst

RootInstanceIDNotNil applies the NotNil predicate on the "root_instance_id" field.

func StartTime

func StartTime(v time.Time) predicate.ProcInst

StartTime applies equality check predicate on the "start_time" field. It's identical to StartTimeEQ.

func StartTimeEQ

func StartTimeEQ(v time.Time) predicate.ProcInst

StartTimeEQ applies the EQ predicate on the "start_time" field.

func StartTimeGT

func StartTimeGT(v time.Time) predicate.ProcInst

StartTimeGT applies the GT predicate on the "start_time" field.

func StartTimeGTE

func StartTimeGTE(v time.Time) predicate.ProcInst

StartTimeGTE applies the GTE predicate on the "start_time" field.

func StartTimeIn

func StartTimeIn(vs ...time.Time) predicate.ProcInst

StartTimeIn applies the In predicate on the "start_time" field.

func StartTimeLT

func StartTimeLT(v time.Time) predicate.ProcInst

StartTimeLT applies the LT predicate on the "start_time" field.

func StartTimeLTE

func StartTimeLTE(v time.Time) predicate.ProcInst

StartTimeLTE applies the LTE predicate on the "start_time" field.

func StartTimeNEQ

func StartTimeNEQ(v time.Time) predicate.ProcInst

StartTimeNEQ applies the NEQ predicate on the "start_time" field.

func StartTimeNotIn

func StartTimeNotIn(vs ...time.Time) predicate.ProcInst

StartTimeNotIn applies the NotIn predicate on the "start_time" field.

func StartUserID

func StartUserID(v int) predicate.ProcInst

StartUserID applies equality check predicate on the "start_user_id" field. It's identical to StartUserIDEQ.

func StartUserIDEQ

func StartUserIDEQ(v int) predicate.ProcInst

StartUserIDEQ applies the EQ predicate on the "start_user_id" field.

func StartUserIDGT

func StartUserIDGT(v int) predicate.ProcInst

StartUserIDGT applies the GT predicate on the "start_user_id" field.

func StartUserIDGTE

func StartUserIDGTE(v int) predicate.ProcInst

StartUserIDGTE applies the GTE predicate on the "start_user_id" field.

func StartUserIDIn

func StartUserIDIn(vs ...int) predicate.ProcInst

StartUserIDIn applies the In predicate on the "start_user_id" field.

func StartUserIDLT

func StartUserIDLT(v int) predicate.ProcInst

StartUserIDLT applies the LT predicate on the "start_user_id" field.

func StartUserIDLTE

func StartUserIDLTE(v int) predicate.ProcInst

StartUserIDLTE applies the LTE predicate on the "start_user_id" field.

func StartUserIDNEQ

func StartUserIDNEQ(v int) predicate.ProcInst

StartUserIDNEQ applies the NEQ predicate on the "start_user_id" field.

func StartUserIDNotIn

func StartUserIDNotIn(vs ...int) predicate.ProcInst

StartUserIDNotIn applies the NotIn predicate on the "start_user_id" field.

func StatusEQ

func StatusEQ(v Status) predicate.ProcInst

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

func StatusIn

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

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

func StatusNEQ

func StatusNEQ(v Status) predicate.ProcInst

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

func StatusNotIn

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

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 SupperInstanceID

func SupperInstanceID(v int) predicate.ProcInst

SupperInstanceID applies equality check predicate on the "supper_instance_id" field. It's identical to SupperInstanceIDEQ.

func SupperInstanceIDEQ

func SupperInstanceIDEQ(v int) predicate.ProcInst

SupperInstanceIDEQ applies the EQ predicate on the "supper_instance_id" field.

func SupperInstanceIDGT

func SupperInstanceIDGT(v int) predicate.ProcInst

SupperInstanceIDGT applies the GT predicate on the "supper_instance_id" field.

func SupperInstanceIDGTE

func SupperInstanceIDGTE(v int) predicate.ProcInst

SupperInstanceIDGTE applies the GTE predicate on the "supper_instance_id" field.

func SupperInstanceIDIn

func SupperInstanceIDIn(vs ...int) predicate.ProcInst

SupperInstanceIDIn applies the In predicate on the "supper_instance_id" field.

func SupperInstanceIDIsNil

func SupperInstanceIDIsNil() predicate.ProcInst

SupperInstanceIDIsNil applies the IsNil predicate on the "supper_instance_id" field.

func SupperInstanceIDLT

func SupperInstanceIDLT(v int) predicate.ProcInst

SupperInstanceIDLT applies the LT predicate on the "supper_instance_id" field.

func SupperInstanceIDLTE

func SupperInstanceIDLTE(v int) predicate.ProcInst

SupperInstanceIDLTE applies the LTE predicate on the "supper_instance_id" field.

func SupperInstanceIDNEQ

func SupperInstanceIDNEQ(v int) predicate.ProcInst

SupperInstanceIDNEQ applies the NEQ predicate on the "supper_instance_id" field.

func SupperInstanceIDNotIn

func SupperInstanceIDNotIn(vs ...int) predicate.ProcInst

SupperInstanceIDNotIn applies the NotIn predicate on the "supper_instance_id" field.

func SupperInstanceIDNotNil

func SupperInstanceIDNotNil() predicate.ProcInst

SupperInstanceIDNotNil applies the NotNil predicate on the "supper_instance_id" field.

func TenantID

func TenantID(v int) predicate.ProcInst

TenantID applies equality check predicate on the "tenant_id" field. It's identical to TenantIDEQ.

func TenantIDEQ

func TenantIDEQ(v int) predicate.ProcInst

TenantIDEQ applies the EQ predicate on the "tenant_id" field.

func TenantIDGT

func TenantIDGT(v int) predicate.ProcInst

TenantIDGT applies the GT predicate on the "tenant_id" field.

func TenantIDGTE

func TenantIDGTE(v int) predicate.ProcInst

TenantIDGTE applies the GTE predicate on the "tenant_id" field.

func TenantIDIn

func TenantIDIn(vs ...int) predicate.ProcInst

TenantIDIn applies the In predicate on the "tenant_id" field.

func TenantIDLT

func TenantIDLT(v int) predicate.ProcInst

TenantIDLT applies the LT predicate on the "tenant_id" field.

func TenantIDLTE

func TenantIDLTE(v int) predicate.ProcInst

TenantIDLTE applies the LTE predicate on the "tenant_id" field.

func TenantIDNEQ

func TenantIDNEQ(v int) predicate.ProcInst

TenantIDNEQ applies the NEQ predicate on the "tenant_id" field.

func TenantIDNotIn

func TenantIDNotIn(vs ...int) predicate.ProcInst

TenantIDNotIn applies the NotIn predicate on the "tenant_id" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.ProcInst

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.ProcInst

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.ProcInst

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.ProcInst

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

func UpdatedAtIn

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

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

func UpdatedAtIsNil

func UpdatedAtIsNil() predicate.ProcInst

UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.ProcInst

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.ProcInst

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.ProcInst

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

func UpdatedAtNotIn

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

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

func UpdatedAtNotNil

func UpdatedAtNotNil() predicate.ProcInst

UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.

func UpdatedBy

func UpdatedBy(v int) predicate.ProcInst

UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.

func UpdatedByEQ

func UpdatedByEQ(v int) predicate.ProcInst

UpdatedByEQ applies the EQ predicate on the "updated_by" field.

func UpdatedByGT

func UpdatedByGT(v int) predicate.ProcInst

UpdatedByGT applies the GT predicate on the "updated_by" field.

func UpdatedByGTE

func UpdatedByGTE(v int) predicate.ProcInst

UpdatedByGTE applies the GTE predicate on the "updated_by" field.

func UpdatedByIn

func UpdatedByIn(vs ...int) predicate.ProcInst

UpdatedByIn applies the In predicate on the "updated_by" field.

func UpdatedByIsNil

func UpdatedByIsNil() predicate.ProcInst

UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.

func UpdatedByLT

func UpdatedByLT(v int) predicate.ProcInst

UpdatedByLT applies the LT predicate on the "updated_by" field.

func UpdatedByLTE

func UpdatedByLTE(v int) predicate.ProcInst

UpdatedByLTE applies the LTE predicate on the "updated_by" field.

func UpdatedByNEQ

func UpdatedByNEQ(v int) predicate.ProcInst

UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.

func UpdatedByNotIn

func UpdatedByNotIn(vs ...int) predicate.ProcInst

UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.

func UpdatedByNotNil

func UpdatedByNotNil() predicate.ProcInst

UpdatedByNotNil applies the NotNil predicate on the "updated_by" field.

func ValidColumn

func ValidColumn(column string) bool

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

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the ProcInst queries.

func ByAppID

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

ByAppID orders the results by the app_id field.

func ByBusinessKey

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

ByBusinessKey orders the results by the business_key field.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByCreatedBy

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

ByCreatedBy orders the results by the created_by field.

func ByDeletedReason

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

ByDeletedReason orders the results by the deleted_reason field.

func ByDeletedTime

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

ByDeletedTime orders the results by the deleted_time field.

func ByDuration

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

ByDuration orders the results by the duration field.

func ByEndTime

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

ByEndTime orders the results by the end_time field.

func ByID

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

ByID orders the results by the id field.

func ByProcDefField

func ByProcDefField(field string, opts ...sql.OrderTermOption) OrderOption

ByProcDefField orders the results by proc_def field.

func ByProcDefID

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

ByProcDefID orders the results by the proc_def_id field.

func ByRootInstanceID

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

ByRootInstanceID orders the results by the root_instance_id field.

func ByStartTime

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

ByStartTime orders the results by the start_time field.

func ByStartUserID

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

ByStartUserID orders the results by the start_user_id field.

func ByStatus

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

ByStatus orders the results by the status field.

func BySupperInstanceID

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

BySupperInstanceID orders the results by the supper_instance_id field.

func ByTasks

func ByTasks(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByTasks orders the results by tasks terms.

func ByTasksCount

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

ByTasksCount orders the results by tasks count.

func ByTenantID

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

ByTenantID orders the results by the tenant_id field.

func ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

func ByUpdatedBy

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

ByUpdatedBy orders the results by the updated_by field.

type Status

type Status string

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

const (
	StatusReady      Status = "ready"
	StatusActive     Status = "active"
	StatusCompleted  Status = "completed"
	StatusFailed     Status = "failed"
	StatusTerminated Status = "terminated"
	StatusSuspended  Status = "suspended"
	StatusDeleted    Status = "deleted"
)

Status values.

func (Status) MarshalGQL

func (e Status) MarshalGQL(w io.Writer)

MarshalGQL implements graphql.Marshaler interface.

func (Status) String

func (s Status) String() string

func (*Status) UnmarshalGQL

func (e *Status) UnmarshalGQL(val interface{}) error

UnmarshalGQL implements graphql.Unmarshaler interface.

Jump to

Keyboard shortcuts

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