workflow

package
v1.42.0 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2026 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the workflow type in the database.
	Label = "workflow"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldSlug holds the string denoting the slug field in the database.
	FieldSlug = "slug"
	// 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"
	// FieldCommand holds the string denoting the command field in the database.
	FieldCommand = "command"
	// FieldTargetDirectory holds the string denoting the target_directory field in the database.
	FieldTargetDirectory = "target_directory"
	// FieldInputTemplate holds the string denoting the input_template field in the database.
	FieldInputTemplate = "input_template"
	// FieldSessionType holds the string denoting the session_type field in the database.
	FieldSessionType = "session_type"
	// FieldModel holds the string denoting the model field in the database.
	FieldModel = "model"
	// FieldAgentType holds the string denoting the agent_type field in the database.
	FieldAgentType = "agent_type"
	// FieldCronExpression holds the string denoting the cron_expression field in the database.
	FieldCronExpression = "cron_expression"
	// FieldCronEnabled holds the string denoting the cron_enabled field in the database.
	FieldCronEnabled = "cron_enabled"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldUpdatedAt holds the string denoting the updated_at field in the database.
	FieldUpdatedAt = "updated_at"
	// FieldKeepSessions holds the string denoting the keep_sessions field in the database.
	FieldKeepSessions = "keep_sessions"
	// FieldArchiveAfterHours holds the string denoting the archive_after_hours field in the database.
	FieldArchiveAfterHours = "archive_after_hours"
	// Table holds the table name of the workflow in the database.
	Table = "workflows"
)

Variables

View Source
var (
	// SlugValidator is a validator for the "slug" field. It is called by the builders before save.
	SlugValidator func(string) error
	// NameValidator is a validator for the "name" field. It is called by the builders before save.
	NameValidator func(string) error
	// CommandValidator is a validator for the "command" field. It is called by the builders before save.
	CommandValidator func(string) error
	// DefaultSessionType holds the default value on creation for the "session_type" field.
	DefaultSessionType string
	// DefaultCronEnabled holds the default value on creation for the "cron_enabled" field.
	DefaultCronEnabled bool
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
	// DefaultUpdatedAt holds the default value on creation for the "updated_at" field.
	DefaultUpdatedAt func() time.Time
	// UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field.
	UpdateDefaultUpdatedAt func() time.Time
	// DefaultKeepSessions holds the default value on creation for the "keep_sessions" field.
	DefaultKeepSessions int
	// DefaultArchiveAfterHours holds the default value on creation for the "archive_after_hours" field.
	DefaultArchiveAfterHours int
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() uuid.UUID
)

Columns holds all SQL columns for workflow fields.

Functions

func AgentType

func AgentType(v string) predicate.Workflow

AgentType applies equality check predicate on the "agent_type" field. It's identical to AgentTypeEQ.

func AgentTypeContains

func AgentTypeContains(v string) predicate.Workflow

AgentTypeContains applies the Contains predicate on the "agent_type" field.

func AgentTypeContainsFold

func AgentTypeContainsFold(v string) predicate.Workflow

AgentTypeContainsFold applies the ContainsFold predicate on the "agent_type" field.

func AgentTypeEQ

func AgentTypeEQ(v string) predicate.Workflow

AgentTypeEQ applies the EQ predicate on the "agent_type" field.

func AgentTypeEqualFold

func AgentTypeEqualFold(v string) predicate.Workflow

AgentTypeEqualFold applies the EqualFold predicate on the "agent_type" field.

func AgentTypeGT

func AgentTypeGT(v string) predicate.Workflow

AgentTypeGT applies the GT predicate on the "agent_type" field.

func AgentTypeGTE

func AgentTypeGTE(v string) predicate.Workflow

AgentTypeGTE applies the GTE predicate on the "agent_type" field.

func AgentTypeHasPrefix

func AgentTypeHasPrefix(v string) predicate.Workflow

AgentTypeHasPrefix applies the HasPrefix predicate on the "agent_type" field.

func AgentTypeHasSuffix

func AgentTypeHasSuffix(v string) predicate.Workflow

AgentTypeHasSuffix applies the HasSuffix predicate on the "agent_type" field.

func AgentTypeIn

func AgentTypeIn(vs ...string) predicate.Workflow

AgentTypeIn applies the In predicate on the "agent_type" field.

func AgentTypeIsNil

func AgentTypeIsNil() predicate.Workflow

AgentTypeIsNil applies the IsNil predicate on the "agent_type" field.

func AgentTypeLT

func AgentTypeLT(v string) predicate.Workflow

AgentTypeLT applies the LT predicate on the "agent_type" field.

func AgentTypeLTE

func AgentTypeLTE(v string) predicate.Workflow

AgentTypeLTE applies the LTE predicate on the "agent_type" field.

func AgentTypeNEQ

func AgentTypeNEQ(v string) predicate.Workflow

AgentTypeNEQ applies the NEQ predicate on the "agent_type" field.

func AgentTypeNotIn

func AgentTypeNotIn(vs ...string) predicate.Workflow

AgentTypeNotIn applies the NotIn predicate on the "agent_type" field.

func AgentTypeNotNil

func AgentTypeNotNil() predicate.Workflow

AgentTypeNotNil applies the NotNil predicate on the "agent_type" field.

func And

func And(predicates ...predicate.Workflow) predicate.Workflow

And groups predicates with the AND operator between them.

func ArchiveAfterHours

func ArchiveAfterHours(v int) predicate.Workflow

ArchiveAfterHours applies equality check predicate on the "archive_after_hours" field. It's identical to ArchiveAfterHoursEQ.

func ArchiveAfterHoursEQ

func ArchiveAfterHoursEQ(v int) predicate.Workflow

ArchiveAfterHoursEQ applies the EQ predicate on the "archive_after_hours" field.

func ArchiveAfterHoursGT

func ArchiveAfterHoursGT(v int) predicate.Workflow

ArchiveAfterHoursGT applies the GT predicate on the "archive_after_hours" field.

func ArchiveAfterHoursGTE

func ArchiveAfterHoursGTE(v int) predicate.Workflow

ArchiveAfterHoursGTE applies the GTE predicate on the "archive_after_hours" field.

func ArchiveAfterHoursIn

func ArchiveAfterHoursIn(vs ...int) predicate.Workflow

ArchiveAfterHoursIn applies the In predicate on the "archive_after_hours" field.

func ArchiveAfterHoursIsNil

func ArchiveAfterHoursIsNil() predicate.Workflow

ArchiveAfterHoursIsNil applies the IsNil predicate on the "archive_after_hours" field.

func ArchiveAfterHoursLT

func ArchiveAfterHoursLT(v int) predicate.Workflow

ArchiveAfterHoursLT applies the LT predicate on the "archive_after_hours" field.

func ArchiveAfterHoursLTE

func ArchiveAfterHoursLTE(v int) predicate.Workflow

ArchiveAfterHoursLTE applies the LTE predicate on the "archive_after_hours" field.

func ArchiveAfterHoursNEQ

func ArchiveAfterHoursNEQ(v int) predicate.Workflow

ArchiveAfterHoursNEQ applies the NEQ predicate on the "archive_after_hours" field.

func ArchiveAfterHoursNotIn

func ArchiveAfterHoursNotIn(vs ...int) predicate.Workflow

ArchiveAfterHoursNotIn applies the NotIn predicate on the "archive_after_hours" field.

func ArchiveAfterHoursNotNil

func ArchiveAfterHoursNotNil() predicate.Workflow

ArchiveAfterHoursNotNil applies the NotNil predicate on the "archive_after_hours" field.

func Command

func Command(v string) predicate.Workflow

Command applies equality check predicate on the "command" field. It's identical to CommandEQ.

func CommandContains

func CommandContains(v string) predicate.Workflow

CommandContains applies the Contains predicate on the "command" field.

func CommandContainsFold

func CommandContainsFold(v string) predicate.Workflow

CommandContainsFold applies the ContainsFold predicate on the "command" field.

func CommandEQ

func CommandEQ(v string) predicate.Workflow

CommandEQ applies the EQ predicate on the "command" field.

func CommandEqualFold

func CommandEqualFold(v string) predicate.Workflow

CommandEqualFold applies the EqualFold predicate on the "command" field.

func CommandGT

func CommandGT(v string) predicate.Workflow

CommandGT applies the GT predicate on the "command" field.

func CommandGTE

func CommandGTE(v string) predicate.Workflow

CommandGTE applies the GTE predicate on the "command" field.

func CommandHasPrefix

func CommandHasPrefix(v string) predicate.Workflow

CommandHasPrefix applies the HasPrefix predicate on the "command" field.

func CommandHasSuffix

func CommandHasSuffix(v string) predicate.Workflow

CommandHasSuffix applies the HasSuffix predicate on the "command" field.

func CommandIn

func CommandIn(vs ...string) predicate.Workflow

CommandIn applies the In predicate on the "command" field.

func CommandLT

func CommandLT(v string) predicate.Workflow

CommandLT applies the LT predicate on the "command" field.

func CommandLTE

func CommandLTE(v string) predicate.Workflow

CommandLTE applies the LTE predicate on the "command" field.

func CommandNEQ

func CommandNEQ(v string) predicate.Workflow

CommandNEQ applies the NEQ predicate on the "command" field.

func CommandNotIn

func CommandNotIn(vs ...string) predicate.Workflow

CommandNotIn applies the NotIn predicate on the "command" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.Workflow

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Workflow

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Workflow

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Workflow

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Workflow

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Workflow

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Workflow

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

func CreatedAtNotIn

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

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

func CronEnabled

func CronEnabled(v bool) predicate.Workflow

CronEnabled applies equality check predicate on the "cron_enabled" field. It's identical to CronEnabledEQ.

func CronEnabledEQ

func CronEnabledEQ(v bool) predicate.Workflow

CronEnabledEQ applies the EQ predicate on the "cron_enabled" field.

func CronEnabledNEQ

func CronEnabledNEQ(v bool) predicate.Workflow

CronEnabledNEQ applies the NEQ predicate on the "cron_enabled" field.

func CronExpression

func CronExpression(v string) predicate.Workflow

CronExpression applies equality check predicate on the "cron_expression" field. It's identical to CronExpressionEQ.

func CronExpressionContains

func CronExpressionContains(v string) predicate.Workflow

CronExpressionContains applies the Contains predicate on the "cron_expression" field.

func CronExpressionContainsFold

func CronExpressionContainsFold(v string) predicate.Workflow

CronExpressionContainsFold applies the ContainsFold predicate on the "cron_expression" field.

func CronExpressionEQ

func CronExpressionEQ(v string) predicate.Workflow

CronExpressionEQ applies the EQ predicate on the "cron_expression" field.

func CronExpressionEqualFold

func CronExpressionEqualFold(v string) predicate.Workflow

CronExpressionEqualFold applies the EqualFold predicate on the "cron_expression" field.

func CronExpressionGT

func CronExpressionGT(v string) predicate.Workflow

CronExpressionGT applies the GT predicate on the "cron_expression" field.

func CronExpressionGTE

func CronExpressionGTE(v string) predicate.Workflow

CronExpressionGTE applies the GTE predicate on the "cron_expression" field.

func CronExpressionHasPrefix

func CronExpressionHasPrefix(v string) predicate.Workflow

CronExpressionHasPrefix applies the HasPrefix predicate on the "cron_expression" field.

func CronExpressionHasSuffix

func CronExpressionHasSuffix(v string) predicate.Workflow

CronExpressionHasSuffix applies the HasSuffix predicate on the "cron_expression" field.

func CronExpressionIn

func CronExpressionIn(vs ...string) predicate.Workflow

CronExpressionIn applies the In predicate on the "cron_expression" field.

func CronExpressionIsNil

func CronExpressionIsNil() predicate.Workflow

CronExpressionIsNil applies the IsNil predicate on the "cron_expression" field.

func CronExpressionLT

func CronExpressionLT(v string) predicate.Workflow

CronExpressionLT applies the LT predicate on the "cron_expression" field.

func CronExpressionLTE

func CronExpressionLTE(v string) predicate.Workflow

CronExpressionLTE applies the LTE predicate on the "cron_expression" field.

func CronExpressionNEQ

func CronExpressionNEQ(v string) predicate.Workflow

CronExpressionNEQ applies the NEQ predicate on the "cron_expression" field.

func CronExpressionNotIn

func CronExpressionNotIn(vs ...string) predicate.Workflow

CronExpressionNotIn applies the NotIn predicate on the "cron_expression" field.

func CronExpressionNotNil

func CronExpressionNotNil() predicate.Workflow

CronExpressionNotNil applies the NotNil predicate on the "cron_expression" field.

func Description

func Description(v string) predicate.Workflow

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

func DescriptionContains

func DescriptionContains(v string) predicate.Workflow

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

func DescriptionContainsFold

func DescriptionContainsFold(v string) predicate.Workflow

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

func DescriptionEQ

func DescriptionEQ(v string) predicate.Workflow

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

func DescriptionEqualFold

func DescriptionEqualFold(v string) predicate.Workflow

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

func DescriptionGT

func DescriptionGT(v string) predicate.Workflow

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

func DescriptionGTE

func DescriptionGTE(v string) predicate.Workflow

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

func DescriptionHasPrefix

func DescriptionHasPrefix(v string) predicate.Workflow

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

func DescriptionHasSuffix

func DescriptionHasSuffix(v string) predicate.Workflow

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

func DescriptionIn

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

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

func DescriptionIsNil

func DescriptionIsNil() predicate.Workflow

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

func DescriptionLT

func DescriptionLT(v string) predicate.Workflow

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

func DescriptionLTE

func DescriptionLTE(v string) predicate.Workflow

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

func DescriptionNEQ

func DescriptionNEQ(v string) predicate.Workflow

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

func DescriptionNotIn

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

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

func DescriptionNotNil

func DescriptionNotNil() predicate.Workflow

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

func ID

func ID(id uuid.UUID) predicate.Workflow

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uuid.UUID) predicate.Workflow

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uuid.UUID) predicate.Workflow

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uuid.UUID) predicate.Workflow

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uuid.UUID) predicate.Workflow

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uuid.UUID) predicate.Workflow

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.Workflow

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.Workflow

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uuid.UUID) predicate.Workflow

IDNotIn applies the NotIn predicate on the ID field.

func InputTemplate

func InputTemplate(v string) predicate.Workflow

InputTemplate applies equality check predicate on the "input_template" field. It's identical to InputTemplateEQ.

func InputTemplateContains

func InputTemplateContains(v string) predicate.Workflow

InputTemplateContains applies the Contains predicate on the "input_template" field.

func InputTemplateContainsFold

func InputTemplateContainsFold(v string) predicate.Workflow

InputTemplateContainsFold applies the ContainsFold predicate on the "input_template" field.

func InputTemplateEQ

func InputTemplateEQ(v string) predicate.Workflow

InputTemplateEQ applies the EQ predicate on the "input_template" field.

func InputTemplateEqualFold

func InputTemplateEqualFold(v string) predicate.Workflow

InputTemplateEqualFold applies the EqualFold predicate on the "input_template" field.

func InputTemplateGT

func InputTemplateGT(v string) predicate.Workflow

InputTemplateGT applies the GT predicate on the "input_template" field.

func InputTemplateGTE

func InputTemplateGTE(v string) predicate.Workflow

InputTemplateGTE applies the GTE predicate on the "input_template" field.

func InputTemplateHasPrefix

func InputTemplateHasPrefix(v string) predicate.Workflow

InputTemplateHasPrefix applies the HasPrefix predicate on the "input_template" field.

func InputTemplateHasSuffix

func InputTemplateHasSuffix(v string) predicate.Workflow

InputTemplateHasSuffix applies the HasSuffix predicate on the "input_template" field.

func InputTemplateIn

func InputTemplateIn(vs ...string) predicate.Workflow

InputTemplateIn applies the In predicate on the "input_template" field.

func InputTemplateIsNil

func InputTemplateIsNil() predicate.Workflow

InputTemplateIsNil applies the IsNil predicate on the "input_template" field.

func InputTemplateLT

func InputTemplateLT(v string) predicate.Workflow

InputTemplateLT applies the LT predicate on the "input_template" field.

func InputTemplateLTE

func InputTemplateLTE(v string) predicate.Workflow

InputTemplateLTE applies the LTE predicate on the "input_template" field.

func InputTemplateNEQ

func InputTemplateNEQ(v string) predicate.Workflow

InputTemplateNEQ applies the NEQ predicate on the "input_template" field.

func InputTemplateNotIn

func InputTemplateNotIn(vs ...string) predicate.Workflow

InputTemplateNotIn applies the NotIn predicate on the "input_template" field.

func InputTemplateNotNil

func InputTemplateNotNil() predicate.Workflow

InputTemplateNotNil applies the NotNil predicate on the "input_template" field.

func KeepSessions

func KeepSessions(v int) predicate.Workflow

KeepSessions applies equality check predicate on the "keep_sessions" field. It's identical to KeepSessionsEQ.

func KeepSessionsEQ

func KeepSessionsEQ(v int) predicate.Workflow

KeepSessionsEQ applies the EQ predicate on the "keep_sessions" field.

func KeepSessionsGT

func KeepSessionsGT(v int) predicate.Workflow

KeepSessionsGT applies the GT predicate on the "keep_sessions" field.

func KeepSessionsGTE

func KeepSessionsGTE(v int) predicate.Workflow

KeepSessionsGTE applies the GTE predicate on the "keep_sessions" field.

func KeepSessionsIn

func KeepSessionsIn(vs ...int) predicate.Workflow

KeepSessionsIn applies the In predicate on the "keep_sessions" field.

func KeepSessionsIsNil

func KeepSessionsIsNil() predicate.Workflow

KeepSessionsIsNil applies the IsNil predicate on the "keep_sessions" field.

func KeepSessionsLT

func KeepSessionsLT(v int) predicate.Workflow

KeepSessionsLT applies the LT predicate on the "keep_sessions" field.

func KeepSessionsLTE

func KeepSessionsLTE(v int) predicate.Workflow

KeepSessionsLTE applies the LTE predicate on the "keep_sessions" field.

func KeepSessionsNEQ

func KeepSessionsNEQ(v int) predicate.Workflow

KeepSessionsNEQ applies the NEQ predicate on the "keep_sessions" field.

func KeepSessionsNotIn

func KeepSessionsNotIn(vs ...int) predicate.Workflow

KeepSessionsNotIn applies the NotIn predicate on the "keep_sessions" field.

func KeepSessionsNotNil

func KeepSessionsNotNil() predicate.Workflow

KeepSessionsNotNil applies the NotNil predicate on the "keep_sessions" field.

func Model

func Model(v string) predicate.Workflow

Model applies equality check predicate on the "model" field. It's identical to ModelEQ.

func ModelContains

func ModelContains(v string) predicate.Workflow

ModelContains applies the Contains predicate on the "model" field.

func ModelContainsFold

func ModelContainsFold(v string) predicate.Workflow

ModelContainsFold applies the ContainsFold predicate on the "model" field.

func ModelEQ

func ModelEQ(v string) predicate.Workflow

ModelEQ applies the EQ predicate on the "model" field.

func ModelEqualFold

func ModelEqualFold(v string) predicate.Workflow

ModelEqualFold applies the EqualFold predicate on the "model" field.

func ModelGT

func ModelGT(v string) predicate.Workflow

ModelGT applies the GT predicate on the "model" field.

func ModelGTE

func ModelGTE(v string) predicate.Workflow

ModelGTE applies the GTE predicate on the "model" field.

func ModelHasPrefix

func ModelHasPrefix(v string) predicate.Workflow

ModelHasPrefix applies the HasPrefix predicate on the "model" field.

func ModelHasSuffix

func ModelHasSuffix(v string) predicate.Workflow

ModelHasSuffix applies the HasSuffix predicate on the "model" field.

func ModelIn

func ModelIn(vs ...string) predicate.Workflow

ModelIn applies the In predicate on the "model" field.

func ModelIsNil

func ModelIsNil() predicate.Workflow

ModelIsNil applies the IsNil predicate on the "model" field.

func ModelLT

func ModelLT(v string) predicate.Workflow

ModelLT applies the LT predicate on the "model" field.

func ModelLTE

func ModelLTE(v string) predicate.Workflow

ModelLTE applies the LTE predicate on the "model" field.

func ModelNEQ

func ModelNEQ(v string) predicate.Workflow

ModelNEQ applies the NEQ predicate on the "model" field.

func ModelNotIn

func ModelNotIn(vs ...string) predicate.Workflow

ModelNotIn applies the NotIn predicate on the "model" field.

func ModelNotNil

func ModelNotNil() predicate.Workflow

ModelNotNil applies the NotNil predicate on the "model" field.

func Name

func Name(v string) predicate.Workflow

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

func NameContains

func NameContains(v string) predicate.Workflow

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

func NameContainsFold

func NameContainsFold(v string) predicate.Workflow

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

func NameEQ

func NameEQ(v string) predicate.Workflow

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

func NameEqualFold

func NameEqualFold(v string) predicate.Workflow

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

func NameGT

func NameGT(v string) predicate.Workflow

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

func NameGTE

func NameGTE(v string) predicate.Workflow

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

func NameHasPrefix

func NameHasPrefix(v string) predicate.Workflow

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

func NameHasSuffix

func NameHasSuffix(v string) predicate.Workflow

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

func NameIn

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

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

func NameLT

func NameLT(v string) predicate.Workflow

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

func NameLTE

func NameLTE(v string) predicate.Workflow

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

func NameNEQ

func NameNEQ(v string) predicate.Workflow

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

func NameNotIn

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

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

Or groups predicates with the OR operator between them.

func SessionType

func SessionType(v string) predicate.Workflow

SessionType applies equality check predicate on the "session_type" field. It's identical to SessionTypeEQ.

func SessionTypeContains

func SessionTypeContains(v string) predicate.Workflow

SessionTypeContains applies the Contains predicate on the "session_type" field.

func SessionTypeContainsFold

func SessionTypeContainsFold(v string) predicate.Workflow

SessionTypeContainsFold applies the ContainsFold predicate on the "session_type" field.

func SessionTypeEQ

func SessionTypeEQ(v string) predicate.Workflow

SessionTypeEQ applies the EQ predicate on the "session_type" field.

func SessionTypeEqualFold

func SessionTypeEqualFold(v string) predicate.Workflow

SessionTypeEqualFold applies the EqualFold predicate on the "session_type" field.

func SessionTypeGT

func SessionTypeGT(v string) predicate.Workflow

SessionTypeGT applies the GT predicate on the "session_type" field.

func SessionTypeGTE

func SessionTypeGTE(v string) predicate.Workflow

SessionTypeGTE applies the GTE predicate on the "session_type" field.

func SessionTypeHasPrefix

func SessionTypeHasPrefix(v string) predicate.Workflow

SessionTypeHasPrefix applies the HasPrefix predicate on the "session_type" field.

func SessionTypeHasSuffix

func SessionTypeHasSuffix(v string) predicate.Workflow

SessionTypeHasSuffix applies the HasSuffix predicate on the "session_type" field.

func SessionTypeIn

func SessionTypeIn(vs ...string) predicate.Workflow

SessionTypeIn applies the In predicate on the "session_type" field.

func SessionTypeIsNil

func SessionTypeIsNil() predicate.Workflow

SessionTypeIsNil applies the IsNil predicate on the "session_type" field.

func SessionTypeLT

func SessionTypeLT(v string) predicate.Workflow

SessionTypeLT applies the LT predicate on the "session_type" field.

func SessionTypeLTE

func SessionTypeLTE(v string) predicate.Workflow

SessionTypeLTE applies the LTE predicate on the "session_type" field.

func SessionTypeNEQ

func SessionTypeNEQ(v string) predicate.Workflow

SessionTypeNEQ applies the NEQ predicate on the "session_type" field.

func SessionTypeNotIn

func SessionTypeNotIn(vs ...string) predicate.Workflow

SessionTypeNotIn applies the NotIn predicate on the "session_type" field.

func SessionTypeNotNil

func SessionTypeNotNil() predicate.Workflow

SessionTypeNotNil applies the NotNil predicate on the "session_type" field.

func Slug

func Slug(v string) predicate.Workflow

Slug applies equality check predicate on the "slug" field. It's identical to SlugEQ.

func SlugContains

func SlugContains(v string) predicate.Workflow

SlugContains applies the Contains predicate on the "slug" field.

func SlugContainsFold

func SlugContainsFold(v string) predicate.Workflow

SlugContainsFold applies the ContainsFold predicate on the "slug" field.

func SlugEQ

func SlugEQ(v string) predicate.Workflow

SlugEQ applies the EQ predicate on the "slug" field.

func SlugEqualFold

func SlugEqualFold(v string) predicate.Workflow

SlugEqualFold applies the EqualFold predicate on the "slug" field.

func SlugGT

func SlugGT(v string) predicate.Workflow

SlugGT applies the GT predicate on the "slug" field.

func SlugGTE

func SlugGTE(v string) predicate.Workflow

SlugGTE applies the GTE predicate on the "slug" field.

func SlugHasPrefix

func SlugHasPrefix(v string) predicate.Workflow

SlugHasPrefix applies the HasPrefix predicate on the "slug" field.

func SlugHasSuffix

func SlugHasSuffix(v string) predicate.Workflow

SlugHasSuffix applies the HasSuffix predicate on the "slug" field.

func SlugIn

func SlugIn(vs ...string) predicate.Workflow

SlugIn applies the In predicate on the "slug" field.

func SlugLT

func SlugLT(v string) predicate.Workflow

SlugLT applies the LT predicate on the "slug" field.

func SlugLTE

func SlugLTE(v string) predicate.Workflow

SlugLTE applies the LTE predicate on the "slug" field.

func SlugNEQ

func SlugNEQ(v string) predicate.Workflow

SlugNEQ applies the NEQ predicate on the "slug" field.

func SlugNotIn

func SlugNotIn(vs ...string) predicate.Workflow

SlugNotIn applies the NotIn predicate on the "slug" field.

func TargetDirectory

func TargetDirectory(v string) predicate.Workflow

TargetDirectory applies equality check predicate on the "target_directory" field. It's identical to TargetDirectoryEQ.

func TargetDirectoryContains

func TargetDirectoryContains(v string) predicate.Workflow

TargetDirectoryContains applies the Contains predicate on the "target_directory" field.

func TargetDirectoryContainsFold

func TargetDirectoryContainsFold(v string) predicate.Workflow

TargetDirectoryContainsFold applies the ContainsFold predicate on the "target_directory" field.

func TargetDirectoryEQ

func TargetDirectoryEQ(v string) predicate.Workflow

TargetDirectoryEQ applies the EQ predicate on the "target_directory" field.

func TargetDirectoryEqualFold

func TargetDirectoryEqualFold(v string) predicate.Workflow

TargetDirectoryEqualFold applies the EqualFold predicate on the "target_directory" field.

func TargetDirectoryGT

func TargetDirectoryGT(v string) predicate.Workflow

TargetDirectoryGT applies the GT predicate on the "target_directory" field.

func TargetDirectoryGTE

func TargetDirectoryGTE(v string) predicate.Workflow

TargetDirectoryGTE applies the GTE predicate on the "target_directory" field.

func TargetDirectoryHasPrefix

func TargetDirectoryHasPrefix(v string) predicate.Workflow

TargetDirectoryHasPrefix applies the HasPrefix predicate on the "target_directory" field.

func TargetDirectoryHasSuffix

func TargetDirectoryHasSuffix(v string) predicate.Workflow

TargetDirectoryHasSuffix applies the HasSuffix predicate on the "target_directory" field.

func TargetDirectoryIn

func TargetDirectoryIn(vs ...string) predicate.Workflow

TargetDirectoryIn applies the In predicate on the "target_directory" field.

func TargetDirectoryIsNil

func TargetDirectoryIsNil() predicate.Workflow

TargetDirectoryIsNil applies the IsNil predicate on the "target_directory" field.

func TargetDirectoryLT

func TargetDirectoryLT(v string) predicate.Workflow

TargetDirectoryLT applies the LT predicate on the "target_directory" field.

func TargetDirectoryLTE

func TargetDirectoryLTE(v string) predicate.Workflow

TargetDirectoryLTE applies the LTE predicate on the "target_directory" field.

func TargetDirectoryNEQ

func TargetDirectoryNEQ(v string) predicate.Workflow

TargetDirectoryNEQ applies the NEQ predicate on the "target_directory" field.

func TargetDirectoryNotIn

func TargetDirectoryNotIn(vs ...string) predicate.Workflow

TargetDirectoryNotIn applies the NotIn predicate on the "target_directory" field.

func TargetDirectoryNotNil

func TargetDirectoryNotNil() predicate.Workflow

TargetDirectoryNotNil applies the NotNil predicate on the "target_directory" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.Workflow

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.Workflow

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.Workflow

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.Workflow

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.Workflow

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.Workflow

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.Workflow

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

func UpdatedAtNotIn

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

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

func ValidColumn

func ValidColumn(column string) bool

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

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the Workflow queries.

func ByAgentType

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

ByAgentType orders the results by the agent_type field.

func ByArchiveAfterHours

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

ByArchiveAfterHours orders the results by the archive_after_hours field.

func ByCommand

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

ByCommand orders the results by the command field.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByCronEnabled

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

ByCronEnabled orders the results by the cron_enabled field.

func ByCronExpression

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

ByCronExpression orders the results by the cron_expression 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 ByInputTemplate

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

ByInputTemplate orders the results by the input_template field.

func ByKeepSessions

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

ByKeepSessions orders the results by the keep_sessions field.

func ByModel

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

ByModel orders the results by the model field.

func ByName

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

ByName orders the results by the name field.

func BySessionType

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

BySessionType orders the results by the session_type field.

func BySlug

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

BySlug orders the results by the slug field.

func ByTargetDirectory

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

ByTargetDirectory orders the results by the target_directory field.

func ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

Jump to

Keyboard shortcuts

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