workflow

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TypeCoding        = "coding"
	TypeTest          = "test"
	TypeDoc           = "doc"
	TypeSecurity      = "security"
	TypeDeploy        = "deploy"
	TypeRefineHarness = "refine-harness"
	TypeCustom        = "custom"
)
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"
	// FieldProjectID holds the string denoting the project_id field in the database.
	FieldProjectID = "project_id"
	// FieldAgentID holds the string denoting the agent_id field in the database.
	FieldAgentID = "agent_id"
	// FieldCurrentVersionID holds the string denoting the current_version_id field in the database.
	FieldCurrentVersionID = "current_version_id"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldType holds the string denoting the type field in the database.
	FieldType = "type"
	// FieldRoleSlug holds the string denoting the role_slug field in the database.
	FieldRoleSlug = "role_slug"
	// FieldRoleName holds the string denoting the role_name field in the database.
	FieldRoleName = "role_name"
	// FieldRoleDescription holds the string denoting the role_description field in the database.
	FieldRoleDescription = "role_description"
	// FieldPlatformAccessAllowed holds the string denoting the platform_access_allowed field in the database.
	FieldPlatformAccessAllowed = "platform_access_allowed"
	// FieldHarnessPath holds the string denoting the harness_path field in the database.
	FieldHarnessPath = "harness_path"
	// FieldHooks holds the string denoting the hooks field in the database.
	FieldHooks = "hooks"
	// FieldMaxConcurrent holds the string denoting the max_concurrent field in the database.
	FieldMaxConcurrent = "max_concurrent"
	// FieldMaxRetryAttempts holds the string denoting the max_retry_attempts field in the database.
	FieldMaxRetryAttempts = "max_retry_attempts"
	// FieldTimeoutMinutes holds the string denoting the timeout_minutes field in the database.
	FieldTimeoutMinutes = "timeout_minutes"
	// FieldStallTimeoutMinutes holds the string denoting the stall_timeout_minutes field in the database.
	FieldStallTimeoutMinutes = "stall_timeout_minutes"
	// FieldVersion holds the string denoting the version field in the database.
	FieldVersion = "version"
	// FieldIsActive holds the string denoting the is_active field in the database.
	FieldIsActive = "is_active"
	// EdgeProject holds the string denoting the project edge name in mutations.
	EdgeProject = "project"
	// EdgeAgent holds the string denoting the agent edge name in mutations.
	EdgeAgent = "agent"
	// EdgeCurrentVersion holds the string denoting the current_version edge name in mutations.
	EdgeCurrentVersion = "current_version"
	// EdgeVersions holds the string denoting the versions edge name in mutations.
	EdgeVersions = "versions"
	// EdgeSkillBindings holds the string denoting the skill_bindings edge name in mutations.
	EdgeSkillBindings = "skill_bindings"
	// EdgePickupStatuses holds the string denoting the pickup_statuses edge name in mutations.
	EdgePickupStatuses = "pickup_statuses"
	// EdgeFinishStatuses holds the string denoting the finish_statuses edge name in mutations.
	EdgeFinishStatuses = "finish_statuses"
	// EdgeTickets holds the string denoting the tickets edge name in mutations.
	EdgeTickets = "tickets"
	// EdgeAgentRuns holds the string denoting the agent_runs edge name in mutations.
	EdgeAgentRuns = "agent_runs"
	// EdgeScheduledJobs holds the string denoting the scheduled_jobs edge name in mutations.
	EdgeScheduledJobs = "scheduled_jobs"
	// Table holds the table name of the workflow in the database.
	Table = "workflows"
	// ProjectTable is the table that holds the project relation/edge.
	ProjectTable = "workflows"
	// 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"
	// AgentTable is the table that holds the agent relation/edge.
	AgentTable = "workflows"
	// AgentInverseTable is the table name for the Agent entity.
	// It exists in this package in order to avoid circular dependency with the "agent" package.
	AgentInverseTable = "agents"
	// AgentColumn is the table column denoting the agent relation/edge.
	AgentColumn = "agent_id"
	// CurrentVersionTable is the table that holds the current_version relation/edge.
	CurrentVersionTable = "workflows"
	// CurrentVersionInverseTable is the table name for the WorkflowVersion entity.
	// It exists in this package in order to avoid circular dependency with the "workflowversion" package.
	CurrentVersionInverseTable = "workflow_versions"
	// CurrentVersionColumn is the table column denoting the current_version relation/edge.
	CurrentVersionColumn = "current_version_id"
	// VersionsTable is the table that holds the versions relation/edge.
	VersionsTable = "workflow_versions"
	// VersionsInverseTable is the table name for the WorkflowVersion entity.
	// It exists in this package in order to avoid circular dependency with the "workflowversion" package.
	VersionsInverseTable = "workflow_versions"
	// VersionsColumn is the table column denoting the versions relation/edge.
	VersionsColumn = "workflow_id"
	// SkillBindingsTable is the table that holds the skill_bindings relation/edge.
	SkillBindingsTable = "workflow_skill_bindings"
	// SkillBindingsInverseTable is the table name for the WorkflowSkillBinding entity.
	// It exists in this package in order to avoid circular dependency with the "workflowskillbinding" package.
	SkillBindingsInverseTable = "workflow_skill_bindings"
	// SkillBindingsColumn is the table column denoting the skill_bindings relation/edge.
	SkillBindingsColumn = "workflow_id"
	// PickupStatusesTable is the table that holds the pickup_statuses relation/edge. The primary key declared below.
	PickupStatusesTable = "workflow_pickup_statuses"
	// PickupStatusesInverseTable is the table name for the TicketStatus entity.
	// It exists in this package in order to avoid circular dependency with the "ticketstatus" package.
	PickupStatusesInverseTable = "ticket_status"
	// FinishStatusesTable is the table that holds the finish_statuses relation/edge. The primary key declared below.
	FinishStatusesTable = "workflow_finish_statuses"
	// FinishStatusesInverseTable is the table name for the TicketStatus entity.
	// It exists in this package in order to avoid circular dependency with the "ticketstatus" package.
	FinishStatusesInverseTable = "ticket_status"
	// TicketsTable is the table that holds the tickets relation/edge.
	TicketsTable = "tickets"
	// TicketsInverseTable is the table name for the Ticket entity.
	// It exists in this package in order to avoid circular dependency with the "ticket" package.
	TicketsInverseTable = "tickets"
	// TicketsColumn is the table column denoting the tickets relation/edge.
	TicketsColumn = "workflow_id"
	// AgentRunsTable is the table that holds the agent_runs relation/edge.
	AgentRunsTable = "agent_runs"
	// AgentRunsInverseTable is the table name for the AgentRun entity.
	// It exists in this package in order to avoid circular dependency with the "agentrun" package.
	AgentRunsInverseTable = "agent_runs"
	// AgentRunsColumn is the table column denoting the agent_runs relation/edge.
	AgentRunsColumn = "workflow_id"
	// ScheduledJobsTable is the table that holds the scheduled_jobs relation/edge.
	ScheduledJobsTable = "scheduled_jobs"
	// ScheduledJobsInverseTable is the table name for the ScheduledJob entity.
	// It exists in this package in order to avoid circular dependency with the "scheduledjob" package.
	ScheduledJobsInverseTable = "scheduled_jobs"
	// ScheduledJobsColumn is the table column denoting the scheduled_jobs relation/edge.
	ScheduledJobsColumn = "workflow_id"
)

Variables

View Source
var (
	// PickupStatusesPrimaryKey and PickupStatusesColumn2 are the table columns denoting the
	// primary key for the pickup_statuses relation (M2M).
	PickupStatusesPrimaryKey = []string{"workflow_id", "ticket_status_id"}
	// FinishStatusesPrimaryKey and FinishStatusesColumn2 are the table columns denoting the
	// primary key for the finish_statuses relation (M2M).
	FinishStatusesPrimaryKey = []string{"workflow_id", "ticket_status_id"}
)
View Source
var (
	// NameValidator is a validator for the "name" field. It is called by the builders before save.
	NameValidator func(string) error
	// TypeValidator is a validator for the "type" field. It is called by the builders before save.
	TypeValidator func(string) error
	// HarnessPathValidator is a validator for the "harness_path" field. It is called by the builders before save.
	HarnessPathValidator func(string) error
	// DefaultHooks holds the default value on creation for the "hooks" field.
	DefaultHooks func() map[string]interface{}
	// DefaultMaxConcurrent holds the default value on creation for the "max_concurrent" field.
	DefaultMaxConcurrent int
	// DefaultMaxRetryAttempts holds the default value on creation for the "max_retry_attempts" field.
	DefaultMaxRetryAttempts int
	// DefaultTimeoutMinutes holds the default value on creation for the "timeout_minutes" field.
	DefaultTimeoutMinutes int
	// DefaultStallTimeoutMinutes holds the default value on creation for the "stall_timeout_minutes" field.
	DefaultStallTimeoutMinutes int
	// DefaultVersion holds the default value on creation for the "version" field.
	DefaultVersion int
	// DefaultIsActive holds the default value on creation for the "is_active" field.
	DefaultIsActive bool
	// 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 AgentID

func AgentID(v uuid.UUID) predicate.Workflow

AgentID applies equality check predicate on the "agent_id" field. It's identical to AgentIDEQ.

func AgentIDEQ

func AgentIDEQ(v uuid.UUID) predicate.Workflow

AgentIDEQ applies the EQ predicate on the "agent_id" field.

func AgentIDIn

func AgentIDIn(vs ...uuid.UUID) predicate.Workflow

AgentIDIn applies the In predicate on the "agent_id" field.

func AgentIDIsNil

func AgentIDIsNil() predicate.Workflow

AgentIDIsNil applies the IsNil predicate on the "agent_id" field.

func AgentIDNEQ

func AgentIDNEQ(v uuid.UUID) predicate.Workflow

AgentIDNEQ applies the NEQ predicate on the "agent_id" field.

func AgentIDNotIn

func AgentIDNotIn(vs ...uuid.UUID) predicate.Workflow

AgentIDNotIn applies the NotIn predicate on the "agent_id" field.

func AgentIDNotNil

func AgentIDNotNil() predicate.Workflow

AgentIDNotNil applies the NotNil predicate on the "agent_id" field.

func And

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

And groups predicates with the AND operator between them.

func CurrentVersionID

func CurrentVersionID(v uuid.UUID) predicate.Workflow

CurrentVersionID applies equality check predicate on the "current_version_id" field. It's identical to CurrentVersionIDEQ.

func CurrentVersionIDEQ

func CurrentVersionIDEQ(v uuid.UUID) predicate.Workflow

CurrentVersionIDEQ applies the EQ predicate on the "current_version_id" field.

func CurrentVersionIDIn

func CurrentVersionIDIn(vs ...uuid.UUID) predicate.Workflow

CurrentVersionIDIn applies the In predicate on the "current_version_id" field.

func CurrentVersionIDIsNil

func CurrentVersionIDIsNil() predicate.Workflow

CurrentVersionIDIsNil applies the IsNil predicate on the "current_version_id" field.

func CurrentVersionIDNEQ

func CurrentVersionIDNEQ(v uuid.UUID) predicate.Workflow

CurrentVersionIDNEQ applies the NEQ predicate on the "current_version_id" field.

func CurrentVersionIDNotIn

func CurrentVersionIDNotIn(vs ...uuid.UUID) predicate.Workflow

CurrentVersionIDNotIn applies the NotIn predicate on the "current_version_id" field.

func CurrentVersionIDNotNil

func CurrentVersionIDNotNil() predicate.Workflow

CurrentVersionIDNotNil applies the NotNil predicate on the "current_version_id" field.

func HarnessPath

func HarnessPath(v string) predicate.Workflow

HarnessPath applies equality check predicate on the "harness_path" field. It's identical to HarnessPathEQ.

func HarnessPathContains

func HarnessPathContains(v string) predicate.Workflow

HarnessPathContains applies the Contains predicate on the "harness_path" field.

func HarnessPathContainsFold

func HarnessPathContainsFold(v string) predicate.Workflow

HarnessPathContainsFold applies the ContainsFold predicate on the "harness_path" field.

func HarnessPathEQ

func HarnessPathEQ(v string) predicate.Workflow

HarnessPathEQ applies the EQ predicate on the "harness_path" field.

func HarnessPathEqualFold

func HarnessPathEqualFold(v string) predicate.Workflow

HarnessPathEqualFold applies the EqualFold predicate on the "harness_path" field.

func HarnessPathGT

func HarnessPathGT(v string) predicate.Workflow

HarnessPathGT applies the GT predicate on the "harness_path" field.

func HarnessPathGTE

func HarnessPathGTE(v string) predicate.Workflow

HarnessPathGTE applies the GTE predicate on the "harness_path" field.

func HarnessPathHasPrefix

func HarnessPathHasPrefix(v string) predicate.Workflow

HarnessPathHasPrefix applies the HasPrefix predicate on the "harness_path" field.

func HarnessPathHasSuffix

func HarnessPathHasSuffix(v string) predicate.Workflow

HarnessPathHasSuffix applies the HasSuffix predicate on the "harness_path" field.

func HarnessPathIn

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

HarnessPathIn applies the In predicate on the "harness_path" field.

func HarnessPathLT

func HarnessPathLT(v string) predicate.Workflow

HarnessPathLT applies the LT predicate on the "harness_path" field.

func HarnessPathLTE

func HarnessPathLTE(v string) predicate.Workflow

HarnessPathLTE applies the LTE predicate on the "harness_path" field.

func HarnessPathNEQ

func HarnessPathNEQ(v string) predicate.Workflow

HarnessPathNEQ applies the NEQ predicate on the "harness_path" field.

func HarnessPathNotIn

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

HarnessPathNotIn applies the NotIn predicate on the "harness_path" field.

func HasAgent

func HasAgent() predicate.Workflow

HasAgent applies the HasEdge predicate on the "agent" edge.

func HasAgentRuns

func HasAgentRuns() predicate.Workflow

HasAgentRuns applies the HasEdge predicate on the "agent_runs" edge.

func HasAgentRunsWith

func HasAgentRunsWith(preds ...predicate.AgentRun) predicate.Workflow

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

func HasAgentWith

func HasAgentWith(preds ...predicate.Agent) predicate.Workflow

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

func HasCurrentVersion

func HasCurrentVersion() predicate.Workflow

HasCurrentVersion applies the HasEdge predicate on the "current_version" edge.

func HasCurrentVersionWith

func HasCurrentVersionWith(preds ...predicate.WorkflowVersion) predicate.Workflow

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

func HasFinishStatuses

func HasFinishStatuses() predicate.Workflow

HasFinishStatuses applies the HasEdge predicate on the "finish_statuses" edge.

func HasFinishStatusesWith

func HasFinishStatusesWith(preds ...predicate.TicketStatus) predicate.Workflow

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

func HasPickupStatuses

func HasPickupStatuses() predicate.Workflow

HasPickupStatuses applies the HasEdge predicate on the "pickup_statuses" edge.

func HasPickupStatusesWith

func HasPickupStatusesWith(preds ...predicate.TicketStatus) predicate.Workflow

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

func HasProject

func HasProject() predicate.Workflow

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

func HasProjectWith

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

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

func HasScheduledJobs

func HasScheduledJobs() predicate.Workflow

HasScheduledJobs applies the HasEdge predicate on the "scheduled_jobs" edge.

func HasScheduledJobsWith

func HasScheduledJobsWith(preds ...predicate.ScheduledJob) predicate.Workflow

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

func HasSkillBindings

func HasSkillBindings() predicate.Workflow

HasSkillBindings applies the HasEdge predicate on the "skill_bindings" edge.

func HasSkillBindingsWith

func HasSkillBindingsWith(preds ...predicate.WorkflowSkillBinding) predicate.Workflow

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

func HasTickets

func HasTickets() predicate.Workflow

HasTickets applies the HasEdge predicate on the "tickets" edge.

func HasTicketsWith

func HasTicketsWith(preds ...predicate.Ticket) predicate.Workflow

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

func HasVersions

func HasVersions() predicate.Workflow

HasVersions applies the HasEdge predicate on the "versions" edge.

func HasVersionsWith

func HasVersionsWith(preds ...predicate.WorkflowVersion) predicate.Workflow

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

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 IsActive

func IsActive(v bool) predicate.Workflow

IsActive applies equality check predicate on the "is_active" field. It's identical to IsActiveEQ.

func IsActiveEQ

func IsActiveEQ(v bool) predicate.Workflow

IsActiveEQ applies the EQ predicate on the "is_active" field.

func IsActiveNEQ

func IsActiveNEQ(v bool) predicate.Workflow

IsActiveNEQ applies the NEQ predicate on the "is_active" field.

func MaxConcurrent

func MaxConcurrent(v int) predicate.Workflow

MaxConcurrent applies equality check predicate on the "max_concurrent" field. It's identical to MaxConcurrentEQ.

func MaxConcurrentEQ

func MaxConcurrentEQ(v int) predicate.Workflow

MaxConcurrentEQ applies the EQ predicate on the "max_concurrent" field.

func MaxConcurrentGT

func MaxConcurrentGT(v int) predicate.Workflow

MaxConcurrentGT applies the GT predicate on the "max_concurrent" field.

func MaxConcurrentGTE

func MaxConcurrentGTE(v int) predicate.Workflow

MaxConcurrentGTE applies the GTE predicate on the "max_concurrent" field.

func MaxConcurrentIn

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

MaxConcurrentIn applies the In predicate on the "max_concurrent" field.

func MaxConcurrentLT

func MaxConcurrentLT(v int) predicate.Workflow

MaxConcurrentLT applies the LT predicate on the "max_concurrent" field.

func MaxConcurrentLTE

func MaxConcurrentLTE(v int) predicate.Workflow

MaxConcurrentLTE applies the LTE predicate on the "max_concurrent" field.

func MaxConcurrentNEQ

func MaxConcurrentNEQ(v int) predicate.Workflow

MaxConcurrentNEQ applies the NEQ predicate on the "max_concurrent" field.

func MaxConcurrentNotIn

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

MaxConcurrentNotIn applies the NotIn predicate on the "max_concurrent" field.

func MaxRetryAttempts

func MaxRetryAttempts(v int) predicate.Workflow

MaxRetryAttempts applies equality check predicate on the "max_retry_attempts" field. It's identical to MaxRetryAttemptsEQ.

func MaxRetryAttemptsEQ

func MaxRetryAttemptsEQ(v int) predicate.Workflow

MaxRetryAttemptsEQ applies the EQ predicate on the "max_retry_attempts" field.

func MaxRetryAttemptsGT

func MaxRetryAttemptsGT(v int) predicate.Workflow

MaxRetryAttemptsGT applies the GT predicate on the "max_retry_attempts" field.

func MaxRetryAttemptsGTE

func MaxRetryAttemptsGTE(v int) predicate.Workflow

MaxRetryAttemptsGTE applies the GTE predicate on the "max_retry_attempts" field.

func MaxRetryAttemptsIn

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

MaxRetryAttemptsIn applies the In predicate on the "max_retry_attempts" field.

func MaxRetryAttemptsLT

func MaxRetryAttemptsLT(v int) predicate.Workflow

MaxRetryAttemptsLT applies the LT predicate on the "max_retry_attempts" field.

func MaxRetryAttemptsLTE

func MaxRetryAttemptsLTE(v int) predicate.Workflow

MaxRetryAttemptsLTE applies the LTE predicate on the "max_retry_attempts" field.

func MaxRetryAttemptsNEQ

func MaxRetryAttemptsNEQ(v int) predicate.Workflow

MaxRetryAttemptsNEQ applies the NEQ predicate on the "max_retry_attempts" field.

func MaxRetryAttemptsNotIn

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

MaxRetryAttemptsNotIn applies the NotIn predicate on the "max_retry_attempts" 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 PlatformAccessAllowed

func PlatformAccessAllowed(v pgarray.StringArray) predicate.Workflow

PlatformAccessAllowed applies equality check predicate on the "platform_access_allowed" field. It's identical to PlatformAccessAllowedEQ.

func PlatformAccessAllowedEQ

func PlatformAccessAllowedEQ(v pgarray.StringArray) predicate.Workflow

PlatformAccessAllowedEQ applies the EQ predicate on the "platform_access_allowed" field.

func PlatformAccessAllowedGT

func PlatformAccessAllowedGT(v pgarray.StringArray) predicate.Workflow

PlatformAccessAllowedGT applies the GT predicate on the "platform_access_allowed" field.

func PlatformAccessAllowedGTE

func PlatformAccessAllowedGTE(v pgarray.StringArray) predicate.Workflow

PlatformAccessAllowedGTE applies the GTE predicate on the "platform_access_allowed" field.

func PlatformAccessAllowedIn

func PlatformAccessAllowedIn(vs ...pgarray.StringArray) predicate.Workflow

PlatformAccessAllowedIn applies the In predicate on the "platform_access_allowed" field.

func PlatformAccessAllowedIsNil

func PlatformAccessAllowedIsNil() predicate.Workflow

PlatformAccessAllowedIsNil applies the IsNil predicate on the "platform_access_allowed" field.

func PlatformAccessAllowedLT

func PlatformAccessAllowedLT(v pgarray.StringArray) predicate.Workflow

PlatformAccessAllowedLT applies the LT predicate on the "platform_access_allowed" field.

func PlatformAccessAllowedLTE

func PlatformAccessAllowedLTE(v pgarray.StringArray) predicate.Workflow

PlatformAccessAllowedLTE applies the LTE predicate on the "platform_access_allowed" field.

func PlatformAccessAllowedNEQ

func PlatformAccessAllowedNEQ(v pgarray.StringArray) predicate.Workflow

PlatformAccessAllowedNEQ applies the NEQ predicate on the "platform_access_allowed" field.

func PlatformAccessAllowedNotIn

func PlatformAccessAllowedNotIn(vs ...pgarray.StringArray) predicate.Workflow

PlatformAccessAllowedNotIn applies the NotIn predicate on the "platform_access_allowed" field.

func PlatformAccessAllowedNotNil

func PlatformAccessAllowedNotNil() predicate.Workflow

PlatformAccessAllowedNotNil applies the NotNil predicate on the "platform_access_allowed" field.

func ProjectID

func ProjectID(v uuid.UUID) predicate.Workflow

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

func ProjectIDEQ

func ProjectIDEQ(v uuid.UUID) predicate.Workflow

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

func ProjectIDIn

func ProjectIDIn(vs ...uuid.UUID) predicate.Workflow

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

func ProjectIDNEQ

func ProjectIDNEQ(v uuid.UUID) predicate.Workflow

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

func ProjectIDNotIn

func ProjectIDNotIn(vs ...uuid.UUID) predicate.Workflow

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

func RoleDescription

func RoleDescription(v string) predicate.Workflow

RoleDescription applies equality check predicate on the "role_description" field. It's identical to RoleDescriptionEQ.

func RoleDescriptionContains

func RoleDescriptionContains(v string) predicate.Workflow

RoleDescriptionContains applies the Contains predicate on the "role_description" field.

func RoleDescriptionContainsFold

func RoleDescriptionContainsFold(v string) predicate.Workflow

RoleDescriptionContainsFold applies the ContainsFold predicate on the "role_description" field.

func RoleDescriptionEQ

func RoleDescriptionEQ(v string) predicate.Workflow

RoleDescriptionEQ applies the EQ predicate on the "role_description" field.

func RoleDescriptionEqualFold

func RoleDescriptionEqualFold(v string) predicate.Workflow

RoleDescriptionEqualFold applies the EqualFold predicate on the "role_description" field.

func RoleDescriptionGT

func RoleDescriptionGT(v string) predicate.Workflow

RoleDescriptionGT applies the GT predicate on the "role_description" field.

func RoleDescriptionGTE

func RoleDescriptionGTE(v string) predicate.Workflow

RoleDescriptionGTE applies the GTE predicate on the "role_description" field.

func RoleDescriptionHasPrefix

func RoleDescriptionHasPrefix(v string) predicate.Workflow

RoleDescriptionHasPrefix applies the HasPrefix predicate on the "role_description" field.

func RoleDescriptionHasSuffix

func RoleDescriptionHasSuffix(v string) predicate.Workflow

RoleDescriptionHasSuffix applies the HasSuffix predicate on the "role_description" field.

func RoleDescriptionIn

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

RoleDescriptionIn applies the In predicate on the "role_description" field.

func RoleDescriptionIsNil

func RoleDescriptionIsNil() predicate.Workflow

RoleDescriptionIsNil applies the IsNil predicate on the "role_description" field.

func RoleDescriptionLT

func RoleDescriptionLT(v string) predicate.Workflow

RoleDescriptionLT applies the LT predicate on the "role_description" field.

func RoleDescriptionLTE

func RoleDescriptionLTE(v string) predicate.Workflow

RoleDescriptionLTE applies the LTE predicate on the "role_description" field.

func RoleDescriptionNEQ

func RoleDescriptionNEQ(v string) predicate.Workflow

RoleDescriptionNEQ applies the NEQ predicate on the "role_description" field.

func RoleDescriptionNotIn

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

RoleDescriptionNotIn applies the NotIn predicate on the "role_description" field.

func RoleDescriptionNotNil

func RoleDescriptionNotNil() predicate.Workflow

RoleDescriptionNotNil applies the NotNil predicate on the "role_description" field.

func RoleName

func RoleName(v string) predicate.Workflow

RoleName applies equality check predicate on the "role_name" field. It's identical to RoleNameEQ.

func RoleNameContains

func RoleNameContains(v string) predicate.Workflow

RoleNameContains applies the Contains predicate on the "role_name" field.

func RoleNameContainsFold

func RoleNameContainsFold(v string) predicate.Workflow

RoleNameContainsFold applies the ContainsFold predicate on the "role_name" field.

func RoleNameEQ

func RoleNameEQ(v string) predicate.Workflow

RoleNameEQ applies the EQ predicate on the "role_name" field.

func RoleNameEqualFold

func RoleNameEqualFold(v string) predicate.Workflow

RoleNameEqualFold applies the EqualFold predicate on the "role_name" field.

func RoleNameGT

func RoleNameGT(v string) predicate.Workflow

RoleNameGT applies the GT predicate on the "role_name" field.

func RoleNameGTE

func RoleNameGTE(v string) predicate.Workflow

RoleNameGTE applies the GTE predicate on the "role_name" field.

func RoleNameHasPrefix

func RoleNameHasPrefix(v string) predicate.Workflow

RoleNameHasPrefix applies the HasPrefix predicate on the "role_name" field.

func RoleNameHasSuffix

func RoleNameHasSuffix(v string) predicate.Workflow

RoleNameHasSuffix applies the HasSuffix predicate on the "role_name" field.

func RoleNameIn

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

RoleNameIn applies the In predicate on the "role_name" field.

func RoleNameIsNil

func RoleNameIsNil() predicate.Workflow

RoleNameIsNil applies the IsNil predicate on the "role_name" field.

func RoleNameLT

func RoleNameLT(v string) predicate.Workflow

RoleNameLT applies the LT predicate on the "role_name" field.

func RoleNameLTE

func RoleNameLTE(v string) predicate.Workflow

RoleNameLTE applies the LTE predicate on the "role_name" field.

func RoleNameNEQ

func RoleNameNEQ(v string) predicate.Workflow

RoleNameNEQ applies the NEQ predicate on the "role_name" field.

func RoleNameNotIn

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

RoleNameNotIn applies the NotIn predicate on the "role_name" field.

func RoleNameNotNil

func RoleNameNotNil() predicate.Workflow

RoleNameNotNil applies the NotNil predicate on the "role_name" field.

func RoleSlug

func RoleSlug(v string) predicate.Workflow

RoleSlug applies equality check predicate on the "role_slug" field. It's identical to RoleSlugEQ.

func RoleSlugContains

func RoleSlugContains(v string) predicate.Workflow

RoleSlugContains applies the Contains predicate on the "role_slug" field.

func RoleSlugContainsFold

func RoleSlugContainsFold(v string) predicate.Workflow

RoleSlugContainsFold applies the ContainsFold predicate on the "role_slug" field.

func RoleSlugEQ

func RoleSlugEQ(v string) predicate.Workflow

RoleSlugEQ applies the EQ predicate on the "role_slug" field.

func RoleSlugEqualFold

func RoleSlugEqualFold(v string) predicate.Workflow

RoleSlugEqualFold applies the EqualFold predicate on the "role_slug" field.

func RoleSlugGT

func RoleSlugGT(v string) predicate.Workflow

RoleSlugGT applies the GT predicate on the "role_slug" field.

func RoleSlugGTE

func RoleSlugGTE(v string) predicate.Workflow

RoleSlugGTE applies the GTE predicate on the "role_slug" field.

func RoleSlugHasPrefix

func RoleSlugHasPrefix(v string) predicate.Workflow

RoleSlugHasPrefix applies the HasPrefix predicate on the "role_slug" field.

func RoleSlugHasSuffix

func RoleSlugHasSuffix(v string) predicate.Workflow

RoleSlugHasSuffix applies the HasSuffix predicate on the "role_slug" field.

func RoleSlugIn

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

RoleSlugIn applies the In predicate on the "role_slug" field.

func RoleSlugIsNil

func RoleSlugIsNil() predicate.Workflow

RoleSlugIsNil applies the IsNil predicate on the "role_slug" field.

func RoleSlugLT

func RoleSlugLT(v string) predicate.Workflow

RoleSlugLT applies the LT predicate on the "role_slug" field.

func RoleSlugLTE

func RoleSlugLTE(v string) predicate.Workflow

RoleSlugLTE applies the LTE predicate on the "role_slug" field.

func RoleSlugNEQ

func RoleSlugNEQ(v string) predicate.Workflow

RoleSlugNEQ applies the NEQ predicate on the "role_slug" field.

func RoleSlugNotIn

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

RoleSlugNotIn applies the NotIn predicate on the "role_slug" field.

func RoleSlugNotNil

func RoleSlugNotNil() predicate.Workflow

RoleSlugNotNil applies the NotNil predicate on the "role_slug" field.

func StallTimeoutMinutes

func StallTimeoutMinutes(v int) predicate.Workflow

StallTimeoutMinutes applies equality check predicate on the "stall_timeout_minutes" field. It's identical to StallTimeoutMinutesEQ.

func StallTimeoutMinutesEQ

func StallTimeoutMinutesEQ(v int) predicate.Workflow

StallTimeoutMinutesEQ applies the EQ predicate on the "stall_timeout_minutes" field.

func StallTimeoutMinutesGT

func StallTimeoutMinutesGT(v int) predicate.Workflow

StallTimeoutMinutesGT applies the GT predicate on the "stall_timeout_minutes" field.

func StallTimeoutMinutesGTE

func StallTimeoutMinutesGTE(v int) predicate.Workflow

StallTimeoutMinutesGTE applies the GTE predicate on the "stall_timeout_minutes" field.

func StallTimeoutMinutesIn

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

StallTimeoutMinutesIn applies the In predicate on the "stall_timeout_minutes" field.

func StallTimeoutMinutesLT

func StallTimeoutMinutesLT(v int) predicate.Workflow

StallTimeoutMinutesLT applies the LT predicate on the "stall_timeout_minutes" field.

func StallTimeoutMinutesLTE

func StallTimeoutMinutesLTE(v int) predicate.Workflow

StallTimeoutMinutesLTE applies the LTE predicate on the "stall_timeout_minutes" field.

func StallTimeoutMinutesNEQ

func StallTimeoutMinutesNEQ(v int) predicate.Workflow

StallTimeoutMinutesNEQ applies the NEQ predicate on the "stall_timeout_minutes" field.

func StallTimeoutMinutesNotIn

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

StallTimeoutMinutesNotIn applies the NotIn predicate on the "stall_timeout_minutes" field.

func TimeoutMinutes

func TimeoutMinutes(v int) predicate.Workflow

TimeoutMinutes applies equality check predicate on the "timeout_minutes" field. It's identical to TimeoutMinutesEQ.

func TimeoutMinutesEQ

func TimeoutMinutesEQ(v int) predicate.Workflow

TimeoutMinutesEQ applies the EQ predicate on the "timeout_minutes" field.

func TimeoutMinutesGT

func TimeoutMinutesGT(v int) predicate.Workflow

TimeoutMinutesGT applies the GT predicate on the "timeout_minutes" field.

func TimeoutMinutesGTE

func TimeoutMinutesGTE(v int) predicate.Workflow

TimeoutMinutesGTE applies the GTE predicate on the "timeout_minutes" field.

func TimeoutMinutesIn

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

TimeoutMinutesIn applies the In predicate on the "timeout_minutes" field.

func TimeoutMinutesLT

func TimeoutMinutesLT(v int) predicate.Workflow

TimeoutMinutesLT applies the LT predicate on the "timeout_minutes" field.

func TimeoutMinutesLTE

func TimeoutMinutesLTE(v int) predicate.Workflow

TimeoutMinutesLTE applies the LTE predicate on the "timeout_minutes" field.

func TimeoutMinutesNEQ

func TimeoutMinutesNEQ(v int) predicate.Workflow

TimeoutMinutesNEQ applies the NEQ predicate on the "timeout_minutes" field.

func TimeoutMinutesNotIn

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

TimeoutMinutesNotIn applies the NotIn predicate on the "timeout_minutes" field.

func Type

func Type(v string) predicate.Workflow

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

func TypeContains

func TypeContains(v string) predicate.Workflow

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

func TypeContainsFold

func TypeContainsFold(v string) predicate.Workflow

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

func TypeEQ

func TypeEQ(v string) predicate.Workflow

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

func TypeEqualFold

func TypeEqualFold(v string) predicate.Workflow

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

func TypeGT

func TypeGT(v string) predicate.Workflow

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

func TypeGTE

func TypeGTE(v string) predicate.Workflow

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

func TypeHasPrefix

func TypeHasPrefix(v string) predicate.Workflow

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

func TypeHasSuffix

func TypeHasSuffix(v string) predicate.Workflow

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

func TypeIn

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

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

func TypeLT

func TypeLT(v string) predicate.Workflow

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

func TypeLTE

func TypeLTE(v string) predicate.Workflow

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

func TypeNEQ

func TypeNEQ(v string) predicate.Workflow

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

func TypeNotIn

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

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

func ValidColumn

func ValidColumn(column string) bool

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

func Version

func Version(v int) predicate.Workflow

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

func VersionEQ

func VersionEQ(v int) predicate.Workflow

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

func VersionGT

func VersionGT(v int) predicate.Workflow

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

func VersionGTE

func VersionGTE(v int) predicate.Workflow

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

func VersionIn

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

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

func VersionLT

func VersionLT(v int) predicate.Workflow

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

func VersionLTE

func VersionLTE(v int) predicate.Workflow

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

func VersionNEQ

func VersionNEQ(v int) predicate.Workflow

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

func VersionNotIn

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

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

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the Workflow queries.

func ByAgentField

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

ByAgentField orders the results by agent field.

func ByAgentID

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

ByAgentID orders the results by the agent_id field.

func ByAgentRuns

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

ByAgentRuns orders the results by agent_runs terms.

func ByAgentRunsCount

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

ByAgentRunsCount orders the results by agent_runs count.

func ByCurrentVersionField

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

ByCurrentVersionField orders the results by current_version field.

func ByCurrentVersionID

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

ByCurrentVersionID orders the results by the current_version_id field.

func ByFinishStatuses

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

ByFinishStatuses orders the results by finish_statuses terms.

func ByFinishStatusesCount

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

ByFinishStatusesCount orders the results by finish_statuses count.

func ByHarnessPath

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

ByHarnessPath orders the results by the harness_path field.

func ByID

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

ByID orders the results by the id field.

func ByIsActive

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

ByIsActive orders the results by the is_active field.

func ByMaxConcurrent

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

ByMaxConcurrent orders the results by the max_concurrent field.

func ByMaxRetryAttempts

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

ByMaxRetryAttempts orders the results by the max_retry_attempts field.

func ByName

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

ByName orders the results by the name field.

func ByPickupStatuses

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

ByPickupStatuses orders the results by pickup_statuses terms.

func ByPickupStatusesCount

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

ByPickupStatusesCount orders the results by pickup_statuses count.

func ByPlatformAccessAllowed

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

ByPlatformAccessAllowed orders the results by the platform_access_allowed 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 ByRoleDescription

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

ByRoleDescription orders the results by the role_description field.

func ByRoleName

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

ByRoleName orders the results by the role_name field.

func ByRoleSlug

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

ByRoleSlug orders the results by the role_slug field.

func ByScheduledJobs

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

ByScheduledJobs orders the results by scheduled_jobs terms.

func ByScheduledJobsCount

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

ByScheduledJobsCount orders the results by scheduled_jobs count.

func BySkillBindings

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

BySkillBindings orders the results by skill_bindings terms.

func BySkillBindingsCount

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

BySkillBindingsCount orders the results by skill_bindings count.

func ByStallTimeoutMinutes

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

ByStallTimeoutMinutes orders the results by the stall_timeout_minutes field.

func ByTickets

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

ByTickets orders the results by tickets terms.

func ByTicketsCount

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

ByTicketsCount orders the results by tickets count.

func ByTimeoutMinutes

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

ByTimeoutMinutes orders the results by the timeout_minutes field.

func ByType

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

ByType orders the results by the type field.

func ByVersion

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

ByVersion orders the results by the version field.

func ByVersions

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

ByVersions orders the results by versions terms.

func ByVersionsCount

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

ByVersionsCount orders the results by versions count.

Jump to

Keyboard shortcuts

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