ticket

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the ticket type in the database.
	Label = "ticket"
	// 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"
	// FieldIdentifier holds the string denoting the identifier field in the database.
	FieldIdentifier = "identifier"
	// FieldTitle holds the string denoting the title field in the database.
	FieldTitle = "title"
	// FieldDescription holds the string denoting the description field in the database.
	FieldDescription = "description"
	// FieldStatusID holds the string denoting the status_id field in the database.
	FieldStatusID = "status_id"
	// FieldArchived holds the string denoting the archived field in the database.
	FieldArchived = "archived"
	// FieldPriority holds the string denoting the priority field in the database.
	FieldPriority = "priority"
	// FieldType holds the string denoting the type field in the database.
	FieldType = "type"
	// FieldWorkflowID holds the string denoting the workflow_id field in the database.
	FieldWorkflowID = "workflow_id"
	// FieldCurrentRunID holds the string denoting the current_run_id field in the database.
	FieldCurrentRunID = "current_run_id"
	// FieldTargetMachineID holds the string denoting the target_machine_id field in the database.
	FieldTargetMachineID = "target_machine_id"
	// FieldCreatedBy holds the string denoting the created_by field in the database.
	FieldCreatedBy = "created_by"
	// FieldParentTicketID holds the string denoting the parent_ticket_id field in the database.
	FieldParentTicketID = "parent_ticket_id"
	// FieldExternalRef holds the string denoting the external_ref field in the database.
	FieldExternalRef = "external_ref"
	// FieldAttemptCount holds the string denoting the attempt_count field in the database.
	FieldAttemptCount = "attempt_count"
	// FieldConsecutiveErrors holds the string denoting the consecutive_errors field in the database.
	FieldConsecutiveErrors = "consecutive_errors"
	// FieldNextRetryAt holds the string denoting the next_retry_at field in the database.
	FieldNextRetryAt = "next_retry_at"
	// FieldRetryPaused holds the string denoting the retry_paused field in the database.
	FieldRetryPaused = "retry_paused"
	// FieldPauseReason holds the string denoting the pause_reason field in the database.
	FieldPauseReason = "pause_reason"
	// FieldStallCount holds the string denoting the stall_count field in the database.
	FieldStallCount = "stall_count"
	// FieldRetryToken holds the string denoting the retry_token field in the database.
	FieldRetryToken = "retry_token"
	// FieldHarnessVersion holds the string denoting the harness_version field in the database.
	FieldHarnessVersion = "harness_version"
	// FieldBudgetUsd holds the string denoting the budget_usd field in the database.
	FieldBudgetUsd = "budget_usd"
	// FieldCostTokensInput holds the string denoting the cost_tokens_input field in the database.
	FieldCostTokensInput = "cost_tokens_input"
	// FieldCostTokensOutput holds the string denoting the cost_tokens_output field in the database.
	FieldCostTokensOutput = "cost_tokens_output"
	// FieldCostAmount holds the string denoting the cost_amount field in the database.
	FieldCostAmount = "cost_amount"
	// FieldMetadata holds the string denoting the metadata field in the database.
	FieldMetadata = "metadata"
	// FieldStartedAt holds the string denoting the started_at field in the database.
	FieldStartedAt = "started_at"
	// FieldCompletedAt holds the string denoting the completed_at field in the database.
	FieldCompletedAt = "completed_at"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// EdgeProject holds the string denoting the project edge name in mutations.
	EdgeProject = "project"
	// EdgeStatus holds the string denoting the status edge name in mutations.
	EdgeStatus = "status"
	// EdgeWorkflow holds the string denoting the workflow edge name in mutations.
	EdgeWorkflow = "workflow"
	// EdgeCurrentRun holds the string denoting the current_run edge name in mutations.
	EdgeCurrentRun = "current_run"
	// EdgeTargetMachine holds the string denoting the target_machine edge name in mutations.
	EdgeTargetMachine = "target_machine"
	// EdgeParent holds the string denoting the parent edge name in mutations.
	EdgeParent = "parent"
	// EdgeChildren holds the string denoting the children edge name in mutations.
	EdgeChildren = "children"
	// EdgeRepoScopes holds the string denoting the repo_scopes edge name in mutations.
	EdgeRepoScopes = "repo_scopes"
	// EdgeComments holds the string denoting the comments edge name in mutations.
	EdgeComments = "comments"
	// EdgeExternalLinks holds the string denoting the external_links edge name in mutations.
	EdgeExternalLinks = "external_links"
	// EdgeAgentTokens holds the string denoting the agent_tokens edge name in mutations.
	EdgeAgentTokens = "agent_tokens"
	// EdgeAgentTraceEvents holds the string denoting the agent_trace_events edge name in mutations.
	EdgeAgentTraceEvents = "agent_trace_events"
	// EdgeAgentStepEvents holds the string denoting the agent_step_events edge name in mutations.
	EdgeAgentStepEvents = "agent_step_events"
	// EdgeAgentRawEvents holds the string denoting the agent_raw_events edge name in mutations.
	EdgeAgentRawEvents = "agent_raw_events"
	// EdgeAgentActivityInstances holds the string denoting the agent_activity_instances edge name in mutations.
	EdgeAgentActivityInstances = "agent_activity_instances"
	// EdgeAgentTranscriptEntries holds the string denoting the agent_transcript_entries edge name in mutations.
	EdgeAgentTranscriptEntries = "agent_transcript_entries"
	// EdgeActivityEvents holds the string denoting the activity_events edge name in mutations.
	EdgeActivityEvents = "activity_events"
	// EdgeAgentRuns holds the string denoting the agent_runs edge name in mutations.
	EdgeAgentRuns = "agent_runs"
	// EdgeRepoWorkspaces holds the string denoting the repo_workspaces edge name in mutations.
	EdgeRepoWorkspaces = "repo_workspaces"
	// EdgeOutgoingDependencies holds the string denoting the outgoing_dependencies edge name in mutations.
	EdgeOutgoingDependencies = "outgoing_dependencies"
	// EdgeIncomingDependencies holds the string denoting the incoming_dependencies edge name in mutations.
	EdgeIncomingDependencies = "incoming_dependencies"
	// Table holds the table name of the ticket in the database.
	Table = "tickets"
	// ProjectTable is the table that holds the project relation/edge.
	ProjectTable = "tickets"
	// 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"
	// StatusTable is the table that holds the status relation/edge.
	StatusTable = "tickets"
	// StatusInverseTable is the table name for the TicketStatus entity.
	// It exists in this package in order to avoid circular dependency with the "ticketstatus" package.
	StatusInverseTable = "ticket_status"
	// StatusColumn is the table column denoting the status relation/edge.
	StatusColumn = "status_id"
	// WorkflowTable is the table that holds the workflow relation/edge.
	WorkflowTable = "tickets"
	// WorkflowInverseTable is the table name for the Workflow entity.
	// It exists in this package in order to avoid circular dependency with the "workflow" package.
	WorkflowInverseTable = "workflows"
	// WorkflowColumn is the table column denoting the workflow relation/edge.
	WorkflowColumn = "workflow_id"
	// CurrentRunTable is the table that holds the current_run relation/edge.
	CurrentRunTable = "tickets"
	// CurrentRunInverseTable is the table name for the AgentRun entity.
	// It exists in this package in order to avoid circular dependency with the "agentrun" package.
	CurrentRunInverseTable = "agent_runs"
	// CurrentRunColumn is the table column denoting the current_run relation/edge.
	CurrentRunColumn = "current_run_id"
	// TargetMachineTable is the table that holds the target_machine relation/edge.
	TargetMachineTable = "tickets"
	// TargetMachineInverseTable is the table name for the Machine entity.
	// It exists in this package in order to avoid circular dependency with the "machine" package.
	TargetMachineInverseTable = "machines"
	// TargetMachineColumn is the table column denoting the target_machine relation/edge.
	TargetMachineColumn = "target_machine_id"
	// ParentTable is the table that holds the parent relation/edge.
	ParentTable = "tickets"
	// ParentColumn is the table column denoting the parent relation/edge.
	ParentColumn = "parent_ticket_id"
	// ChildrenTable is the table that holds the children relation/edge.
	ChildrenTable = "tickets"
	// ChildrenColumn is the table column denoting the children relation/edge.
	ChildrenColumn = "parent_ticket_id"
	// RepoScopesTable is the table that holds the repo_scopes relation/edge.
	RepoScopesTable = "ticket_repo_scopes"
	// RepoScopesInverseTable is the table name for the TicketRepoScope entity.
	// It exists in this package in order to avoid circular dependency with the "ticketreposcope" package.
	RepoScopesInverseTable = "ticket_repo_scopes"
	// RepoScopesColumn is the table column denoting the repo_scopes relation/edge.
	RepoScopesColumn = "ticket_id"
	// CommentsTable is the table that holds the comments relation/edge.
	CommentsTable = "ticket_comments"
	// CommentsInverseTable is the table name for the TicketComment entity.
	// It exists in this package in order to avoid circular dependency with the "ticketcomment" package.
	CommentsInverseTable = "ticket_comments"
	// CommentsColumn is the table column denoting the comments relation/edge.
	CommentsColumn = "ticket_id"
	// ExternalLinksTable is the table that holds the external_links relation/edge.
	ExternalLinksTable = "ticket_external_links"
	// ExternalLinksInverseTable is the table name for the TicketExternalLink entity.
	// It exists in this package in order to avoid circular dependency with the "ticketexternallink" package.
	ExternalLinksInverseTable = "ticket_external_links"
	// ExternalLinksColumn is the table column denoting the external_links relation/edge.
	ExternalLinksColumn = "ticket_id"
	// AgentTokensTable is the table that holds the agent_tokens relation/edge.
	AgentTokensTable = "agent_tokens"
	// AgentTokensInverseTable is the table name for the AgentToken entity.
	// It exists in this package in order to avoid circular dependency with the "agenttoken" package.
	AgentTokensInverseTable = "agent_tokens"
	// AgentTokensColumn is the table column denoting the agent_tokens relation/edge.
	AgentTokensColumn = "ticket_id"
	// AgentTraceEventsTable is the table that holds the agent_trace_events relation/edge.
	AgentTraceEventsTable = "agent_trace_events"
	// AgentTraceEventsInverseTable is the table name for the AgentTraceEvent entity.
	// It exists in this package in order to avoid circular dependency with the "agenttraceevent" package.
	AgentTraceEventsInverseTable = "agent_trace_events"
	// AgentTraceEventsColumn is the table column denoting the agent_trace_events relation/edge.
	AgentTraceEventsColumn = "ticket_id"
	// AgentStepEventsTable is the table that holds the agent_step_events relation/edge.
	AgentStepEventsTable = "agent_step_events"
	// AgentStepEventsInverseTable is the table name for the AgentStepEvent entity.
	// It exists in this package in order to avoid circular dependency with the "agentstepevent" package.
	AgentStepEventsInverseTable = "agent_step_events"
	// AgentStepEventsColumn is the table column denoting the agent_step_events relation/edge.
	AgentStepEventsColumn = "ticket_id"
	// AgentRawEventsTable is the table that holds the agent_raw_events relation/edge.
	AgentRawEventsTable = "agent_raw_events"
	// AgentRawEventsInverseTable is the table name for the AgentRawEvent entity.
	// It exists in this package in order to avoid circular dependency with the "agentrawevent" package.
	AgentRawEventsInverseTable = "agent_raw_events"
	// AgentRawEventsColumn is the table column denoting the agent_raw_events relation/edge.
	AgentRawEventsColumn = "ticket_id"
	// AgentActivityInstancesTable is the table that holds the agent_activity_instances relation/edge.
	AgentActivityInstancesTable = "agent_activity_instances"
	// AgentActivityInstancesInverseTable is the table name for the AgentActivityInstance entity.
	// It exists in this package in order to avoid circular dependency with the "agentactivityinstance" package.
	AgentActivityInstancesInverseTable = "agent_activity_instances"
	// AgentActivityInstancesColumn is the table column denoting the agent_activity_instances relation/edge.
	AgentActivityInstancesColumn = "ticket_id"
	// AgentTranscriptEntriesTable is the table that holds the agent_transcript_entries relation/edge.
	AgentTranscriptEntriesTable = "agent_transcript_entries"
	// AgentTranscriptEntriesInverseTable is the table name for the AgentTranscriptEntry entity.
	// It exists in this package in order to avoid circular dependency with the "agenttranscriptentry" package.
	AgentTranscriptEntriesInverseTable = "agent_transcript_entries"
	// AgentTranscriptEntriesColumn is the table column denoting the agent_transcript_entries relation/edge.
	AgentTranscriptEntriesColumn = "ticket_id"
	// ActivityEventsTable is the table that holds the activity_events relation/edge.
	ActivityEventsTable = "activity_events"
	// ActivityEventsInverseTable is the table name for the ActivityEvent entity.
	// It exists in this package in order to avoid circular dependency with the "activityevent" package.
	ActivityEventsInverseTable = "activity_events"
	// ActivityEventsColumn is the table column denoting the activity_events relation/edge.
	ActivityEventsColumn = "ticket_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 = "ticket_id"
	// RepoWorkspacesTable is the table that holds the repo_workspaces relation/edge.
	RepoWorkspacesTable = "ticket_repo_workspaces"
	// RepoWorkspacesInverseTable is the table name for the TicketRepoWorkspace entity.
	// It exists in this package in order to avoid circular dependency with the "ticketrepoworkspace" package.
	RepoWorkspacesInverseTable = "ticket_repo_workspaces"
	// RepoWorkspacesColumn is the table column denoting the repo_workspaces relation/edge.
	RepoWorkspacesColumn = "ticket_id"
	// OutgoingDependenciesTable is the table that holds the outgoing_dependencies relation/edge.
	OutgoingDependenciesTable = "ticket_dependencies"
	// OutgoingDependenciesInverseTable is the table name for the TicketDependency entity.
	// It exists in this package in order to avoid circular dependency with the "ticketdependency" package.
	OutgoingDependenciesInverseTable = "ticket_dependencies"
	// OutgoingDependenciesColumn is the table column denoting the outgoing_dependencies relation/edge.
	OutgoingDependenciesColumn = "source_ticket_id"
	// IncomingDependenciesTable is the table that holds the incoming_dependencies relation/edge.
	IncomingDependenciesTable = "ticket_dependencies"
	// IncomingDependenciesInverseTable is the table name for the TicketDependency entity.
	// It exists in this package in order to avoid circular dependency with the "ticketdependency" package.
	IncomingDependenciesInverseTable = "ticket_dependencies"
	// IncomingDependenciesColumn is the table column denoting the incoming_dependencies relation/edge.
	IncomingDependenciesColumn = "target_ticket_id"
)
View Source
const DefaultType = TypeFeature

TypeFeature is the default value of the Type enum.

Variables

View Source
var (
	// IdentifierValidator is a validator for the "identifier" field. It is called by the builders before save.
	IdentifierValidator func(string) error
	// TitleValidator is a validator for the "title" field. It is called by the builders before save.
	TitleValidator func(string) error
	// DefaultArchived holds the default value on creation for the "archived" field.
	DefaultArchived bool
	// CreatedByValidator is a validator for the "created_by" field. It is called by the builders before save.
	CreatedByValidator func(string) error
	// DefaultAttemptCount holds the default value on creation for the "attempt_count" field.
	DefaultAttemptCount int
	// DefaultConsecutiveErrors holds the default value on creation for the "consecutive_errors" field.
	DefaultConsecutiveErrors int
	// DefaultRetryPaused holds the default value on creation for the "retry_paused" field.
	DefaultRetryPaused bool
	// DefaultStallCount holds the default value on creation for the "stall_count" field.
	DefaultStallCount int
	// DefaultHarnessVersion holds the default value on creation for the "harness_version" field.
	DefaultHarnessVersion int
	// DefaultBudgetUsd holds the default value on creation for the "budget_usd" field.
	DefaultBudgetUsd float64
	// DefaultCostTokensInput holds the default value on creation for the "cost_tokens_input" field.
	DefaultCostTokensInput int64
	// DefaultCostTokensOutput holds the default value on creation for the "cost_tokens_output" field.
	DefaultCostTokensOutput int64
	// DefaultCostAmount holds the default value on creation for the "cost_amount" field.
	DefaultCostAmount float64
	// DefaultMetadata holds the default value on creation for the "metadata" field.
	DefaultMetadata func() map[string]interface{}
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() uuid.UUID
)

Columns holds all SQL columns for ticket fields.

Functions

func And

func And(predicates ...predicate.Ticket) predicate.Ticket

And groups predicates with the AND operator between them.

func Archived

func Archived(v bool) predicate.Ticket

Archived applies equality check predicate on the "archived" field. It's identical to ArchivedEQ.

func ArchivedEQ

func ArchivedEQ(v bool) predicate.Ticket

ArchivedEQ applies the EQ predicate on the "archived" field.

func ArchivedNEQ

func ArchivedNEQ(v bool) predicate.Ticket

ArchivedNEQ applies the NEQ predicate on the "archived" field.

func AttemptCount

func AttemptCount(v int) predicate.Ticket

AttemptCount applies equality check predicate on the "attempt_count" field. It's identical to AttemptCountEQ.

func AttemptCountEQ

func AttemptCountEQ(v int) predicate.Ticket

AttemptCountEQ applies the EQ predicate on the "attempt_count" field.

func AttemptCountGT

func AttemptCountGT(v int) predicate.Ticket

AttemptCountGT applies the GT predicate on the "attempt_count" field.

func AttemptCountGTE

func AttemptCountGTE(v int) predicate.Ticket

AttemptCountGTE applies the GTE predicate on the "attempt_count" field.

func AttemptCountIn

func AttemptCountIn(vs ...int) predicate.Ticket

AttemptCountIn applies the In predicate on the "attempt_count" field.

func AttemptCountLT

func AttemptCountLT(v int) predicate.Ticket

AttemptCountLT applies the LT predicate on the "attempt_count" field.

func AttemptCountLTE

func AttemptCountLTE(v int) predicate.Ticket

AttemptCountLTE applies the LTE predicate on the "attempt_count" field.

func AttemptCountNEQ

func AttemptCountNEQ(v int) predicate.Ticket

AttemptCountNEQ applies the NEQ predicate on the "attempt_count" field.

func AttemptCountNotIn

func AttemptCountNotIn(vs ...int) predicate.Ticket

AttemptCountNotIn applies the NotIn predicate on the "attempt_count" field.

func BudgetUsd

func BudgetUsd(v float64) predicate.Ticket

BudgetUsd applies equality check predicate on the "budget_usd" field. It's identical to BudgetUsdEQ.

func BudgetUsdEQ

func BudgetUsdEQ(v float64) predicate.Ticket

BudgetUsdEQ applies the EQ predicate on the "budget_usd" field.

func BudgetUsdGT

func BudgetUsdGT(v float64) predicate.Ticket

BudgetUsdGT applies the GT predicate on the "budget_usd" field.

func BudgetUsdGTE

func BudgetUsdGTE(v float64) predicate.Ticket

BudgetUsdGTE applies the GTE predicate on the "budget_usd" field.

func BudgetUsdIn

func BudgetUsdIn(vs ...float64) predicate.Ticket

BudgetUsdIn applies the In predicate on the "budget_usd" field.

func BudgetUsdLT

func BudgetUsdLT(v float64) predicate.Ticket

BudgetUsdLT applies the LT predicate on the "budget_usd" field.

func BudgetUsdLTE

func BudgetUsdLTE(v float64) predicate.Ticket

BudgetUsdLTE applies the LTE predicate on the "budget_usd" field.

func BudgetUsdNEQ

func BudgetUsdNEQ(v float64) predicate.Ticket

BudgetUsdNEQ applies the NEQ predicate on the "budget_usd" field.

func BudgetUsdNotIn

func BudgetUsdNotIn(vs ...float64) predicate.Ticket

BudgetUsdNotIn applies the NotIn predicate on the "budget_usd" field.

func CompletedAt

func CompletedAt(v time.Time) predicate.Ticket

CompletedAt applies equality check predicate on the "completed_at" field. It's identical to CompletedAtEQ.

func CompletedAtEQ

func CompletedAtEQ(v time.Time) predicate.Ticket

CompletedAtEQ applies the EQ predicate on the "completed_at" field.

func CompletedAtGT

func CompletedAtGT(v time.Time) predicate.Ticket

CompletedAtGT applies the GT predicate on the "completed_at" field.

func CompletedAtGTE

func CompletedAtGTE(v time.Time) predicate.Ticket

CompletedAtGTE applies the GTE predicate on the "completed_at" field.

func CompletedAtIn

func CompletedAtIn(vs ...time.Time) predicate.Ticket

CompletedAtIn applies the In predicate on the "completed_at" field.

func CompletedAtIsNil

func CompletedAtIsNil() predicate.Ticket

CompletedAtIsNil applies the IsNil predicate on the "completed_at" field.

func CompletedAtLT

func CompletedAtLT(v time.Time) predicate.Ticket

CompletedAtLT applies the LT predicate on the "completed_at" field.

func CompletedAtLTE

func CompletedAtLTE(v time.Time) predicate.Ticket

CompletedAtLTE applies the LTE predicate on the "completed_at" field.

func CompletedAtNEQ

func CompletedAtNEQ(v time.Time) predicate.Ticket

CompletedAtNEQ applies the NEQ predicate on the "completed_at" field.

func CompletedAtNotIn

func CompletedAtNotIn(vs ...time.Time) predicate.Ticket

CompletedAtNotIn applies the NotIn predicate on the "completed_at" field.

func CompletedAtNotNil

func CompletedAtNotNil() predicate.Ticket

CompletedAtNotNil applies the NotNil predicate on the "completed_at" field.

func ConsecutiveErrors

func ConsecutiveErrors(v int) predicate.Ticket

ConsecutiveErrors applies equality check predicate on the "consecutive_errors" field. It's identical to ConsecutiveErrorsEQ.

func ConsecutiveErrorsEQ

func ConsecutiveErrorsEQ(v int) predicate.Ticket

ConsecutiveErrorsEQ applies the EQ predicate on the "consecutive_errors" field.

func ConsecutiveErrorsGT

func ConsecutiveErrorsGT(v int) predicate.Ticket

ConsecutiveErrorsGT applies the GT predicate on the "consecutive_errors" field.

func ConsecutiveErrorsGTE

func ConsecutiveErrorsGTE(v int) predicate.Ticket

ConsecutiveErrorsGTE applies the GTE predicate on the "consecutive_errors" field.

func ConsecutiveErrorsIn

func ConsecutiveErrorsIn(vs ...int) predicate.Ticket

ConsecutiveErrorsIn applies the In predicate on the "consecutive_errors" field.

func ConsecutiveErrorsLT

func ConsecutiveErrorsLT(v int) predicate.Ticket

ConsecutiveErrorsLT applies the LT predicate on the "consecutive_errors" field.

func ConsecutiveErrorsLTE

func ConsecutiveErrorsLTE(v int) predicate.Ticket

ConsecutiveErrorsLTE applies the LTE predicate on the "consecutive_errors" field.

func ConsecutiveErrorsNEQ

func ConsecutiveErrorsNEQ(v int) predicate.Ticket

ConsecutiveErrorsNEQ applies the NEQ predicate on the "consecutive_errors" field.

func ConsecutiveErrorsNotIn

func ConsecutiveErrorsNotIn(vs ...int) predicate.Ticket

ConsecutiveErrorsNotIn applies the NotIn predicate on the "consecutive_errors" field.

func CostAmount

func CostAmount(v float64) predicate.Ticket

CostAmount applies equality check predicate on the "cost_amount" field. It's identical to CostAmountEQ.

func CostAmountEQ

func CostAmountEQ(v float64) predicate.Ticket

CostAmountEQ applies the EQ predicate on the "cost_amount" field.

func CostAmountGT

func CostAmountGT(v float64) predicate.Ticket

CostAmountGT applies the GT predicate on the "cost_amount" field.

func CostAmountGTE

func CostAmountGTE(v float64) predicate.Ticket

CostAmountGTE applies the GTE predicate on the "cost_amount" field.

func CostAmountIn

func CostAmountIn(vs ...float64) predicate.Ticket

CostAmountIn applies the In predicate on the "cost_amount" field.

func CostAmountLT

func CostAmountLT(v float64) predicate.Ticket

CostAmountLT applies the LT predicate on the "cost_amount" field.

func CostAmountLTE

func CostAmountLTE(v float64) predicate.Ticket

CostAmountLTE applies the LTE predicate on the "cost_amount" field.

func CostAmountNEQ

func CostAmountNEQ(v float64) predicate.Ticket

CostAmountNEQ applies the NEQ predicate on the "cost_amount" field.

func CostAmountNotIn

func CostAmountNotIn(vs ...float64) predicate.Ticket

CostAmountNotIn applies the NotIn predicate on the "cost_amount" field.

func CostTokensInput

func CostTokensInput(v int64) predicate.Ticket

CostTokensInput applies equality check predicate on the "cost_tokens_input" field. It's identical to CostTokensInputEQ.

func CostTokensInputEQ

func CostTokensInputEQ(v int64) predicate.Ticket

CostTokensInputEQ applies the EQ predicate on the "cost_tokens_input" field.

func CostTokensInputGT

func CostTokensInputGT(v int64) predicate.Ticket

CostTokensInputGT applies the GT predicate on the "cost_tokens_input" field.

func CostTokensInputGTE

func CostTokensInputGTE(v int64) predicate.Ticket

CostTokensInputGTE applies the GTE predicate on the "cost_tokens_input" field.

func CostTokensInputIn

func CostTokensInputIn(vs ...int64) predicate.Ticket

CostTokensInputIn applies the In predicate on the "cost_tokens_input" field.

func CostTokensInputLT

func CostTokensInputLT(v int64) predicate.Ticket

CostTokensInputLT applies the LT predicate on the "cost_tokens_input" field.

func CostTokensInputLTE

func CostTokensInputLTE(v int64) predicate.Ticket

CostTokensInputLTE applies the LTE predicate on the "cost_tokens_input" field.

func CostTokensInputNEQ

func CostTokensInputNEQ(v int64) predicate.Ticket

CostTokensInputNEQ applies the NEQ predicate on the "cost_tokens_input" field.

func CostTokensInputNotIn

func CostTokensInputNotIn(vs ...int64) predicate.Ticket

CostTokensInputNotIn applies the NotIn predicate on the "cost_tokens_input" field.

func CostTokensOutput

func CostTokensOutput(v int64) predicate.Ticket

CostTokensOutput applies equality check predicate on the "cost_tokens_output" field. It's identical to CostTokensOutputEQ.

func CostTokensOutputEQ

func CostTokensOutputEQ(v int64) predicate.Ticket

CostTokensOutputEQ applies the EQ predicate on the "cost_tokens_output" field.

func CostTokensOutputGT

func CostTokensOutputGT(v int64) predicate.Ticket

CostTokensOutputGT applies the GT predicate on the "cost_tokens_output" field.

func CostTokensOutputGTE

func CostTokensOutputGTE(v int64) predicate.Ticket

CostTokensOutputGTE applies the GTE predicate on the "cost_tokens_output" field.

func CostTokensOutputIn

func CostTokensOutputIn(vs ...int64) predicate.Ticket

CostTokensOutputIn applies the In predicate on the "cost_tokens_output" field.

func CostTokensOutputLT

func CostTokensOutputLT(v int64) predicate.Ticket

CostTokensOutputLT applies the LT predicate on the "cost_tokens_output" field.

func CostTokensOutputLTE

func CostTokensOutputLTE(v int64) predicate.Ticket

CostTokensOutputLTE applies the LTE predicate on the "cost_tokens_output" field.

func CostTokensOutputNEQ

func CostTokensOutputNEQ(v int64) predicate.Ticket

CostTokensOutputNEQ applies the NEQ predicate on the "cost_tokens_output" field.

func CostTokensOutputNotIn

func CostTokensOutputNotIn(vs ...int64) predicate.Ticket

CostTokensOutputNotIn applies the NotIn predicate on the "cost_tokens_output" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.Ticket

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Ticket

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Ticket

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Ticket

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Ticket

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Ticket

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Ticket

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

func CreatedAtNotIn

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

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

func CreatedBy

func CreatedBy(v string) predicate.Ticket

CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.

func CreatedByContains

func CreatedByContains(v string) predicate.Ticket

CreatedByContains applies the Contains predicate on the "created_by" field.

func CreatedByContainsFold

func CreatedByContainsFold(v string) predicate.Ticket

CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.

func CreatedByEQ

func CreatedByEQ(v string) predicate.Ticket

CreatedByEQ applies the EQ predicate on the "created_by" field.

func CreatedByEqualFold

func CreatedByEqualFold(v string) predicate.Ticket

CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.

func CreatedByGT

func CreatedByGT(v string) predicate.Ticket

CreatedByGT applies the GT predicate on the "created_by" field.

func CreatedByGTE

func CreatedByGTE(v string) predicate.Ticket

CreatedByGTE applies the GTE predicate on the "created_by" field.

func CreatedByHasPrefix

func CreatedByHasPrefix(v string) predicate.Ticket

CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.

func CreatedByHasSuffix

func CreatedByHasSuffix(v string) predicate.Ticket

CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.

func CreatedByIn

func CreatedByIn(vs ...string) predicate.Ticket

CreatedByIn applies the In predicate on the "created_by" field.

func CreatedByLT

func CreatedByLT(v string) predicate.Ticket

CreatedByLT applies the LT predicate on the "created_by" field.

func CreatedByLTE

func CreatedByLTE(v string) predicate.Ticket

CreatedByLTE applies the LTE predicate on the "created_by" field.

func CreatedByNEQ

func CreatedByNEQ(v string) predicate.Ticket

CreatedByNEQ applies the NEQ predicate on the "created_by" field.

func CreatedByNotIn

func CreatedByNotIn(vs ...string) predicate.Ticket

CreatedByNotIn applies the NotIn predicate on the "created_by" field.

func CurrentRunID

func CurrentRunID(v uuid.UUID) predicate.Ticket

CurrentRunID applies equality check predicate on the "current_run_id" field. It's identical to CurrentRunIDEQ.

func CurrentRunIDEQ

func CurrentRunIDEQ(v uuid.UUID) predicate.Ticket

CurrentRunIDEQ applies the EQ predicate on the "current_run_id" field.

func CurrentRunIDIn

func CurrentRunIDIn(vs ...uuid.UUID) predicate.Ticket

CurrentRunIDIn applies the In predicate on the "current_run_id" field.

func CurrentRunIDIsNil

func CurrentRunIDIsNil() predicate.Ticket

CurrentRunIDIsNil applies the IsNil predicate on the "current_run_id" field.

func CurrentRunIDNEQ

func CurrentRunIDNEQ(v uuid.UUID) predicate.Ticket

CurrentRunIDNEQ applies the NEQ predicate on the "current_run_id" field.

func CurrentRunIDNotIn

func CurrentRunIDNotIn(vs ...uuid.UUID) predicate.Ticket

CurrentRunIDNotIn applies the NotIn predicate on the "current_run_id" field.

func CurrentRunIDNotNil

func CurrentRunIDNotNil() predicate.Ticket

CurrentRunIDNotNil applies the NotNil predicate on the "current_run_id" field.

func Description

func Description(v string) predicate.Ticket

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

func DescriptionContains

func DescriptionContains(v string) predicate.Ticket

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

func DescriptionContainsFold

func DescriptionContainsFold(v string) predicate.Ticket

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

func DescriptionEQ

func DescriptionEQ(v string) predicate.Ticket

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

func DescriptionEqualFold

func DescriptionEqualFold(v string) predicate.Ticket

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

func DescriptionGT

func DescriptionGT(v string) predicate.Ticket

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

func DescriptionGTE

func DescriptionGTE(v string) predicate.Ticket

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

func DescriptionHasPrefix

func DescriptionHasPrefix(v string) predicate.Ticket

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

func DescriptionHasSuffix

func DescriptionHasSuffix(v string) predicate.Ticket

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

func DescriptionIn

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

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

func DescriptionIsNil

func DescriptionIsNil() predicate.Ticket

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

func DescriptionLT

func DescriptionLT(v string) predicate.Ticket

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

func DescriptionLTE

func DescriptionLTE(v string) predicate.Ticket

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

func DescriptionNEQ

func DescriptionNEQ(v string) predicate.Ticket

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

func DescriptionNotIn

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

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

func DescriptionNotNil

func DescriptionNotNil() predicate.Ticket

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

func ExternalRef

func ExternalRef(v string) predicate.Ticket

ExternalRef applies equality check predicate on the "external_ref" field. It's identical to ExternalRefEQ.

func ExternalRefContains

func ExternalRefContains(v string) predicate.Ticket

ExternalRefContains applies the Contains predicate on the "external_ref" field.

func ExternalRefContainsFold

func ExternalRefContainsFold(v string) predicate.Ticket

ExternalRefContainsFold applies the ContainsFold predicate on the "external_ref" field.

func ExternalRefEQ

func ExternalRefEQ(v string) predicate.Ticket

ExternalRefEQ applies the EQ predicate on the "external_ref" field.

func ExternalRefEqualFold

func ExternalRefEqualFold(v string) predicate.Ticket

ExternalRefEqualFold applies the EqualFold predicate on the "external_ref" field.

func ExternalRefGT

func ExternalRefGT(v string) predicate.Ticket

ExternalRefGT applies the GT predicate on the "external_ref" field.

func ExternalRefGTE

func ExternalRefGTE(v string) predicate.Ticket

ExternalRefGTE applies the GTE predicate on the "external_ref" field.

func ExternalRefHasPrefix

func ExternalRefHasPrefix(v string) predicate.Ticket

ExternalRefHasPrefix applies the HasPrefix predicate on the "external_ref" field.

func ExternalRefHasSuffix

func ExternalRefHasSuffix(v string) predicate.Ticket

ExternalRefHasSuffix applies the HasSuffix predicate on the "external_ref" field.

func ExternalRefIn

func ExternalRefIn(vs ...string) predicate.Ticket

ExternalRefIn applies the In predicate on the "external_ref" field.

func ExternalRefIsNil

func ExternalRefIsNil() predicate.Ticket

ExternalRefIsNil applies the IsNil predicate on the "external_ref" field.

func ExternalRefLT

func ExternalRefLT(v string) predicate.Ticket

ExternalRefLT applies the LT predicate on the "external_ref" field.

func ExternalRefLTE

func ExternalRefLTE(v string) predicate.Ticket

ExternalRefLTE applies the LTE predicate on the "external_ref" field.

func ExternalRefNEQ

func ExternalRefNEQ(v string) predicate.Ticket

ExternalRefNEQ applies the NEQ predicate on the "external_ref" field.

func ExternalRefNotIn

func ExternalRefNotIn(vs ...string) predicate.Ticket

ExternalRefNotIn applies the NotIn predicate on the "external_ref" field.

func ExternalRefNotNil

func ExternalRefNotNil() predicate.Ticket

ExternalRefNotNil applies the NotNil predicate on the "external_ref" field.

func HarnessVersion

func HarnessVersion(v int) predicate.Ticket

HarnessVersion applies equality check predicate on the "harness_version" field. It's identical to HarnessVersionEQ.

func HarnessVersionEQ

func HarnessVersionEQ(v int) predicate.Ticket

HarnessVersionEQ applies the EQ predicate on the "harness_version" field.

func HarnessVersionGT

func HarnessVersionGT(v int) predicate.Ticket

HarnessVersionGT applies the GT predicate on the "harness_version" field.

func HarnessVersionGTE

func HarnessVersionGTE(v int) predicate.Ticket

HarnessVersionGTE applies the GTE predicate on the "harness_version" field.

func HarnessVersionIn

func HarnessVersionIn(vs ...int) predicate.Ticket

HarnessVersionIn applies the In predicate on the "harness_version" field.

func HarnessVersionLT

func HarnessVersionLT(v int) predicate.Ticket

HarnessVersionLT applies the LT predicate on the "harness_version" field.

func HarnessVersionLTE

func HarnessVersionLTE(v int) predicate.Ticket

HarnessVersionLTE applies the LTE predicate on the "harness_version" field.

func HarnessVersionNEQ

func HarnessVersionNEQ(v int) predicate.Ticket

HarnessVersionNEQ applies the NEQ predicate on the "harness_version" field.

func HarnessVersionNotIn

func HarnessVersionNotIn(vs ...int) predicate.Ticket

HarnessVersionNotIn applies the NotIn predicate on the "harness_version" field.

func HasActivityEvents

func HasActivityEvents() predicate.Ticket

HasActivityEvents applies the HasEdge predicate on the "activity_events" edge.

func HasActivityEventsWith

func HasActivityEventsWith(preds ...predicate.ActivityEvent) predicate.Ticket

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

func HasAgentActivityInstances added in v0.5.0

func HasAgentActivityInstances() predicate.Ticket

HasAgentActivityInstances applies the HasEdge predicate on the "agent_activity_instances" edge.

func HasAgentActivityInstancesWith added in v0.5.0

func HasAgentActivityInstancesWith(preds ...predicate.AgentActivityInstance) predicate.Ticket

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

func HasAgentRawEvents added in v0.5.0

func HasAgentRawEvents() predicate.Ticket

HasAgentRawEvents applies the HasEdge predicate on the "agent_raw_events" edge.

func HasAgentRawEventsWith added in v0.5.0

func HasAgentRawEventsWith(preds ...predicate.AgentRawEvent) predicate.Ticket

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

func HasAgentRuns

func HasAgentRuns() predicate.Ticket

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

func HasAgentRunsWith

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

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

func HasAgentStepEvents

func HasAgentStepEvents() predicate.Ticket

HasAgentStepEvents applies the HasEdge predicate on the "agent_step_events" edge.

func HasAgentStepEventsWith

func HasAgentStepEventsWith(preds ...predicate.AgentStepEvent) predicate.Ticket

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

func HasAgentTokens

func HasAgentTokens() predicate.Ticket

HasAgentTokens applies the HasEdge predicate on the "agent_tokens" edge.

func HasAgentTokensWith

func HasAgentTokensWith(preds ...predicate.AgentToken) predicate.Ticket

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

func HasAgentTraceEvents

func HasAgentTraceEvents() predicate.Ticket

HasAgentTraceEvents applies the HasEdge predicate on the "agent_trace_events" edge.

func HasAgentTraceEventsWith

func HasAgentTraceEventsWith(preds ...predicate.AgentTraceEvent) predicate.Ticket

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

func HasAgentTranscriptEntries added in v0.5.0

func HasAgentTranscriptEntries() predicate.Ticket

HasAgentTranscriptEntries applies the HasEdge predicate on the "agent_transcript_entries" edge.

func HasAgentTranscriptEntriesWith added in v0.5.0

func HasAgentTranscriptEntriesWith(preds ...predicate.AgentTranscriptEntry) predicate.Ticket

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

func HasChildren

func HasChildren() predicate.Ticket

HasChildren applies the HasEdge predicate on the "children" edge.

func HasChildrenWith

func HasChildrenWith(preds ...predicate.Ticket) predicate.Ticket

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

func HasComments

func HasComments() predicate.Ticket

HasComments applies the HasEdge predicate on the "comments" edge.

func HasCommentsWith

func HasCommentsWith(preds ...predicate.TicketComment) predicate.Ticket

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

func HasCurrentRun

func HasCurrentRun() predicate.Ticket

HasCurrentRun applies the HasEdge predicate on the "current_run" edge.

func HasCurrentRunWith

func HasCurrentRunWith(preds ...predicate.AgentRun) predicate.Ticket

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

func HasExternalLinks() predicate.Ticket

HasExternalLinks applies the HasEdge predicate on the "external_links" edge.

func HasExternalLinksWith

func HasExternalLinksWith(preds ...predicate.TicketExternalLink) predicate.Ticket

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

func HasIncomingDependencies

func HasIncomingDependencies() predicate.Ticket

HasIncomingDependencies applies the HasEdge predicate on the "incoming_dependencies" edge.

func HasIncomingDependenciesWith

func HasIncomingDependenciesWith(preds ...predicate.TicketDependency) predicate.Ticket

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

func HasOutgoingDependencies

func HasOutgoingDependencies() predicate.Ticket

HasOutgoingDependencies applies the HasEdge predicate on the "outgoing_dependencies" edge.

func HasOutgoingDependenciesWith

func HasOutgoingDependenciesWith(preds ...predicate.TicketDependency) predicate.Ticket

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

func HasParent

func HasParent() predicate.Ticket

HasParent applies the HasEdge predicate on the "parent" edge.

func HasParentWith

func HasParentWith(preds ...predicate.Ticket) predicate.Ticket

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

func HasProject

func HasProject() predicate.Ticket

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

func HasProjectWith

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

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

func HasRepoScopes

func HasRepoScopes() predicate.Ticket

HasRepoScopes applies the HasEdge predicate on the "repo_scopes" edge.

func HasRepoScopesWith

func HasRepoScopesWith(preds ...predicate.TicketRepoScope) predicate.Ticket

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

func HasRepoWorkspaces

func HasRepoWorkspaces() predicate.Ticket

HasRepoWorkspaces applies the HasEdge predicate on the "repo_workspaces" edge.

func HasRepoWorkspacesWith

func HasRepoWorkspacesWith(preds ...predicate.TicketRepoWorkspace) predicate.Ticket

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

func HasStatus

func HasStatus() predicate.Ticket

HasStatus applies the HasEdge predicate on the "status" edge.

func HasStatusWith

func HasStatusWith(preds ...predicate.TicketStatus) predicate.Ticket

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

func HasTargetMachine

func HasTargetMachine() predicate.Ticket

HasTargetMachine applies the HasEdge predicate on the "target_machine" edge.

func HasTargetMachineWith

func HasTargetMachineWith(preds ...predicate.Machine) predicate.Ticket

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

func HasWorkflow

func HasWorkflow() predicate.Ticket

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

func HasWorkflowWith

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

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

func ID

func ID(id uuid.UUID) predicate.Ticket

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uuid.UUID) predicate.Ticket

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uuid.UUID) predicate.Ticket

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uuid.UUID) predicate.Ticket

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uuid.UUID) predicate.Ticket

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.Ticket

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.Ticket

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Identifier

func Identifier(v string) predicate.Ticket

Identifier applies equality check predicate on the "identifier" field. It's identical to IdentifierEQ.

func IdentifierContains

func IdentifierContains(v string) predicate.Ticket

IdentifierContains applies the Contains predicate on the "identifier" field.

func IdentifierContainsFold

func IdentifierContainsFold(v string) predicate.Ticket

IdentifierContainsFold applies the ContainsFold predicate on the "identifier" field.

func IdentifierEQ

func IdentifierEQ(v string) predicate.Ticket

IdentifierEQ applies the EQ predicate on the "identifier" field.

func IdentifierEqualFold

func IdentifierEqualFold(v string) predicate.Ticket

IdentifierEqualFold applies the EqualFold predicate on the "identifier" field.

func IdentifierGT

func IdentifierGT(v string) predicate.Ticket

IdentifierGT applies the GT predicate on the "identifier" field.

func IdentifierGTE

func IdentifierGTE(v string) predicate.Ticket

IdentifierGTE applies the GTE predicate on the "identifier" field.

func IdentifierHasPrefix

func IdentifierHasPrefix(v string) predicate.Ticket

IdentifierHasPrefix applies the HasPrefix predicate on the "identifier" field.

func IdentifierHasSuffix

func IdentifierHasSuffix(v string) predicate.Ticket

IdentifierHasSuffix applies the HasSuffix predicate on the "identifier" field.

func IdentifierIn

func IdentifierIn(vs ...string) predicate.Ticket

IdentifierIn applies the In predicate on the "identifier" field.

func IdentifierLT

func IdentifierLT(v string) predicate.Ticket

IdentifierLT applies the LT predicate on the "identifier" field.

func IdentifierLTE

func IdentifierLTE(v string) predicate.Ticket

IdentifierLTE applies the LTE predicate on the "identifier" field.

func IdentifierNEQ

func IdentifierNEQ(v string) predicate.Ticket

IdentifierNEQ applies the NEQ predicate on the "identifier" field.

func IdentifierNotIn

func IdentifierNotIn(vs ...string) predicate.Ticket

IdentifierNotIn applies the NotIn predicate on the "identifier" field.

func NextRetryAt

func NextRetryAt(v time.Time) predicate.Ticket

NextRetryAt applies equality check predicate on the "next_retry_at" field. It's identical to NextRetryAtEQ.

func NextRetryAtEQ

func NextRetryAtEQ(v time.Time) predicate.Ticket

NextRetryAtEQ applies the EQ predicate on the "next_retry_at" field.

func NextRetryAtGT

func NextRetryAtGT(v time.Time) predicate.Ticket

NextRetryAtGT applies the GT predicate on the "next_retry_at" field.

func NextRetryAtGTE

func NextRetryAtGTE(v time.Time) predicate.Ticket

NextRetryAtGTE applies the GTE predicate on the "next_retry_at" field.

func NextRetryAtIn

func NextRetryAtIn(vs ...time.Time) predicate.Ticket

NextRetryAtIn applies the In predicate on the "next_retry_at" field.

func NextRetryAtIsNil

func NextRetryAtIsNil() predicate.Ticket

NextRetryAtIsNil applies the IsNil predicate on the "next_retry_at" field.

func NextRetryAtLT

func NextRetryAtLT(v time.Time) predicate.Ticket

NextRetryAtLT applies the LT predicate on the "next_retry_at" field.

func NextRetryAtLTE

func NextRetryAtLTE(v time.Time) predicate.Ticket

NextRetryAtLTE applies the LTE predicate on the "next_retry_at" field.

func NextRetryAtNEQ

func NextRetryAtNEQ(v time.Time) predicate.Ticket

NextRetryAtNEQ applies the NEQ predicate on the "next_retry_at" field.

func NextRetryAtNotIn

func NextRetryAtNotIn(vs ...time.Time) predicate.Ticket

NextRetryAtNotIn applies the NotIn predicate on the "next_retry_at" field.

func NextRetryAtNotNil

func NextRetryAtNotNil() predicate.Ticket

NextRetryAtNotNil applies the NotNil predicate on the "next_retry_at" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Ticket) predicate.Ticket

Or groups predicates with the OR operator between them.

func ParentTicketID

func ParentTicketID(v uuid.UUID) predicate.Ticket

ParentTicketID applies equality check predicate on the "parent_ticket_id" field. It's identical to ParentTicketIDEQ.

func ParentTicketIDEQ

func ParentTicketIDEQ(v uuid.UUID) predicate.Ticket

ParentTicketIDEQ applies the EQ predicate on the "parent_ticket_id" field.

func ParentTicketIDIn

func ParentTicketIDIn(vs ...uuid.UUID) predicate.Ticket

ParentTicketIDIn applies the In predicate on the "parent_ticket_id" field.

func ParentTicketIDIsNil

func ParentTicketIDIsNil() predicate.Ticket

ParentTicketIDIsNil applies the IsNil predicate on the "parent_ticket_id" field.

func ParentTicketIDNEQ

func ParentTicketIDNEQ(v uuid.UUID) predicate.Ticket

ParentTicketIDNEQ applies the NEQ predicate on the "parent_ticket_id" field.

func ParentTicketIDNotIn

func ParentTicketIDNotIn(vs ...uuid.UUID) predicate.Ticket

ParentTicketIDNotIn applies the NotIn predicate on the "parent_ticket_id" field.

func ParentTicketIDNotNil

func ParentTicketIDNotNil() predicate.Ticket

ParentTicketIDNotNil applies the NotNil predicate on the "parent_ticket_id" field.

func PauseReason

func PauseReason(v string) predicate.Ticket

PauseReason applies equality check predicate on the "pause_reason" field. It's identical to PauseReasonEQ.

func PauseReasonContains

func PauseReasonContains(v string) predicate.Ticket

PauseReasonContains applies the Contains predicate on the "pause_reason" field.

func PauseReasonContainsFold

func PauseReasonContainsFold(v string) predicate.Ticket

PauseReasonContainsFold applies the ContainsFold predicate on the "pause_reason" field.

func PauseReasonEQ

func PauseReasonEQ(v string) predicate.Ticket

PauseReasonEQ applies the EQ predicate on the "pause_reason" field.

func PauseReasonEqualFold

func PauseReasonEqualFold(v string) predicate.Ticket

PauseReasonEqualFold applies the EqualFold predicate on the "pause_reason" field.

func PauseReasonGT

func PauseReasonGT(v string) predicate.Ticket

PauseReasonGT applies the GT predicate on the "pause_reason" field.

func PauseReasonGTE

func PauseReasonGTE(v string) predicate.Ticket

PauseReasonGTE applies the GTE predicate on the "pause_reason" field.

func PauseReasonHasPrefix

func PauseReasonHasPrefix(v string) predicate.Ticket

PauseReasonHasPrefix applies the HasPrefix predicate on the "pause_reason" field.

func PauseReasonHasSuffix

func PauseReasonHasSuffix(v string) predicate.Ticket

PauseReasonHasSuffix applies the HasSuffix predicate on the "pause_reason" field.

func PauseReasonIn

func PauseReasonIn(vs ...string) predicate.Ticket

PauseReasonIn applies the In predicate on the "pause_reason" field.

func PauseReasonIsNil

func PauseReasonIsNil() predicate.Ticket

PauseReasonIsNil applies the IsNil predicate on the "pause_reason" field.

func PauseReasonLT

func PauseReasonLT(v string) predicate.Ticket

PauseReasonLT applies the LT predicate on the "pause_reason" field.

func PauseReasonLTE

func PauseReasonLTE(v string) predicate.Ticket

PauseReasonLTE applies the LTE predicate on the "pause_reason" field.

func PauseReasonNEQ

func PauseReasonNEQ(v string) predicate.Ticket

PauseReasonNEQ applies the NEQ predicate on the "pause_reason" field.

func PauseReasonNotIn

func PauseReasonNotIn(vs ...string) predicate.Ticket

PauseReasonNotIn applies the NotIn predicate on the "pause_reason" field.

func PauseReasonNotNil

func PauseReasonNotNil() predicate.Ticket

PauseReasonNotNil applies the NotNil predicate on the "pause_reason" field.

func PriorityEQ

func PriorityEQ(v Priority) predicate.Ticket

PriorityEQ applies the EQ predicate on the "priority" field.

func PriorityIn

func PriorityIn(vs ...Priority) predicate.Ticket

PriorityIn applies the In predicate on the "priority" field.

func PriorityIsNil

func PriorityIsNil() predicate.Ticket

PriorityIsNil applies the IsNil predicate on the "priority" field.

func PriorityNEQ

func PriorityNEQ(v Priority) predicate.Ticket

PriorityNEQ applies the NEQ predicate on the "priority" field.

func PriorityNotIn

func PriorityNotIn(vs ...Priority) predicate.Ticket

PriorityNotIn applies the NotIn predicate on the "priority" field.

func PriorityNotNil

func PriorityNotNil() predicate.Ticket

PriorityNotNil applies the NotNil predicate on the "priority" field.

func PriorityValidator

func PriorityValidator(pr Priority) error

PriorityValidator is a validator for the "priority" field enum values. It is called by the builders before save.

func ProjectID

func ProjectID(v uuid.UUID) predicate.Ticket

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

func ProjectIDEQ

func ProjectIDEQ(v uuid.UUID) predicate.Ticket

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

func ProjectIDIn

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

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

func ProjectIDNEQ

func ProjectIDNEQ(v uuid.UUID) predicate.Ticket

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

func ProjectIDNotIn

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

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

func RetryPaused

func RetryPaused(v bool) predicate.Ticket

RetryPaused applies equality check predicate on the "retry_paused" field. It's identical to RetryPausedEQ.

func RetryPausedEQ

func RetryPausedEQ(v bool) predicate.Ticket

RetryPausedEQ applies the EQ predicate on the "retry_paused" field.

func RetryPausedNEQ

func RetryPausedNEQ(v bool) predicate.Ticket

RetryPausedNEQ applies the NEQ predicate on the "retry_paused" field.

func RetryToken

func RetryToken(v string) predicate.Ticket

RetryToken applies equality check predicate on the "retry_token" field. It's identical to RetryTokenEQ.

func RetryTokenContains

func RetryTokenContains(v string) predicate.Ticket

RetryTokenContains applies the Contains predicate on the "retry_token" field.

func RetryTokenContainsFold

func RetryTokenContainsFold(v string) predicate.Ticket

RetryTokenContainsFold applies the ContainsFold predicate on the "retry_token" field.

func RetryTokenEQ

func RetryTokenEQ(v string) predicate.Ticket

RetryTokenEQ applies the EQ predicate on the "retry_token" field.

func RetryTokenEqualFold

func RetryTokenEqualFold(v string) predicate.Ticket

RetryTokenEqualFold applies the EqualFold predicate on the "retry_token" field.

func RetryTokenGT

func RetryTokenGT(v string) predicate.Ticket

RetryTokenGT applies the GT predicate on the "retry_token" field.

func RetryTokenGTE

func RetryTokenGTE(v string) predicate.Ticket

RetryTokenGTE applies the GTE predicate on the "retry_token" field.

func RetryTokenHasPrefix

func RetryTokenHasPrefix(v string) predicate.Ticket

RetryTokenHasPrefix applies the HasPrefix predicate on the "retry_token" field.

func RetryTokenHasSuffix

func RetryTokenHasSuffix(v string) predicate.Ticket

RetryTokenHasSuffix applies the HasSuffix predicate on the "retry_token" field.

func RetryTokenIn

func RetryTokenIn(vs ...string) predicate.Ticket

RetryTokenIn applies the In predicate on the "retry_token" field.

func RetryTokenIsNil

func RetryTokenIsNil() predicate.Ticket

RetryTokenIsNil applies the IsNil predicate on the "retry_token" field.

func RetryTokenLT

func RetryTokenLT(v string) predicate.Ticket

RetryTokenLT applies the LT predicate on the "retry_token" field.

func RetryTokenLTE

func RetryTokenLTE(v string) predicate.Ticket

RetryTokenLTE applies the LTE predicate on the "retry_token" field.

func RetryTokenNEQ

func RetryTokenNEQ(v string) predicate.Ticket

RetryTokenNEQ applies the NEQ predicate on the "retry_token" field.

func RetryTokenNotIn

func RetryTokenNotIn(vs ...string) predicate.Ticket

RetryTokenNotIn applies the NotIn predicate on the "retry_token" field.

func RetryTokenNotNil

func RetryTokenNotNil() predicate.Ticket

RetryTokenNotNil applies the NotNil predicate on the "retry_token" field.

func StallCount

func StallCount(v int) predicate.Ticket

StallCount applies equality check predicate on the "stall_count" field. It's identical to StallCountEQ.

func StallCountEQ

func StallCountEQ(v int) predicate.Ticket

StallCountEQ applies the EQ predicate on the "stall_count" field.

func StallCountGT

func StallCountGT(v int) predicate.Ticket

StallCountGT applies the GT predicate on the "stall_count" field.

func StallCountGTE

func StallCountGTE(v int) predicate.Ticket

StallCountGTE applies the GTE predicate on the "stall_count" field.

func StallCountIn

func StallCountIn(vs ...int) predicate.Ticket

StallCountIn applies the In predicate on the "stall_count" field.

func StallCountLT

func StallCountLT(v int) predicate.Ticket

StallCountLT applies the LT predicate on the "stall_count" field.

func StallCountLTE

func StallCountLTE(v int) predicate.Ticket

StallCountLTE applies the LTE predicate on the "stall_count" field.

func StallCountNEQ

func StallCountNEQ(v int) predicate.Ticket

StallCountNEQ applies the NEQ predicate on the "stall_count" field.

func StallCountNotIn

func StallCountNotIn(vs ...int) predicate.Ticket

StallCountNotIn applies the NotIn predicate on the "stall_count" field.

func StartedAt

func StartedAt(v time.Time) predicate.Ticket

StartedAt applies equality check predicate on the "started_at" field. It's identical to StartedAtEQ.

func StartedAtEQ

func StartedAtEQ(v time.Time) predicate.Ticket

StartedAtEQ applies the EQ predicate on the "started_at" field.

func StartedAtGT

func StartedAtGT(v time.Time) predicate.Ticket

StartedAtGT applies the GT predicate on the "started_at" field.

func StartedAtGTE

func StartedAtGTE(v time.Time) predicate.Ticket

StartedAtGTE applies the GTE predicate on the "started_at" field.

func StartedAtIn

func StartedAtIn(vs ...time.Time) predicate.Ticket

StartedAtIn applies the In predicate on the "started_at" field.

func StartedAtIsNil

func StartedAtIsNil() predicate.Ticket

StartedAtIsNil applies the IsNil predicate on the "started_at" field.

func StartedAtLT

func StartedAtLT(v time.Time) predicate.Ticket

StartedAtLT applies the LT predicate on the "started_at" field.

func StartedAtLTE

func StartedAtLTE(v time.Time) predicate.Ticket

StartedAtLTE applies the LTE predicate on the "started_at" field.

func StartedAtNEQ

func StartedAtNEQ(v time.Time) predicate.Ticket

StartedAtNEQ applies the NEQ predicate on the "started_at" field.

func StartedAtNotIn

func StartedAtNotIn(vs ...time.Time) predicate.Ticket

StartedAtNotIn applies the NotIn predicate on the "started_at" field.

func StartedAtNotNil

func StartedAtNotNil() predicate.Ticket

StartedAtNotNil applies the NotNil predicate on the "started_at" field.

func StatusID

func StatusID(v uuid.UUID) predicate.Ticket

StatusID applies equality check predicate on the "status_id" field. It's identical to StatusIDEQ.

func StatusIDEQ

func StatusIDEQ(v uuid.UUID) predicate.Ticket

StatusIDEQ applies the EQ predicate on the "status_id" field.

func StatusIDIn

func StatusIDIn(vs ...uuid.UUID) predicate.Ticket

StatusIDIn applies the In predicate on the "status_id" field.

func StatusIDNEQ

func StatusIDNEQ(v uuid.UUID) predicate.Ticket

StatusIDNEQ applies the NEQ predicate on the "status_id" field.

func StatusIDNotIn

func StatusIDNotIn(vs ...uuid.UUID) predicate.Ticket

StatusIDNotIn applies the NotIn predicate on the "status_id" field.

func TargetMachineID

func TargetMachineID(v uuid.UUID) predicate.Ticket

TargetMachineID applies equality check predicate on the "target_machine_id" field. It's identical to TargetMachineIDEQ.

func TargetMachineIDEQ

func TargetMachineIDEQ(v uuid.UUID) predicate.Ticket

TargetMachineIDEQ applies the EQ predicate on the "target_machine_id" field.

func TargetMachineIDIn

func TargetMachineIDIn(vs ...uuid.UUID) predicate.Ticket

TargetMachineIDIn applies the In predicate on the "target_machine_id" field.

func TargetMachineIDIsNil

func TargetMachineIDIsNil() predicate.Ticket

TargetMachineIDIsNil applies the IsNil predicate on the "target_machine_id" field.

func TargetMachineIDNEQ

func TargetMachineIDNEQ(v uuid.UUID) predicate.Ticket

TargetMachineIDNEQ applies the NEQ predicate on the "target_machine_id" field.

func TargetMachineIDNotIn

func TargetMachineIDNotIn(vs ...uuid.UUID) predicate.Ticket

TargetMachineIDNotIn applies the NotIn predicate on the "target_machine_id" field.

func TargetMachineIDNotNil

func TargetMachineIDNotNil() predicate.Ticket

TargetMachineIDNotNil applies the NotNil predicate on the "target_machine_id" field.

func Title

func Title(v string) predicate.Ticket

Title applies equality check predicate on the "title" field. It's identical to TitleEQ.

func TitleContains

func TitleContains(v string) predicate.Ticket

TitleContains applies the Contains predicate on the "title" field.

func TitleContainsFold

func TitleContainsFold(v string) predicate.Ticket

TitleContainsFold applies the ContainsFold predicate on the "title" field.

func TitleEQ

func TitleEQ(v string) predicate.Ticket

TitleEQ applies the EQ predicate on the "title" field.

func TitleEqualFold

func TitleEqualFold(v string) predicate.Ticket

TitleEqualFold applies the EqualFold predicate on the "title" field.

func TitleGT

func TitleGT(v string) predicate.Ticket

TitleGT applies the GT predicate on the "title" field.

func TitleGTE

func TitleGTE(v string) predicate.Ticket

TitleGTE applies the GTE predicate on the "title" field.

func TitleHasPrefix

func TitleHasPrefix(v string) predicate.Ticket

TitleHasPrefix applies the HasPrefix predicate on the "title" field.

func TitleHasSuffix

func TitleHasSuffix(v string) predicate.Ticket

TitleHasSuffix applies the HasSuffix predicate on the "title" field.

func TitleIn

func TitleIn(vs ...string) predicate.Ticket

TitleIn applies the In predicate on the "title" field.

func TitleLT

func TitleLT(v string) predicate.Ticket

TitleLT applies the LT predicate on the "title" field.

func TitleLTE

func TitleLTE(v string) predicate.Ticket

TitleLTE applies the LTE predicate on the "title" field.

func TitleNEQ

func TitleNEQ(v string) predicate.Ticket

TitleNEQ applies the NEQ predicate on the "title" field.

func TitleNotIn

func TitleNotIn(vs ...string) predicate.Ticket

TitleNotIn applies the NotIn predicate on the "title" field.

func TypeEQ

func TypeEQ(v Type) predicate.Ticket

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

func TypeIn

func TypeIn(vs ...Type) predicate.Ticket

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

func TypeNEQ

func TypeNEQ(v Type) predicate.Ticket

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

func TypeNotIn

func TypeNotIn(vs ...Type) predicate.Ticket

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

func TypeValidator

func TypeValidator(_type Type) error

TypeValidator is a validator for the "type" field enum values. It is called by the builders before save.

func ValidColumn

func ValidColumn(column string) bool

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

func WorkflowID

func WorkflowID(v uuid.UUID) predicate.Ticket

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

func WorkflowIDEQ

func WorkflowIDEQ(v uuid.UUID) predicate.Ticket

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

func WorkflowIDIn

func WorkflowIDIn(vs ...uuid.UUID) predicate.Ticket

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

func WorkflowIDIsNil

func WorkflowIDIsNil() predicate.Ticket

WorkflowIDIsNil applies the IsNil predicate on the "workflow_id" field.

func WorkflowIDNEQ

func WorkflowIDNEQ(v uuid.UUID) predicate.Ticket

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

func WorkflowIDNotIn

func WorkflowIDNotIn(vs ...uuid.UUID) predicate.Ticket

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

func WorkflowIDNotNil

func WorkflowIDNotNil() predicate.Ticket

WorkflowIDNotNil applies the NotNil predicate on the "workflow_id" field.

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the Ticket queries.

func ByActivityEvents

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

ByActivityEvents orders the results by activity_events terms.

func ByActivityEventsCount

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

ByActivityEventsCount orders the results by activity_events count.

func ByAgentActivityInstances added in v0.5.0

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

ByAgentActivityInstances orders the results by agent_activity_instances terms.

func ByAgentActivityInstancesCount added in v0.5.0

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

ByAgentActivityInstancesCount orders the results by agent_activity_instances count.

func ByAgentRawEvents added in v0.5.0

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

ByAgentRawEvents orders the results by agent_raw_events terms.

func ByAgentRawEventsCount added in v0.5.0

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

ByAgentRawEventsCount orders the results by agent_raw_events count.

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 ByAgentStepEvents

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

ByAgentStepEvents orders the results by agent_step_events terms.

func ByAgentStepEventsCount

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

ByAgentStepEventsCount orders the results by agent_step_events count.

func ByAgentTokens

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

ByAgentTokens orders the results by agent_tokens terms.

func ByAgentTokensCount

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

ByAgentTokensCount orders the results by agent_tokens count.

func ByAgentTraceEvents

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

ByAgentTraceEvents orders the results by agent_trace_events terms.

func ByAgentTraceEventsCount

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

ByAgentTraceEventsCount orders the results by agent_trace_events count.

func ByAgentTranscriptEntries added in v0.5.0

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

ByAgentTranscriptEntries orders the results by agent_transcript_entries terms.

func ByAgentTranscriptEntriesCount added in v0.5.0

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

ByAgentTranscriptEntriesCount orders the results by agent_transcript_entries count.

func ByArchived

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

ByArchived orders the results by the archived field.

func ByAttemptCount

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

ByAttemptCount orders the results by the attempt_count field.

func ByBudgetUsd

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

ByBudgetUsd orders the results by the budget_usd field.

func ByChildren

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

ByChildren orders the results by children terms.

func ByChildrenCount

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

ByChildrenCount orders the results by children count.

func ByComments

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

ByComments orders the results by comments terms.

func ByCommentsCount

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

ByCommentsCount orders the results by comments count.

func ByCompletedAt

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

ByCompletedAt orders the results by the completed_at field.

func ByConsecutiveErrors

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

ByConsecutiveErrors orders the results by the consecutive_errors field.

func ByCostAmount

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

ByCostAmount orders the results by the cost_amount field.

func ByCostTokensInput

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

ByCostTokensInput orders the results by the cost_tokens_input field.

func ByCostTokensOutput

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

ByCostTokensOutput orders the results by the cost_tokens_output field.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByCreatedBy

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

ByCreatedBy orders the results by the created_by field.

func ByCurrentRunField

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

ByCurrentRunField orders the results by current_run field.

func ByCurrentRunID

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

ByCurrentRunID orders the results by the current_run_id field.

func ByDescription

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

ByDescription orders the results by the description field.

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

ByExternalLinks orders the results by external_links terms.

func ByExternalLinksCount

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

ByExternalLinksCount orders the results by external_links count.

func ByExternalRef

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

ByExternalRef orders the results by the external_ref field.

func ByHarnessVersion

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

ByHarnessVersion orders the results by the harness_version field.

func ByID

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

ByID orders the results by the id field.

func ByIdentifier

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

ByIdentifier orders the results by the identifier field.

func ByIncomingDependencies

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

ByIncomingDependencies orders the results by incoming_dependencies terms.

func ByIncomingDependenciesCount

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

ByIncomingDependenciesCount orders the results by incoming_dependencies count.

func ByNextRetryAt

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

ByNextRetryAt orders the results by the next_retry_at field.

func ByOutgoingDependencies

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

ByOutgoingDependencies orders the results by outgoing_dependencies terms.

func ByOutgoingDependenciesCount

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

ByOutgoingDependenciesCount orders the results by outgoing_dependencies count.

func ByParentField

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

ByParentField orders the results by parent field.

func ByParentTicketID

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

ByParentTicketID orders the results by the parent_ticket_id field.

func ByPauseReason

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

ByPauseReason orders the results by the pause_reason field.

func ByPriority

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

ByPriority orders the results by the priority 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 ByRepoScopes

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

ByRepoScopes orders the results by repo_scopes terms.

func ByRepoScopesCount

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

ByRepoScopesCount orders the results by repo_scopes count.

func ByRepoWorkspaces

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

ByRepoWorkspaces orders the results by repo_workspaces terms.

func ByRepoWorkspacesCount

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

ByRepoWorkspacesCount orders the results by repo_workspaces count.

func ByRetryPaused

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

ByRetryPaused orders the results by the retry_paused field.

func ByRetryToken

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

ByRetryToken orders the results by the retry_token field.

func ByStallCount

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

ByStallCount orders the results by the stall_count field.

func ByStartedAt

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

ByStartedAt orders the results by the started_at field.

func ByStatusField

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

ByStatusField orders the results by status field.

func ByStatusID

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

ByStatusID orders the results by the status_id field.

func ByTargetMachineField

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

ByTargetMachineField orders the results by target_machine field.

func ByTargetMachineID

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

ByTargetMachineID orders the results by the target_machine_id field.

func ByTitle

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

ByTitle orders the results by the title field.

func ByType

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

ByType orders the results by the type field.

func ByWorkflowField

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

ByWorkflowField orders the results by workflow field.

func ByWorkflowID

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

ByWorkflowID orders the results by the workflow_id field.

type Priority

type Priority string

Priority defines the type for the "priority" enum field.

const (
	PriorityUrgent Priority = "urgent"
	PriorityHigh   Priority = "high"
	PriorityMedium Priority = "medium"
	PriorityLow    Priority = "low"
)

Priority values.

func (Priority) String

func (pr Priority) String() string

type Type

type Type string

Type defines the type for the "type" enum field.

const (
	TypeFeature  Type = "feature"
	TypeBugfix   Type = "bugfix"
	TypeRefactor Type = "refactor"
	TypeChore    Type = "chore"
	TypeEpic     Type = "epic"
)

Type values.

func (Type) String

func (_type Type) String() string

Jump to

Keyboard shortcuts

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