workflowstageexecution

package
v0.4.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the workflowstageexecution type in the database.
	Label = "workflow_stage_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"
	// FieldWorkflowID holds the string denoting the workflow_id field in the database.
	FieldWorkflowID = "workflow_id"
	// FieldWorkflowStageID holds the string denoting the workflow_stage_id field in the database.
	FieldWorkflowStageID = "workflow_stage_id"
	// FieldWorkflowExecutionID holds the string denoting the workflow_execution_id field in the database.
	FieldWorkflowExecutionID = "workflow_execution_id"
	// FieldExecuteTime holds the string denoting the execute_time field in the database.
	FieldExecuteTime = "execute_time"
	// FieldDuration holds the string denoting the duration field in the database.
	FieldDuration = "duration"
	// FieldOrder holds the string denoting the order field in the database.
	FieldOrder = "order"
	// EdgeProject holds the string denoting the project edge name in mutations.
	EdgeProject = "project"
	// EdgeSteps holds the string denoting the steps edge name in mutations.
	EdgeSteps = "steps"
	// EdgeWorkflowExecution holds the string denoting the workflow_execution edge name in mutations.
	EdgeWorkflowExecution = "workflow_execution"
	// Table holds the table name of the workflowstageexecution in the database.
	Table = "workflow_stage_executions"
	// ProjectTable is the table that holds the project relation/edge.
	ProjectTable = "workflow_stage_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"
	// StepsTable is the table that holds the steps relation/edge.
	StepsTable = "workflow_step_executions"
	// StepsInverseTable is the table name for the WorkflowStepExecution entity.
	// It exists in this package in order to avoid circular dependency with the "workflowstepexecution" package.
	StepsInverseTable = "workflow_step_executions"
	// StepsColumn is the table column denoting the steps relation/edge.
	StepsColumn = "workflow_stage_execution_id"
	// WorkflowExecutionTable is the table that holds the workflow_execution relation/edge.
	WorkflowExecutionTable = "workflow_stage_executions"
	// WorkflowExecutionInverseTable is the table name for the WorkflowExecution entity.
	// It exists in this package in order to avoid circular dependency with the "workflowexecution" package.
	WorkflowExecutionInverseTable = "workflow_executions"
	// WorkflowExecutionColumn is the table column denoting the workflow_execution relation/edge.
	WorkflowExecutionColumn = "workflow_execution_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
	// WorkflowIDValidator is a validator for the "workflow_id" field. It is called by the builders before save.
	WorkflowIDValidator func(string) 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
	// DefaultOrder holds the default value on creation for the "order" field.
	DefaultOrder int
	// OrderValidator is a validator for the "order" field. It is called by the builders before save.
	OrderValidator func(int) error
)

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 workflowstageexecution fields.

Functions

func And

And groups predicates with the AND operator between them.

func AnnotationsIsNil

func AnnotationsIsNil() predicate.WorkflowStageExecution

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

func AnnotationsNotNil

func AnnotationsNotNil() predicate.WorkflowStageExecution

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

func CreateTime

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

func CreateTimeEQ

func CreateTimeEQ(v time.Time) predicate.WorkflowStageExecution

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

func CreateTimeGT

func CreateTimeGT(v time.Time) predicate.WorkflowStageExecution

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

func CreateTimeGTE

func CreateTimeGTE(v time.Time) predicate.WorkflowStageExecution

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

func CreateTimeIn

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

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

func CreateTimeLT

func CreateTimeLT(v time.Time) predicate.WorkflowStageExecution

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

func CreateTimeLTE

func CreateTimeLTE(v time.Time) predicate.WorkflowStageExecution

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

func CreateTimeNEQ

func CreateTimeNEQ(v time.Time) predicate.WorkflowStageExecution

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

func CreateTimeNotIn

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

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

func Description

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

func DescriptionContains

func DescriptionContains(v string) predicate.WorkflowStageExecution

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

func DescriptionContainsFold

func DescriptionContainsFold(v string) predicate.WorkflowStageExecution

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

func DescriptionEQ

func DescriptionEQ(v string) predicate.WorkflowStageExecution

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

func DescriptionEqualFold

func DescriptionEqualFold(v string) predicate.WorkflowStageExecution

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

func DescriptionGT

func DescriptionGT(v string) predicate.WorkflowStageExecution

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

func DescriptionGTE

func DescriptionGTE(v string) predicate.WorkflowStageExecution

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

func DescriptionHasPrefix

func DescriptionHasPrefix(v string) predicate.WorkflowStageExecution

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

func DescriptionHasSuffix

func DescriptionHasSuffix(v string) predicate.WorkflowStageExecution

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

func DescriptionIn

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

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

func DescriptionIsNil

func DescriptionIsNil() predicate.WorkflowStageExecution

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

func DescriptionLT

func DescriptionLT(v string) predicate.WorkflowStageExecution

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

func DescriptionLTE

func DescriptionLTE(v string) predicate.WorkflowStageExecution

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

func DescriptionNEQ

func DescriptionNEQ(v string) predicate.WorkflowStageExecution

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

func DescriptionNotIn

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

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

func DescriptionNotNil

func DescriptionNotNil() predicate.WorkflowStageExecution

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

func Duration

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

func DurationEQ

func DurationEQ(v int) predicate.WorkflowStageExecution

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

func DurationGT

func DurationGT(v int) predicate.WorkflowStageExecution

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

func DurationGTE

func DurationGTE(v int) predicate.WorkflowStageExecution

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

func DurationIn

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

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

func DurationLT

func DurationLT(v int) predicate.WorkflowStageExecution

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

func DurationLTE

func DurationLTE(v int) predicate.WorkflowStageExecution

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

func DurationNEQ

func DurationNEQ(v int) predicate.WorkflowStageExecution

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

func DurationNotIn

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

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

func ExecuteTime

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

func ExecuteTimeEQ

func ExecuteTimeEQ(v time.Time) predicate.WorkflowStageExecution

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

func ExecuteTimeGT

func ExecuteTimeGT(v time.Time) predicate.WorkflowStageExecution

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

func ExecuteTimeGTE

func ExecuteTimeGTE(v time.Time) predicate.WorkflowStageExecution

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

func ExecuteTimeIn

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

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

func ExecuteTimeIsNil

func ExecuteTimeIsNil() predicate.WorkflowStageExecution

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

func ExecuteTimeLT

func ExecuteTimeLT(v time.Time) predicate.WorkflowStageExecution

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

func ExecuteTimeLTE

func ExecuteTimeLTE(v time.Time) predicate.WorkflowStageExecution

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

func ExecuteTimeNEQ

func ExecuteTimeNEQ(v time.Time) predicate.WorkflowStageExecution

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

func ExecuteTimeNotIn

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

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

func ExecuteTimeNotNil

func ExecuteTimeNotNil() predicate.WorkflowStageExecution

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

func HasProject

func HasProject() predicate.WorkflowStageExecution

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

func HasProjectWith

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

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

func HasSteps

HasSteps applies the HasEdge predicate on the "steps" edge.

func HasStepsWith

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

func HasWorkflowExecution

func HasWorkflowExecution() predicate.WorkflowStageExecution

HasWorkflowExecution applies the HasEdge predicate on the "workflow_execution" edge.

func HasWorkflowExecutionWith

func HasWorkflowExecutionWith(preds ...predicate.WorkflowExecution) predicate.WorkflowStageExecution

HasWorkflowExecutionWith applies the HasEdge predicate on the "workflow_execution" 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

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.WorkflowStageExecution

IDNotIn applies the NotIn predicate on the ID field.

func LabelsIsNil

func LabelsIsNil() predicate.WorkflowStageExecution

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

func LabelsNotNil

func LabelsNotNil() predicate.WorkflowStageExecution

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.WorkflowStageExecution

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

func NameContainsFold

func NameContainsFold(v string) predicate.WorkflowStageExecution

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.WorkflowStageExecution

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.WorkflowStageExecution

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

func NameHasSuffix

func NameHasSuffix(v string) predicate.WorkflowStageExecution

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

func NameIn

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.WorkflowStageExecution

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 Order

Order applies equality check predicate on the "order" field. It's identical to OrderEQ.

func OrderEQ

OrderEQ applies the EQ predicate on the "order" field.

func OrderGT

OrderGT applies the GT predicate on the "order" field.

func OrderGTE

OrderGTE applies the GTE predicate on the "order" field.

func OrderIn

func OrderIn(vs ...int) predicate.WorkflowStageExecution

OrderIn applies the In predicate on the "order" field.

func OrderLT

OrderLT applies the LT predicate on the "order" field.

func OrderLTE

OrderLTE applies the LTE predicate on the "order" field.

func OrderNEQ

OrderNEQ applies the NEQ predicate on the "order" field.

func OrderNotIn

func OrderNotIn(vs ...int) predicate.WorkflowStageExecution

OrderNotIn applies the NotIn predicate on the "order" field.

func ProjectID

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

func ProjectIDContains

func ProjectIDContains(v object.ID) predicate.WorkflowStageExecution

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

func ProjectIDContainsFold

func ProjectIDContainsFold(v object.ID) predicate.WorkflowStageExecution

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

func ProjectIDEQ

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

func ProjectIDEqualFold

func ProjectIDEqualFold(v object.ID) predicate.WorkflowStageExecution

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

func ProjectIDGT

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

func ProjectIDGTE

func ProjectIDGTE(v object.ID) predicate.WorkflowStageExecution

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

func ProjectIDHasPrefix

func ProjectIDHasPrefix(v object.ID) predicate.WorkflowStageExecution

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

func ProjectIDHasSuffix

func ProjectIDHasSuffix(v object.ID) predicate.WorkflowStageExecution

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

func ProjectIDIn

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

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

func ProjectIDLT

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

func ProjectIDLTE

func ProjectIDLTE(v object.ID) predicate.WorkflowStageExecution

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

func ProjectIDNEQ

func ProjectIDNEQ(v object.ID) predicate.WorkflowStageExecution

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

func ProjectIDNotIn

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

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

func StatusIsNil

func StatusIsNil() predicate.WorkflowStageExecution

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

func StatusNotNil

func StatusNotNil() predicate.WorkflowStageExecution

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

func UpdateTime

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

func UpdateTimeEQ

func UpdateTimeEQ(v time.Time) predicate.WorkflowStageExecution

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

func UpdateTimeGT

func UpdateTimeGT(v time.Time) predicate.WorkflowStageExecution

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

func UpdateTimeGTE

func UpdateTimeGTE(v time.Time) predicate.WorkflowStageExecution

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

func UpdateTimeIn

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

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

func UpdateTimeLT

func UpdateTimeLT(v time.Time) predicate.WorkflowStageExecution

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

func UpdateTimeLTE

func UpdateTimeLTE(v time.Time) predicate.WorkflowStageExecution

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

func UpdateTimeNEQ

func UpdateTimeNEQ(v time.Time) predicate.WorkflowStageExecution

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

func UpdateTimeNotIn

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

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 WithoutFields

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

WithoutFields returns the fields ignored the given list.

func WorkflowExecutionID

func WorkflowExecutionID(v object.ID) predicate.WorkflowStageExecution

WorkflowExecutionID applies equality check predicate on the "workflow_execution_id" field. It's identical to WorkflowExecutionIDEQ.

func WorkflowExecutionIDContains

func WorkflowExecutionIDContains(v object.ID) predicate.WorkflowStageExecution

WorkflowExecutionIDContains applies the Contains predicate on the "workflow_execution_id" field.

func WorkflowExecutionIDContainsFold

func WorkflowExecutionIDContainsFold(v object.ID) predicate.WorkflowStageExecution

WorkflowExecutionIDContainsFold applies the ContainsFold predicate on the "workflow_execution_id" field.

func WorkflowExecutionIDEQ

func WorkflowExecutionIDEQ(v object.ID) predicate.WorkflowStageExecution

WorkflowExecutionIDEQ applies the EQ predicate on the "workflow_execution_id" field.

func WorkflowExecutionIDEqualFold

func WorkflowExecutionIDEqualFold(v object.ID) predicate.WorkflowStageExecution

WorkflowExecutionIDEqualFold applies the EqualFold predicate on the "workflow_execution_id" field.

func WorkflowExecutionIDGT

func WorkflowExecutionIDGT(v object.ID) predicate.WorkflowStageExecution

WorkflowExecutionIDGT applies the GT predicate on the "workflow_execution_id" field.

func WorkflowExecutionIDGTE

func WorkflowExecutionIDGTE(v object.ID) predicate.WorkflowStageExecution

WorkflowExecutionIDGTE applies the GTE predicate on the "workflow_execution_id" field.

func WorkflowExecutionIDHasPrefix

func WorkflowExecutionIDHasPrefix(v object.ID) predicate.WorkflowStageExecution

WorkflowExecutionIDHasPrefix applies the HasPrefix predicate on the "workflow_execution_id" field.

func WorkflowExecutionIDHasSuffix

func WorkflowExecutionIDHasSuffix(v object.ID) predicate.WorkflowStageExecution

WorkflowExecutionIDHasSuffix applies the HasSuffix predicate on the "workflow_execution_id" field.

func WorkflowExecutionIDIn

func WorkflowExecutionIDIn(vs ...object.ID) predicate.WorkflowStageExecution

WorkflowExecutionIDIn applies the In predicate on the "workflow_execution_id" field.

func WorkflowExecutionIDLT

func WorkflowExecutionIDLT(v object.ID) predicate.WorkflowStageExecution

WorkflowExecutionIDLT applies the LT predicate on the "workflow_execution_id" field.

func WorkflowExecutionIDLTE

func WorkflowExecutionIDLTE(v object.ID) predicate.WorkflowStageExecution

WorkflowExecutionIDLTE applies the LTE predicate on the "workflow_execution_id" field.

func WorkflowExecutionIDNEQ

func WorkflowExecutionIDNEQ(v object.ID) predicate.WorkflowStageExecution

WorkflowExecutionIDNEQ applies the NEQ predicate on the "workflow_execution_id" field.

func WorkflowExecutionIDNotIn

func WorkflowExecutionIDNotIn(vs ...object.ID) predicate.WorkflowStageExecution

WorkflowExecutionIDNotIn applies the NotIn predicate on the "workflow_execution_id" field.

func WorkflowID

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

func WorkflowIDContains

func WorkflowIDContains(v object.ID) predicate.WorkflowStageExecution

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

func WorkflowIDContainsFold

func WorkflowIDContainsFold(v object.ID) predicate.WorkflowStageExecution

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

func WorkflowIDEQ

func WorkflowIDEQ(v object.ID) predicate.WorkflowStageExecution

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

func WorkflowIDEqualFold

func WorkflowIDEqualFold(v object.ID) predicate.WorkflowStageExecution

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

func WorkflowIDGT

func WorkflowIDGT(v object.ID) predicate.WorkflowStageExecution

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

func WorkflowIDGTE

func WorkflowIDGTE(v object.ID) predicate.WorkflowStageExecution

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

func WorkflowIDHasPrefix

func WorkflowIDHasPrefix(v object.ID) predicate.WorkflowStageExecution

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

func WorkflowIDHasSuffix

func WorkflowIDHasSuffix(v object.ID) predicate.WorkflowStageExecution

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

func WorkflowIDIn

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

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

func WorkflowIDLT

func WorkflowIDLT(v object.ID) predicate.WorkflowStageExecution

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

func WorkflowIDLTE

func WorkflowIDLTE(v object.ID) predicate.WorkflowStageExecution

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

func WorkflowIDNEQ

func WorkflowIDNEQ(v object.ID) predicate.WorkflowStageExecution

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

func WorkflowIDNotIn

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

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

func WorkflowStageID

func WorkflowStageID(v object.ID) predicate.WorkflowStageExecution

WorkflowStageID applies equality check predicate on the "workflow_stage_id" field. It's identical to WorkflowStageIDEQ.

func WorkflowStageIDContains

func WorkflowStageIDContains(v object.ID) predicate.WorkflowStageExecution

WorkflowStageIDContains applies the Contains predicate on the "workflow_stage_id" field.

func WorkflowStageIDContainsFold

func WorkflowStageIDContainsFold(v object.ID) predicate.WorkflowStageExecution

WorkflowStageIDContainsFold applies the ContainsFold predicate on the "workflow_stage_id" field.

func WorkflowStageIDEQ

func WorkflowStageIDEQ(v object.ID) predicate.WorkflowStageExecution

WorkflowStageIDEQ applies the EQ predicate on the "workflow_stage_id" field.

func WorkflowStageIDEqualFold

func WorkflowStageIDEqualFold(v object.ID) predicate.WorkflowStageExecution

WorkflowStageIDEqualFold applies the EqualFold predicate on the "workflow_stage_id" field.

func WorkflowStageIDGT

func WorkflowStageIDGT(v object.ID) predicate.WorkflowStageExecution

WorkflowStageIDGT applies the GT predicate on the "workflow_stage_id" field.

func WorkflowStageIDGTE

func WorkflowStageIDGTE(v object.ID) predicate.WorkflowStageExecution

WorkflowStageIDGTE applies the GTE predicate on the "workflow_stage_id" field.

func WorkflowStageIDHasPrefix

func WorkflowStageIDHasPrefix(v object.ID) predicate.WorkflowStageExecution

WorkflowStageIDHasPrefix applies the HasPrefix predicate on the "workflow_stage_id" field.

func WorkflowStageIDHasSuffix

func WorkflowStageIDHasSuffix(v object.ID) predicate.WorkflowStageExecution

WorkflowStageIDHasSuffix applies the HasSuffix predicate on the "workflow_stage_id" field.

func WorkflowStageIDIn

func WorkflowStageIDIn(vs ...object.ID) predicate.WorkflowStageExecution

WorkflowStageIDIn applies the In predicate on the "workflow_stage_id" field.

func WorkflowStageIDLT

func WorkflowStageIDLT(v object.ID) predicate.WorkflowStageExecution

WorkflowStageIDLT applies the LT predicate on the "workflow_stage_id" field.

func WorkflowStageIDLTE

func WorkflowStageIDLTE(v object.ID) predicate.WorkflowStageExecution

WorkflowStageIDLTE applies the LTE predicate on the "workflow_stage_id" field.

func WorkflowStageIDNEQ

func WorkflowStageIDNEQ(v object.ID) predicate.WorkflowStageExecution

WorkflowStageIDNEQ applies the NEQ predicate on the "workflow_stage_id" field.

func WorkflowStageIDNotIn

func WorkflowStageIDNotIn(vs ...object.ID) predicate.WorkflowStageExecution

WorkflowStageIDNotIn applies the NotIn predicate on the "workflow_stage_id" field.

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the WorkflowStageExecution 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 ByOrder

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

ByOrder orders the results by the order 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 BySteps

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

BySteps orders the results by steps terms.

func ByStepsCount

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

ByStepsCount orders the results by steps count.

func ByUpdateTime

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

ByUpdateTime orders the results by the update_time field.

func ByWorkflowExecutionField

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

ByWorkflowExecutionField orders the results by workflow_execution field.

func ByWorkflowExecutionID

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

ByWorkflowExecutionID orders the results by the workflow_execution_id field.

func ByWorkflowID

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

ByWorkflowID orders the results by the workflow_id field.

func ByWorkflowStageID

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

ByWorkflowStageID orders the results by the workflow_stage_id field.

Jump to

Keyboard shortcuts

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