workflowexecution

package
v0.5.1-rc3 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the workflowexecution type in the database.
	Label = "workflow_execution"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldDescription holds the string denoting the description field in the database.
	FieldDescription = "description"
	// FieldLabels holds the string denoting the labels field in the database.
	FieldLabels = "labels"
	// FieldAnnotations holds the string denoting the annotations field in the database.
	FieldAnnotations = "annotations"
	// FieldCreateTime holds the string denoting the create_time field in the database.
	FieldCreateTime = "create_time"
	// FieldUpdateTime holds the string denoting the update_time field in the database.
	FieldUpdateTime = "update_time"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// FieldProjectID holds the string denoting the project_id field in the database.
	FieldProjectID = "project_id"
	// FieldVersion holds the string denoting the version field in the database.
	FieldVersion = "version"
	// FieldType holds the string denoting the type field in the database.
	FieldType = "type"
	// FieldWorkflowID holds the string denoting the workflow_id field in the database.
	FieldWorkflowID = "workflow_id"
	// FieldSubjectID holds the string denoting the subject_id field in the database.
	FieldSubjectID = "subject_id"
	// FieldExecuteTime holds the string denoting the execute_time field in the database.
	FieldExecuteTime = "execute_time"
	// FieldTimes holds the string denoting the times field in the database.
	FieldTimes = "times"
	// FieldDuration holds the string denoting the duration field in the database.
	FieldDuration = "duration"
	// FieldParallelism holds the string denoting the parallelism field in the database.
	FieldParallelism = "parallelism"
	// FieldTimeout holds the string denoting the timeout field in the database.
	FieldTimeout = "timeout"
	// FieldTrigger holds the string denoting the trigger field in the database.
	FieldTrigger = "trigger"
	// EdgeProject holds the string denoting the project edge name in mutations.
	EdgeProject = "project"
	// EdgeStages holds the string denoting the stages edge name in mutations.
	EdgeStages = "stages"
	// EdgeWorkflow holds the string denoting the workflow edge name in mutations.
	EdgeWorkflow = "workflow"
	// Table holds the table name of the workflowexecution in the database.
	Table = "workflow_executions"
	// ProjectTable is the table that holds the project relation/edge.
	ProjectTable = "workflow_executions"
	// ProjectInverseTable is the table name for the Project entity.
	// It exists in this package in order to avoid circular dependency with the "project" package.
	ProjectInverseTable = "projects"
	// ProjectColumn is the table column denoting the project relation/edge.
	ProjectColumn = "project_id"
	// StagesTable is the table that holds the stages relation/edge.
	StagesTable = "workflow_stage_executions"
	// StagesInverseTable is the table name for the WorkflowStageExecution entity.
	// It exists in this package in order to avoid circular dependency with the "workflowstageexecution" package.
	StagesInverseTable = "workflow_stage_executions"
	// StagesColumn is the table column denoting the stages relation/edge.
	StagesColumn = "workflow_execution_id"
	// WorkflowTable is the table that holds the workflow relation/edge.
	WorkflowTable = "workflow_executions"
	// WorkflowInverseTable is the table name for the Workflow entity.
	// It exists in this package in order to avoid circular dependency with the "workflow" package.
	WorkflowInverseTable = "workflows"
	// WorkflowColumn is the table column denoting the workflow relation/edge.
	WorkflowColumn = "workflow_id"
)

Variables

View Source
var (
	Hooks        [1]ent.Hook
	Interceptors [1]ent.Interceptor
	// NameValidator is a validator for the "name" field. It is called by the builders before save.
	NameValidator func(string) error
	// DefaultLabels holds the default value on creation for the "labels" field.
	DefaultLabels map[string]string
	// DefaultAnnotations holds the default value on creation for the "annotations" field.
	DefaultAnnotations map[string]string
	// DefaultCreateTime holds the default value on creation for the "create_time" field.
	DefaultCreateTime func() time.Time
	// DefaultUpdateTime holds the default value on creation for the "update_time" field.
	DefaultUpdateTime func() time.Time
	// UpdateDefaultUpdateTime holds the default value on update for the "update_time" field.
	UpdateDefaultUpdateTime func() time.Time
	// ProjectIDValidator is a validator for the "project_id" field. It is called by the builders before save.
	ProjectIDValidator func(string) error
	// VersionValidator is a validator for the "version" field. It is called by the builders before save.
	VersionValidator func(int) error
	// TypeValidator is a validator for the "type" field. It is called by the builders before save.
	TypeValidator func(string) error
	// WorkflowIDValidator is a validator for the "workflow_id" field. It is called by the builders before save.
	WorkflowIDValidator func(string) error
	// DefaultTimes holds the default value on creation for the "times" field.
	DefaultTimes int
	// TimesValidator is a validator for the "times" field. It is called by the builders before save.
	TimesValidator func(int) error
	// DefaultDuration holds the default value on creation for the "duration" field.
	DefaultDuration int
	// DurationValidator is a validator for the "duration" field. It is called by the builders before save.
	DurationValidator func(int) error
	// DefaultParallelism holds the default value on creation for the "parallelism" field.
	DefaultParallelism int
	// ParallelismValidator is a validator for the "parallelism" field. It is called by the builders before save.
	ParallelismValidator func(int) error
	// DefaultTimeout holds the default value on creation for the "timeout" field.
	DefaultTimeout int
	// TimeoutValidator is a validator for the "timeout" field. It is called by the builders before save.
	TimeoutValidator func(int) error
	// DefaultTrigger holds the default value on creation for the "trigger" field.
	DefaultTrigger types.WorkflowExecutionTrigger
)

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/seal-io/walrus/pkg/dao/model/runtime"

Columns holds all SQL columns for workflowexecution fields.

Functions

func And

And groups predicates with the AND operator between them.

func AnnotationsIsNil

func AnnotationsIsNil() predicate.WorkflowExecution

AnnotationsIsNil applies the IsNil predicate on the "annotations" field.

func AnnotationsNotNil

func AnnotationsNotNil() predicate.WorkflowExecution

AnnotationsNotNil applies the NotNil predicate on the "annotations" field.

func CreateTime

func CreateTime(v time.Time) predicate.WorkflowExecution

CreateTime applies equality check predicate on the "create_time" field. It's identical to CreateTimeEQ.

func CreateTimeEQ

func CreateTimeEQ(v time.Time) predicate.WorkflowExecution

CreateTimeEQ applies the EQ predicate on the "create_time" field.

func CreateTimeGT

func CreateTimeGT(v time.Time) predicate.WorkflowExecution

CreateTimeGT applies the GT predicate on the "create_time" field.

func CreateTimeGTE

func CreateTimeGTE(v time.Time) predicate.WorkflowExecution

CreateTimeGTE applies the GTE predicate on the "create_time" field.

func CreateTimeIn

func CreateTimeIn(vs ...time.Time) predicate.WorkflowExecution

CreateTimeIn applies the In predicate on the "create_time" field.

func CreateTimeLT

func CreateTimeLT(v time.Time) predicate.WorkflowExecution

CreateTimeLT applies the LT predicate on the "create_time" field.

func CreateTimeLTE

func CreateTimeLTE(v time.Time) predicate.WorkflowExecution

CreateTimeLTE applies the LTE predicate on the "create_time" field.

func CreateTimeNEQ

func CreateTimeNEQ(v time.Time) predicate.WorkflowExecution

CreateTimeNEQ applies the NEQ predicate on the "create_time" field.

func CreateTimeNotIn

func CreateTimeNotIn(vs ...time.Time) predicate.WorkflowExecution

CreateTimeNotIn applies the NotIn predicate on the "create_time" field.

func Description

func Description(v string) predicate.WorkflowExecution

Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.

func DescriptionContains

func DescriptionContains(v string) predicate.WorkflowExecution

DescriptionContains applies the Contains predicate on the "description" field.

func DescriptionContainsFold

func DescriptionContainsFold(v string) predicate.WorkflowExecution

DescriptionContainsFold applies the ContainsFold predicate on the "description" field.

func DescriptionEQ

func DescriptionEQ(v string) predicate.WorkflowExecution

DescriptionEQ applies the EQ predicate on the "description" field.

func DescriptionEqualFold

func DescriptionEqualFold(v string) predicate.WorkflowExecution

DescriptionEqualFold applies the EqualFold predicate on the "description" field.

func DescriptionGT

func DescriptionGT(v string) predicate.WorkflowExecution

DescriptionGT applies the GT predicate on the "description" field.

func DescriptionGTE

func DescriptionGTE(v string) predicate.WorkflowExecution

DescriptionGTE applies the GTE predicate on the "description" field.

func DescriptionHasPrefix

func DescriptionHasPrefix(v string) predicate.WorkflowExecution

DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.

func DescriptionHasSuffix

func DescriptionHasSuffix(v string) predicate.WorkflowExecution

DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.

func DescriptionIn

func DescriptionIn(vs ...string) predicate.WorkflowExecution

DescriptionIn applies the In predicate on the "description" field.

func DescriptionIsNil

func DescriptionIsNil() predicate.WorkflowExecution

DescriptionIsNil applies the IsNil predicate on the "description" field.

func DescriptionLT

func DescriptionLT(v string) predicate.WorkflowExecution

DescriptionLT applies the LT predicate on the "description" field.

func DescriptionLTE

func DescriptionLTE(v string) predicate.WorkflowExecution

DescriptionLTE applies the LTE predicate on the "description" field.

func DescriptionNEQ

func DescriptionNEQ(v string) predicate.WorkflowExecution

DescriptionNEQ applies the NEQ predicate on the "description" field.

func DescriptionNotIn

func DescriptionNotIn(vs ...string) predicate.WorkflowExecution

DescriptionNotIn applies the NotIn predicate on the "description" field.

func DescriptionNotNil

func DescriptionNotNil() predicate.WorkflowExecution

DescriptionNotNil applies the NotNil predicate on the "description" field.

func Duration

func Duration(v int) predicate.WorkflowExecution

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

func DurationEQ

func DurationEQ(v int) predicate.WorkflowExecution

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

func DurationGT

func DurationGT(v int) predicate.WorkflowExecution

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

func DurationGTE

func DurationGTE(v int) predicate.WorkflowExecution

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

func DurationIn

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

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

func DurationLT

func DurationLT(v int) predicate.WorkflowExecution

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

func DurationLTE

func DurationLTE(v int) predicate.WorkflowExecution

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

func DurationNEQ

func DurationNEQ(v int) predicate.WorkflowExecution

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

func DurationNotIn

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

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

func ExecuteTime

func ExecuteTime(v time.Time) predicate.WorkflowExecution

ExecuteTime applies equality check predicate on the "execute_time" field. It's identical to ExecuteTimeEQ.

func ExecuteTimeEQ

func ExecuteTimeEQ(v time.Time) predicate.WorkflowExecution

ExecuteTimeEQ applies the EQ predicate on the "execute_time" field.

func ExecuteTimeGT

func ExecuteTimeGT(v time.Time) predicate.WorkflowExecution

ExecuteTimeGT applies the GT predicate on the "execute_time" field.

func ExecuteTimeGTE

func ExecuteTimeGTE(v time.Time) predicate.WorkflowExecution

ExecuteTimeGTE applies the GTE predicate on the "execute_time" field.

func ExecuteTimeIn

func ExecuteTimeIn(vs ...time.Time) predicate.WorkflowExecution

ExecuteTimeIn applies the In predicate on the "execute_time" field.

func ExecuteTimeIsNil

func ExecuteTimeIsNil() predicate.WorkflowExecution

ExecuteTimeIsNil applies the IsNil predicate on the "execute_time" field.

func ExecuteTimeLT

func ExecuteTimeLT(v time.Time) predicate.WorkflowExecution

ExecuteTimeLT applies the LT predicate on the "execute_time" field.

func ExecuteTimeLTE

func ExecuteTimeLTE(v time.Time) predicate.WorkflowExecution

ExecuteTimeLTE applies the LTE predicate on the "execute_time" field.

func ExecuteTimeNEQ

func ExecuteTimeNEQ(v time.Time) predicate.WorkflowExecution

ExecuteTimeNEQ applies the NEQ predicate on the "execute_time" field.

func ExecuteTimeNotIn

func ExecuteTimeNotIn(vs ...time.Time) predicate.WorkflowExecution

ExecuteTimeNotIn applies the NotIn predicate on the "execute_time" field.

func ExecuteTimeNotNil

func ExecuteTimeNotNil() predicate.WorkflowExecution

ExecuteTimeNotNil applies the NotNil predicate on the "execute_time" field.

func HasProject

func HasProject() predicate.WorkflowExecution

HasProject applies the HasEdge predicate on the "project" edge.

func HasProjectWith

func HasProjectWith(preds ...predicate.Project) predicate.WorkflowExecution

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

func HasStages

func HasStages() predicate.WorkflowExecution

HasStages applies the HasEdge predicate on the "stages" edge.

func HasStagesWith

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

func HasWorkflow

func HasWorkflow() predicate.WorkflowExecution

HasWorkflow applies the HasEdge predicate on the "workflow" edge.

func HasWorkflowWith

func HasWorkflowWith(preds ...predicate.Workflow) predicate.WorkflowExecution

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

func ID

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...object.ID) predicate.WorkflowExecution

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...object.ID) predicate.WorkflowExecution

IDNotIn applies the NotIn predicate on the ID field.

func LabelsIsNil

func LabelsIsNil() predicate.WorkflowExecution

LabelsIsNil applies the IsNil predicate on the "labels" field.

func LabelsNotNil

func LabelsNotNil() predicate.WorkflowExecution

LabelsNotNil applies the NotNil predicate on the "labels" field.

func Name

Name applies equality check predicate on the "name" field. It's identical to NameEQ.

func NameContains

func NameContains(v string) predicate.WorkflowExecution

NameContains applies the Contains predicate on the "name" field.

func NameContainsFold

func NameContainsFold(v string) predicate.WorkflowExecution

NameContainsFold applies the ContainsFold predicate on the "name" field.

func NameEQ

NameEQ applies the EQ predicate on the "name" field.

func NameEqualFold

func NameEqualFold(v string) predicate.WorkflowExecution

NameEqualFold applies the EqualFold predicate on the "name" field.

func NameGT

NameGT applies the GT predicate on the "name" field.

func NameGTE

NameGTE applies the GTE predicate on the "name" field.

func NameHasPrefix

func NameHasPrefix(v string) predicate.WorkflowExecution

NameHasPrefix applies the HasPrefix predicate on the "name" field.

func NameHasSuffix

func NameHasSuffix(v string) predicate.WorkflowExecution

NameHasSuffix applies the HasSuffix predicate on the "name" field.

func NameIn

func NameIn(vs ...string) predicate.WorkflowExecution

NameIn applies the In predicate on the "name" field.

func NameLT

NameLT applies the LT predicate on the "name" field.

func NameLTE

NameLTE applies the LTE predicate on the "name" field.

func NameNEQ

NameNEQ applies the NEQ predicate on the "name" field.

func NameNotIn

func NameNotIn(vs ...string) predicate.WorkflowExecution

NameNotIn applies the NotIn predicate on the "name" field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func Parallelism

func Parallelism(v int) predicate.WorkflowExecution

Parallelism applies equality check predicate on the "parallelism" field. It's identical to ParallelismEQ.

func ParallelismEQ

func ParallelismEQ(v int) predicate.WorkflowExecution

ParallelismEQ applies the EQ predicate on the "parallelism" field.

func ParallelismGT

func ParallelismGT(v int) predicate.WorkflowExecution

ParallelismGT applies the GT predicate on the "parallelism" field.

func ParallelismGTE

func ParallelismGTE(v int) predicate.WorkflowExecution

ParallelismGTE applies the GTE predicate on the "parallelism" field.

func ParallelismIn

func ParallelismIn(vs ...int) predicate.WorkflowExecution

ParallelismIn applies the In predicate on the "parallelism" field.

func ParallelismLT

func ParallelismLT(v int) predicate.WorkflowExecution

ParallelismLT applies the LT predicate on the "parallelism" field.

func ParallelismLTE

func ParallelismLTE(v int) predicate.WorkflowExecution

ParallelismLTE applies the LTE predicate on the "parallelism" field.

func ParallelismNEQ

func ParallelismNEQ(v int) predicate.WorkflowExecution

ParallelismNEQ applies the NEQ predicate on the "parallelism" field.

func ParallelismNotIn

func ParallelismNotIn(vs ...int) predicate.WorkflowExecution

ParallelismNotIn applies the NotIn predicate on the "parallelism" field.

func ProjectID

func ProjectID(v object.ID) predicate.WorkflowExecution

ProjectID applies equality check predicate on the "project_id" field. It's identical to ProjectIDEQ.

func ProjectIDContains

func ProjectIDContains(v object.ID) predicate.WorkflowExecution

ProjectIDContains applies the Contains predicate on the "project_id" field.

func ProjectIDContainsFold

func ProjectIDContainsFold(v object.ID) predicate.WorkflowExecution

ProjectIDContainsFold applies the ContainsFold predicate on the "project_id" field.

func ProjectIDEQ

func ProjectIDEQ(v object.ID) predicate.WorkflowExecution

ProjectIDEQ applies the EQ predicate on the "project_id" field.

func ProjectIDEqualFold

func ProjectIDEqualFold(v object.ID) predicate.WorkflowExecution

ProjectIDEqualFold applies the EqualFold predicate on the "project_id" field.

func ProjectIDGT

func ProjectIDGT(v object.ID) predicate.WorkflowExecution

ProjectIDGT applies the GT predicate on the "project_id" field.

func ProjectIDGTE

func ProjectIDGTE(v object.ID) predicate.WorkflowExecution

ProjectIDGTE applies the GTE predicate on the "project_id" field.

func ProjectIDHasPrefix

func ProjectIDHasPrefix(v object.ID) predicate.WorkflowExecution

ProjectIDHasPrefix applies the HasPrefix predicate on the "project_id" field.

func ProjectIDHasSuffix

func ProjectIDHasSuffix(v object.ID) predicate.WorkflowExecution

ProjectIDHasSuffix applies the HasSuffix predicate on the "project_id" field.

func ProjectIDIn

func ProjectIDIn(vs ...object.ID) predicate.WorkflowExecution

ProjectIDIn applies the In predicate on the "project_id" field.

func ProjectIDLT

func ProjectIDLT(v object.ID) predicate.WorkflowExecution

ProjectIDLT applies the LT predicate on the "project_id" field.

func ProjectIDLTE

func ProjectIDLTE(v object.ID) predicate.WorkflowExecution

ProjectIDLTE applies the LTE predicate on the "project_id" field.

func ProjectIDNEQ

func ProjectIDNEQ(v object.ID) predicate.WorkflowExecution

ProjectIDNEQ applies the NEQ predicate on the "project_id" field.

func ProjectIDNotIn

func ProjectIDNotIn(vs ...object.ID) predicate.WorkflowExecution

ProjectIDNotIn applies the NotIn predicate on the "project_id" field.

func StatusIsNil

func StatusIsNil() predicate.WorkflowExecution

StatusIsNil applies the IsNil predicate on the "status" field.

func StatusNotNil

func StatusNotNil() predicate.WorkflowExecution

StatusNotNil applies the NotNil predicate on the "status" field.

func SubjectID

func SubjectID(v object.ID) predicate.WorkflowExecution

SubjectID applies equality check predicate on the "subject_id" field. It's identical to SubjectIDEQ.

func SubjectIDContains

func SubjectIDContains(v object.ID) predicate.WorkflowExecution

SubjectIDContains applies the Contains predicate on the "subject_id" field.

func SubjectIDContainsFold

func SubjectIDContainsFold(v object.ID) predicate.WorkflowExecution

SubjectIDContainsFold applies the ContainsFold predicate on the "subject_id" field.

func SubjectIDEQ

func SubjectIDEQ(v object.ID) predicate.WorkflowExecution

SubjectIDEQ applies the EQ predicate on the "subject_id" field.

func SubjectIDEqualFold

func SubjectIDEqualFold(v object.ID) predicate.WorkflowExecution

SubjectIDEqualFold applies the EqualFold predicate on the "subject_id" field.

func SubjectIDGT

func SubjectIDGT(v object.ID) predicate.WorkflowExecution

SubjectIDGT applies the GT predicate on the "subject_id" field.

func SubjectIDGTE

func SubjectIDGTE(v object.ID) predicate.WorkflowExecution

SubjectIDGTE applies the GTE predicate on the "subject_id" field.

func SubjectIDHasPrefix

func SubjectIDHasPrefix(v object.ID) predicate.WorkflowExecution

SubjectIDHasPrefix applies the HasPrefix predicate on the "subject_id" field.

func SubjectIDHasSuffix

func SubjectIDHasSuffix(v object.ID) predicate.WorkflowExecution

SubjectIDHasSuffix applies the HasSuffix predicate on the "subject_id" field.

func SubjectIDIn

func SubjectIDIn(vs ...object.ID) predicate.WorkflowExecution

SubjectIDIn applies the In predicate on the "subject_id" field.

func SubjectIDLT

func SubjectIDLT(v object.ID) predicate.WorkflowExecution

SubjectIDLT applies the LT predicate on the "subject_id" field.

func SubjectIDLTE

func SubjectIDLTE(v object.ID) predicate.WorkflowExecution

SubjectIDLTE applies the LTE predicate on the "subject_id" field.

func SubjectIDNEQ

func SubjectIDNEQ(v object.ID) predicate.WorkflowExecution

SubjectIDNEQ applies the NEQ predicate on the "subject_id" field.

func SubjectIDNotIn

func SubjectIDNotIn(vs ...object.ID) predicate.WorkflowExecution

SubjectIDNotIn applies the NotIn predicate on the "subject_id" field.

func Timeout

func Timeout(v int) predicate.WorkflowExecution

Timeout applies equality check predicate on the "timeout" field. It's identical to TimeoutEQ.

func TimeoutEQ

func TimeoutEQ(v int) predicate.WorkflowExecution

TimeoutEQ applies the EQ predicate on the "timeout" field.

func TimeoutGT

func TimeoutGT(v int) predicate.WorkflowExecution

TimeoutGT applies the GT predicate on the "timeout" field.

func TimeoutGTE

func TimeoutGTE(v int) predicate.WorkflowExecution

TimeoutGTE applies the GTE predicate on the "timeout" field.

func TimeoutIn

func TimeoutIn(vs ...int) predicate.WorkflowExecution

TimeoutIn applies the In predicate on the "timeout" field.

func TimeoutLT

func TimeoutLT(v int) predicate.WorkflowExecution

TimeoutLT applies the LT predicate on the "timeout" field.

func TimeoutLTE

func TimeoutLTE(v int) predicate.WorkflowExecution

TimeoutLTE applies the LTE predicate on the "timeout" field.

func TimeoutNEQ

func TimeoutNEQ(v int) predicate.WorkflowExecution

TimeoutNEQ applies the NEQ predicate on the "timeout" field.

func TimeoutNotIn

func TimeoutNotIn(vs ...int) predicate.WorkflowExecution

TimeoutNotIn applies the NotIn predicate on the "timeout" field.

func Times

Times applies equality check predicate on the "times" field. It's identical to TimesEQ.

func TimesEQ

func TimesEQ(v int) predicate.WorkflowExecution

TimesEQ applies the EQ predicate on the "times" field.

func TimesGT

func TimesGT(v int) predicate.WorkflowExecution

TimesGT applies the GT predicate on the "times" field.

func TimesGTE

func TimesGTE(v int) predicate.WorkflowExecution

TimesGTE applies the GTE predicate on the "times" field.

func TimesIn

func TimesIn(vs ...int) predicate.WorkflowExecution

TimesIn applies the In predicate on the "times" field.

func TimesLT

func TimesLT(v int) predicate.WorkflowExecution

TimesLT applies the LT predicate on the "times" field.

func TimesLTE

func TimesLTE(v int) predicate.WorkflowExecution

TimesLTE applies the LTE predicate on the "times" field.

func TimesNEQ

func TimesNEQ(v int) predicate.WorkflowExecution

TimesNEQ applies the NEQ predicate on the "times" field.

func TimesNotIn

func TimesNotIn(vs ...int) predicate.WorkflowExecution

TimesNotIn applies the NotIn predicate on the "times" field.

func Type

Type applies equality check predicate on the "type" field. It's identical to TypeEQ.

func TypeContains

func TypeContains(v string) predicate.WorkflowExecution

TypeContains applies the Contains predicate on the "type" field.

func TypeContainsFold

func TypeContainsFold(v string) predicate.WorkflowExecution

TypeContainsFold applies the ContainsFold predicate on the "type" field.

func TypeEQ

TypeEQ applies the EQ predicate on the "type" field.

func TypeEqualFold

func TypeEqualFold(v string) predicate.WorkflowExecution

TypeEqualFold applies the EqualFold predicate on the "type" field.

func TypeGT

TypeGT applies the GT predicate on the "type" field.

func TypeGTE

TypeGTE applies the GTE predicate on the "type" field.

func TypeHasPrefix

func TypeHasPrefix(v string) predicate.WorkflowExecution

TypeHasPrefix applies the HasPrefix predicate on the "type" field.

func TypeHasSuffix

func TypeHasSuffix(v string) predicate.WorkflowExecution

TypeHasSuffix applies the HasSuffix predicate on the "type" field.

func TypeIn

func TypeIn(vs ...string) predicate.WorkflowExecution

TypeIn applies the In predicate on the "type" field.

func TypeLT

TypeLT applies the LT predicate on the "type" field.

func TypeLTE

TypeLTE applies the LTE predicate on the "type" field.

func TypeNEQ

TypeNEQ applies the NEQ predicate on the "type" field.

func TypeNotIn

func TypeNotIn(vs ...string) predicate.WorkflowExecution

TypeNotIn applies the NotIn predicate on the "type" field.

func UpdateTime

func UpdateTime(v time.Time) predicate.WorkflowExecution

UpdateTime applies equality check predicate on the "update_time" field. It's identical to UpdateTimeEQ.

func UpdateTimeEQ

func UpdateTimeEQ(v time.Time) predicate.WorkflowExecution

UpdateTimeEQ applies the EQ predicate on the "update_time" field.

func UpdateTimeGT

func UpdateTimeGT(v time.Time) predicate.WorkflowExecution

UpdateTimeGT applies the GT predicate on the "update_time" field.

func UpdateTimeGTE

func UpdateTimeGTE(v time.Time) predicate.WorkflowExecution

UpdateTimeGTE applies the GTE predicate on the "update_time" field.

func UpdateTimeIn

func UpdateTimeIn(vs ...time.Time) predicate.WorkflowExecution

UpdateTimeIn applies the In predicate on the "update_time" field.

func UpdateTimeLT

func UpdateTimeLT(v time.Time) predicate.WorkflowExecution

UpdateTimeLT applies the LT predicate on the "update_time" field.

func UpdateTimeLTE

func UpdateTimeLTE(v time.Time) predicate.WorkflowExecution

UpdateTimeLTE applies the LTE predicate on the "update_time" field.

func UpdateTimeNEQ

func UpdateTimeNEQ(v time.Time) predicate.WorkflowExecution

UpdateTimeNEQ applies the NEQ predicate on the "update_time" field.

func UpdateTimeNotIn

func UpdateTimeNotIn(vs ...time.Time) predicate.WorkflowExecution

UpdateTimeNotIn applies the NotIn predicate on the "update_time" field.

func ValidColumn

func ValidColumn(column string) bool

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

func Version

func Version(v int) predicate.WorkflowExecution

Version applies equality check predicate on the "version" field. It's identical to VersionEQ.

func VersionEQ

func VersionEQ(v int) predicate.WorkflowExecution

VersionEQ applies the EQ predicate on the "version" field.

func VersionGT

func VersionGT(v int) predicate.WorkflowExecution

VersionGT applies the GT predicate on the "version" field.

func VersionGTE

func VersionGTE(v int) predicate.WorkflowExecution

VersionGTE applies the GTE predicate on the "version" field.

func VersionIn

func VersionIn(vs ...int) predicate.WorkflowExecution

VersionIn applies the In predicate on the "version" field.

func VersionLT

func VersionLT(v int) predicate.WorkflowExecution

VersionLT applies the LT predicate on the "version" field.

func VersionLTE

func VersionLTE(v int) predicate.WorkflowExecution

VersionLTE applies the LTE predicate on the "version" field.

func VersionNEQ

func VersionNEQ(v int) predicate.WorkflowExecution

VersionNEQ applies the NEQ predicate on the "version" field.

func VersionNotIn

func VersionNotIn(vs ...int) predicate.WorkflowExecution

VersionNotIn applies the NotIn predicate on the "version" field.

func WithoutFields

func WithoutFields(ignores ...string) []string

WithoutFields returns the fields ignored the given list.

func WorkflowID

func WorkflowID(v object.ID) predicate.WorkflowExecution

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

func WorkflowIDContains

func WorkflowIDContains(v object.ID) predicate.WorkflowExecution

WorkflowIDContains applies the Contains predicate on the "workflow_id" field.

func WorkflowIDContainsFold

func WorkflowIDContainsFold(v object.ID) predicate.WorkflowExecution

WorkflowIDContainsFold applies the ContainsFold predicate on the "workflow_id" field.

func WorkflowIDEQ

func WorkflowIDEQ(v object.ID) predicate.WorkflowExecution

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

func WorkflowIDEqualFold

func WorkflowIDEqualFold(v object.ID) predicate.WorkflowExecution

WorkflowIDEqualFold applies the EqualFold predicate on the "workflow_id" field.

func WorkflowIDGT

func WorkflowIDGT(v object.ID) predicate.WorkflowExecution

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

func WorkflowIDGTE

func WorkflowIDGTE(v object.ID) predicate.WorkflowExecution

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

func WorkflowIDHasPrefix

func WorkflowIDHasPrefix(v object.ID) predicate.WorkflowExecution

WorkflowIDHasPrefix applies the HasPrefix predicate on the "workflow_id" field.

func WorkflowIDHasSuffix

func WorkflowIDHasSuffix(v object.ID) predicate.WorkflowExecution

WorkflowIDHasSuffix applies the HasSuffix predicate on the "workflow_id" field.

func WorkflowIDIn

func WorkflowIDIn(vs ...object.ID) predicate.WorkflowExecution

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

func WorkflowIDLT

func WorkflowIDLT(v object.ID) predicate.WorkflowExecution

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

func WorkflowIDLTE

func WorkflowIDLTE(v object.ID) predicate.WorkflowExecution

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

func WorkflowIDNEQ

func WorkflowIDNEQ(v object.ID) predicate.WorkflowExecution

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

func WorkflowIDNotIn

func WorkflowIDNotIn(vs ...object.ID) predicate.WorkflowExecution

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 WorkflowExecution queries.

func ByCreateTime

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

ByCreateTime orders the results by the create_time field.

func ByDescription

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

ByDescription orders the results by the description field.

func ByDuration

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

ByDuration orders the results by the duration field.

func ByExecuteTime

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

ByExecuteTime orders the results by the execute_time field.

func ByID

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

ByID orders the results by the id field.

func ByName

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

ByName orders the results by the name field.

func ByParallelism

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

ByParallelism orders the results by the parallelism field.

func ByProjectField

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

ByProjectField orders the results by project field.

func ByProjectID

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

ByProjectID orders the results by the project_id field.

func ByStages

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

ByStages orders the results by stages terms.

func ByStagesCount

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

ByStagesCount orders the results by stages count.

func BySubjectID

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

BySubjectID orders the results by the subject_id field.

func ByTimeout

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

ByTimeout orders the results by the timeout field.

func ByTimes

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

ByTimes orders the results by the times field.

func ByType

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

ByType orders the results by the type field.

func ByUpdateTime

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

ByUpdateTime orders the results by the update_time field.

func ByVersion

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

ByVersion orders the results by the version field.

func ByWorkflowField

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

ByWorkflowField orders the results by workflow 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