workflowstep

package
v0.4.0-rc4 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the workflowstep type in the database.
	Label = "workflow_step"
	// 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"
	// FieldType holds the string denoting the type field in the database.
	FieldType = "type"
	// 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"
	// FieldAttributes holds the string denoting the attributes field in the database.
	FieldAttributes = "attributes"
	// FieldInputs holds the string denoting the inputs field in the database.
	FieldInputs = "inputs"
	// FieldOutputs holds the string denoting the outputs field in the database.
	FieldOutputs = "outputs"
	// FieldOrder holds the string denoting the order field in the database.
	FieldOrder = "order"
	// FieldDependencies holds the string denoting the dependencies field in the database.
	FieldDependencies = "dependencies"
	// FieldRetryStrategy holds the string denoting the retrystrategy field in the database.
	FieldRetryStrategy = "retry_strategy"
	// FieldTimeout holds the string denoting the timeout field in the database.
	FieldTimeout = "timeout"
	// EdgeProject holds the string denoting the project edge name in mutations.
	EdgeProject = "project"
	// EdgeStage holds the string denoting the stage edge name in mutations.
	EdgeStage = "stage"
	// Table holds the table name of the workflowstep in the database.
	Table = "workflow_steps"
	// ProjectTable is the table that holds the project relation/edge.
	ProjectTable = "workflow_steps"
	// 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"
	// StageTable is the table that holds the stage relation/edge.
	StageTable = "workflow_steps"
	// StageInverseTable is the table name for the WorkflowStage entity.
	// It exists in this package in order to avoid circular dependency with the "workflowstage" package.
	StageInverseTable = "workflow_stages"
	// StageColumn is the table column denoting the stage relation/edge.
	StageColumn = "workflow_stage_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
	// TypeValidator is a validator for the "type" field. It is called by the builders before save.
	TypeValidator func(string) error
	// 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
	// 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
	// DefaultDependencies holds the default value on creation for the "dependencies" field.
	DefaultDependencies []object.ID
	// 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
)

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

Functions

func And

func And(predicates ...predicate.WorkflowStep) predicate.WorkflowStep

And groups predicates with the AND operator between them.

func AnnotationsIsNil

func AnnotationsIsNil() predicate.WorkflowStep

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

func AnnotationsNotNil

func AnnotationsNotNil() predicate.WorkflowStep

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

func AttributesIsNil

func AttributesIsNil() predicate.WorkflowStep

AttributesIsNil applies the IsNil predicate on the "attributes" field.

func AttributesNotNil

func AttributesNotNil() predicate.WorkflowStep

AttributesNotNil applies the NotNil predicate on the "attributes" field.

func CreateTime

func CreateTime(v time.Time) predicate.WorkflowStep

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

func CreateTimeEQ

func CreateTimeEQ(v time.Time) predicate.WorkflowStep

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

func CreateTimeGT

func CreateTimeGT(v time.Time) predicate.WorkflowStep

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

func CreateTimeGTE

func CreateTimeGTE(v time.Time) predicate.WorkflowStep

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

func CreateTimeIn

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

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

func CreateTimeLT

func CreateTimeLT(v time.Time) predicate.WorkflowStep

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

func CreateTimeLTE

func CreateTimeLTE(v time.Time) predicate.WorkflowStep

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

func CreateTimeNEQ

func CreateTimeNEQ(v time.Time) predicate.WorkflowStep

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

func CreateTimeNotIn

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

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

func Description

func Description(v string) predicate.WorkflowStep

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

func DescriptionContains

func DescriptionContains(v string) predicate.WorkflowStep

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

func DescriptionContainsFold

func DescriptionContainsFold(v string) predicate.WorkflowStep

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

func DescriptionEQ

func DescriptionEQ(v string) predicate.WorkflowStep

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

func DescriptionEqualFold

func DescriptionEqualFold(v string) predicate.WorkflowStep

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

func DescriptionGT

func DescriptionGT(v string) predicate.WorkflowStep

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

func DescriptionGTE

func DescriptionGTE(v string) predicate.WorkflowStep

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

func DescriptionHasPrefix

func DescriptionHasPrefix(v string) predicate.WorkflowStep

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

func DescriptionHasSuffix

func DescriptionHasSuffix(v string) predicate.WorkflowStep

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

func DescriptionIn

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

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

func DescriptionIsNil

func DescriptionIsNil() predicate.WorkflowStep

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

func DescriptionLT

func DescriptionLT(v string) predicate.WorkflowStep

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

func DescriptionLTE

func DescriptionLTE(v string) predicate.WorkflowStep

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

func DescriptionNEQ

func DescriptionNEQ(v string) predicate.WorkflowStep

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

func DescriptionNotIn

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

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

func DescriptionNotNil

func DescriptionNotNil() predicate.WorkflowStep

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

func HasProject

func HasProject() predicate.WorkflowStep

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

func HasProjectWith

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

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

func HasStage

func HasStage() predicate.WorkflowStep

HasStage applies the HasEdge predicate on the "stage" edge.

func HasStageWith

func HasStageWith(preds ...predicate.WorkflowStage) predicate.WorkflowStep

HasStageWith applies the HasEdge predicate on the "stage" 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

func IDGTE(id object.ID) predicate.WorkflowStep

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id object.ID) predicate.WorkflowStep

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id object.ID) predicate.WorkflowStep

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func InputsIsNil

func InputsIsNil() predicate.WorkflowStep

InputsIsNil applies the IsNil predicate on the "inputs" field.

func InputsNotNil

func InputsNotNil() predicate.WorkflowStep

InputsNotNil applies the NotNil predicate on the "inputs" field.

func LabelsIsNil

func LabelsIsNil() predicate.WorkflowStep

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

func LabelsNotNil

func LabelsNotNil() predicate.WorkflowStep

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

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

func NameContainsFold

func NameContainsFold(v string) predicate.WorkflowStep

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

func NameEQ

func NameEQ(v string) predicate.WorkflowStep

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

func NameEqualFold

func NameEqualFold(v string) predicate.WorkflowStep

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

func NameGT

func NameGT(v string) predicate.WorkflowStep

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

func NameGTE

func NameGTE(v string) predicate.WorkflowStep

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

func NameHasPrefix

func NameHasPrefix(v string) predicate.WorkflowStep

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

func NameHasSuffix

func NameHasSuffix(v string) predicate.WorkflowStep

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

func NameIn

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

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

func NameLT

func NameLT(v string) predicate.WorkflowStep

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

func NameLTE

func NameLTE(v string) predicate.WorkflowStep

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

func NameNEQ

func NameNEQ(v string) predicate.WorkflowStep

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

func NameNotIn

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

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

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.WorkflowStep) predicate.WorkflowStep

Or groups predicates with the OR operator between them.

func Order

func Order(v int) predicate.WorkflowStep

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

func OrderEQ

func OrderEQ(v int) predicate.WorkflowStep

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

func OrderGT

func OrderGT(v int) predicate.WorkflowStep

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

func OrderGTE

func OrderGTE(v int) predicate.WorkflowStep

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

func OrderIn

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

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

func OrderLT

func OrderLT(v int) predicate.WorkflowStep

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

func OrderLTE

func OrderLTE(v int) predicate.WorkflowStep

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

func OrderNEQ

func OrderNEQ(v int) predicate.WorkflowStep

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

func OrderNotIn

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

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

func OutputsIsNil

func OutputsIsNil() predicate.WorkflowStep

OutputsIsNil applies the IsNil predicate on the "outputs" field.

func OutputsNotNil

func OutputsNotNil() predicate.WorkflowStep

OutputsNotNil applies the NotNil predicate on the "outputs" field.

func ProjectID

func ProjectID(v object.ID) predicate.WorkflowStep

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

func ProjectIDContains

func ProjectIDContains(v object.ID) predicate.WorkflowStep

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

func ProjectIDContainsFold

func ProjectIDContainsFold(v object.ID) predicate.WorkflowStep

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

func ProjectIDEQ

func ProjectIDEQ(v object.ID) predicate.WorkflowStep

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

func ProjectIDEqualFold

func ProjectIDEqualFold(v object.ID) predicate.WorkflowStep

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

func ProjectIDGT

func ProjectIDGT(v object.ID) predicate.WorkflowStep

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

func ProjectIDGTE

func ProjectIDGTE(v object.ID) predicate.WorkflowStep

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

func ProjectIDHasPrefix

func ProjectIDHasPrefix(v object.ID) predicate.WorkflowStep

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

func ProjectIDHasSuffix

func ProjectIDHasSuffix(v object.ID) predicate.WorkflowStep

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

func ProjectIDIn

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

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

func ProjectIDLT

func ProjectIDLT(v object.ID) predicate.WorkflowStep

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

func ProjectIDLTE

func ProjectIDLTE(v object.ID) predicate.WorkflowStep

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

func ProjectIDNEQ

func ProjectIDNEQ(v object.ID) predicate.WorkflowStep

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

func ProjectIDNotIn

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

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

func RetryStrategyIsNil

func RetryStrategyIsNil() predicate.WorkflowStep

RetryStrategyIsNil applies the IsNil predicate on the "retryStrategy" field.

func RetryStrategyNotNil

func RetryStrategyNotNil() predicate.WorkflowStep

RetryStrategyNotNil applies the NotNil predicate on the "retryStrategy" field.

func Timeout

func Timeout(v int) predicate.WorkflowStep

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

func TimeoutEQ

func TimeoutEQ(v int) predicate.WorkflowStep

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

func TimeoutGT

func TimeoutGT(v int) predicate.WorkflowStep

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

func TimeoutGTE

func TimeoutGTE(v int) predicate.WorkflowStep

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

func TimeoutIn

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

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

func TimeoutLT

func TimeoutLT(v int) predicate.WorkflowStep

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

func TimeoutLTE

func TimeoutLTE(v int) predicate.WorkflowStep

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

func TimeoutNEQ

func TimeoutNEQ(v int) predicate.WorkflowStep

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

func TimeoutNotIn

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

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

func Type

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

func TypeContains

func TypeContains(v string) predicate.WorkflowStep

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

func TypeContainsFold

func TypeContainsFold(v string) predicate.WorkflowStep

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

func TypeEQ

func TypeEQ(v string) predicate.WorkflowStep

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

func TypeEqualFold

func TypeEqualFold(v string) predicate.WorkflowStep

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

func TypeGT

func TypeGT(v string) predicate.WorkflowStep

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

func TypeGTE

func TypeGTE(v string) predicate.WorkflowStep

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

func TypeHasPrefix

func TypeHasPrefix(v string) predicate.WorkflowStep

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

func TypeHasSuffix

func TypeHasSuffix(v string) predicate.WorkflowStep

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

func TypeIn

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

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

func TypeLT

func TypeLT(v string) predicate.WorkflowStep

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

func TypeLTE

func TypeLTE(v string) predicate.WorkflowStep

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

func TypeNEQ

func TypeNEQ(v string) predicate.WorkflowStep

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

func TypeNotIn

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

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

func UpdateTime

func UpdateTime(v time.Time) predicate.WorkflowStep

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

func UpdateTimeEQ

func UpdateTimeEQ(v time.Time) predicate.WorkflowStep

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

func UpdateTimeGT

func UpdateTimeGT(v time.Time) predicate.WorkflowStep

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

func UpdateTimeGTE

func UpdateTimeGTE(v time.Time) predicate.WorkflowStep

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

func UpdateTimeIn

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

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

func UpdateTimeLT

func UpdateTimeLT(v time.Time) predicate.WorkflowStep

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

func UpdateTimeLTE

func UpdateTimeLTE(v time.Time) predicate.WorkflowStep

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

func UpdateTimeNEQ

func UpdateTimeNEQ(v time.Time) predicate.WorkflowStep

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

func UpdateTimeNotIn

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

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 WorkflowID

func WorkflowID(v object.ID) predicate.WorkflowStep

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

func WorkflowIDContains

func WorkflowIDContains(v object.ID) predicate.WorkflowStep

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

func WorkflowIDContainsFold

func WorkflowIDContainsFold(v object.ID) predicate.WorkflowStep

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

func WorkflowIDEQ

func WorkflowIDEQ(v object.ID) predicate.WorkflowStep

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

func WorkflowIDEqualFold

func WorkflowIDEqualFold(v object.ID) predicate.WorkflowStep

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

func WorkflowIDGT

func WorkflowIDGT(v object.ID) predicate.WorkflowStep

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

func WorkflowIDGTE

func WorkflowIDGTE(v object.ID) predicate.WorkflowStep

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

func WorkflowIDHasPrefix

func WorkflowIDHasPrefix(v object.ID) predicate.WorkflowStep

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

func WorkflowIDHasSuffix

func WorkflowIDHasSuffix(v object.ID) predicate.WorkflowStep

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

func WorkflowIDIn

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

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

func WorkflowIDLT

func WorkflowIDLT(v object.ID) predicate.WorkflowStep

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

func WorkflowIDLTE

func WorkflowIDLTE(v object.ID) predicate.WorkflowStep

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

func WorkflowIDNEQ

func WorkflowIDNEQ(v object.ID) predicate.WorkflowStep

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

func WorkflowIDNotIn

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

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

func WorkflowStageID

func WorkflowStageID(v object.ID) predicate.WorkflowStep

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

func WorkflowStageIDContains

func WorkflowStageIDContains(v object.ID) predicate.WorkflowStep

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

func WorkflowStageIDContainsFold

func WorkflowStageIDContainsFold(v object.ID) predicate.WorkflowStep

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

func WorkflowStageIDEQ

func WorkflowStageIDEQ(v object.ID) predicate.WorkflowStep

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

func WorkflowStageIDEqualFold

func WorkflowStageIDEqualFold(v object.ID) predicate.WorkflowStep

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

func WorkflowStageIDGT

func WorkflowStageIDGT(v object.ID) predicate.WorkflowStep

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

func WorkflowStageIDGTE

func WorkflowStageIDGTE(v object.ID) predicate.WorkflowStep

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

func WorkflowStageIDHasPrefix

func WorkflowStageIDHasPrefix(v object.ID) predicate.WorkflowStep

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

func WorkflowStageIDHasSuffix

func WorkflowStageIDHasSuffix(v object.ID) predicate.WorkflowStep

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

func WorkflowStageIDIn

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

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

func WorkflowStageIDLT

func WorkflowStageIDLT(v object.ID) predicate.WorkflowStep

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

func WorkflowStageIDLTE

func WorkflowStageIDLTE(v object.ID) predicate.WorkflowStep

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

func WorkflowStageIDNEQ

func WorkflowStageIDNEQ(v object.ID) predicate.WorkflowStep

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

func WorkflowStageIDNotIn

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

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 WorkflowStep 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 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 ByStageField

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

ByStageField orders the results by stage field.

func ByTimeout

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

ByTimeout orders the results by the timeout 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 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