Documentation
¶
Index ¶
- type APIToken
- type AcquireOrExtendLeasesParams
- type Action
- type ActionToWorker
- type AddStepParentsParams
- type BulkCreateEventTriggersParams
- type BulkCreateEventsParams
- type BulkInsertDeclarativeFiltersParams
- type BulkUpdateRateLimitsParams
- type CanCreateWebhookParams
- type CheckStrategyActiveParams
- type ConcurrencyLimitStrategy
- type ControllerPartition
- type CountEventsParams
- type CountTasksParams
- type CountWorkflowRunsParams
- type CreateDAGDataParams
- type CreateDAGsOLAPParams
- type CreateDAGsParams
- type CreateDurableSleepParams
- type CreateFilterParams
- type CreateIncomingWebhookValidationFailureLogsParams
- type CreateJobParams
- type CreateMatchConditionsParams
- type CreateMatchesForDAGTriggersParams
- type CreateMatchesForSignalTriggersParams
- type CreateOLAPPartitionsParams
- type CreateStepConcurrencyParams
- type CreateStepExpressionsParams
- type CreateStepMatchConditionParams
- type CreateStepParams
- type CreateStepRateLimitParams
- type CreateTaskEventsOLAPParams
- type CreateTaskEventsOLAPTmpParams
- type CreateTaskEventsParams
- type CreateTaskExpressionEvalsParams
- type CreateTasksOLAPParams
- type CreateTasksParams
- type CreateWebhookParams
- type CreateWorkflowConcurrencyParams
- type CreateWorkflowConcurrencyV1Params
- type CreateWorkflowConcurrencyV1Row
- type CreateWorkflowParams
- type CreateWorkflowTriggerCronRefParams
- type CreateWorkflowTriggerEventRefParams
- type CreateWorkflowTriggersParams
- type CreateWorkflowVersionParams
- type DBTX
- type DeleteExistingDeclarativeFiltersForOverwriteParams
- type DeleteFilterParams
- type DeleteMatchingSignalEventsParams
- type DeleteTasksFromQueueParams
- type DeleteWebhookParams
- type Dispatcher
- type Event
- type EventKey
- type FailTaskAppFailureParams
- type FailTaskAppFailureRow
- type FailTaskInternalFailureParams
- type FailTaskInternalFailureRow
- type FetchWorkflowRunIdsParams
- type FetchWorkflowRunIdsRow
- type FindMinInsertedAtForDAGStatusUpdatesParams
- type FindMinInsertedAtForTaskStatusUpdatesParams
- type FlattenExternalIdsParams
- type FlattenExternalIdsRow
- type FlattenTasksByExternalIdsParams
- type FlattenTasksByExternalIdsRow
- type GetDAGDataParams
- type GetDAGDataRow
- type GetDagDurationsParams
- type GetDagDurationsRow
- type GetDesiredLabelsRow
- type GetFilterParams
- type GetGroupKeyRun
- type GetLatestWorkflowVersionForWorkflowsParams
- type GetLeasesToAcquireParams
- type GetMinUnprocessedQueueItemIdParams
- type GetQueuedCountsRow
- type GetRunsListRecursiveParams
- type GetRunsListRecursiveRow
- type GetSatisfiedMatchConditionsParams
- type GetTaskDurationsByTaskIdsParams
- type GetTaskDurationsByTaskIdsRow
- type GetTaskPointMetricsParams
- type GetTaskPointMetricsRow
- type GetTenantStatusMetricsParams
- type GetTenantStatusMetricsRow
- type GetWebhookParams
- type GetWorkerByIdRow
- type GetWorkflowByNameParams
- type GetWorkflowConcurrencyQueueCountsRow
- type GetWorkflowRunIdFromDagIdInsertedAtParams
- type GetWorkflowVersionForEngineParams
- type GetWorkflowVersionForEngineRow
- type InsertLogLineParams
- type InternalQueue
- type InternalQueueItem
- type InviteLinkStatus
- type IsTenantAlertActiveRow
- type Job
- type JobKind
- type JobRun
- type JobRunLookupData
- type JobRunStatus
- type Lease
- type LeaseKind
- type LimitResource
- type LinkOnFailureJobParams
- type ListActionsForWorkersParams
- type ListActionsForWorkersRow
- type ListActiveWorkersRow
- type ListAllTasksInDagsParams
- type ListAllTasksInDagsRow
- type ListAvailableSlotsForWorkersParams
- type ListAvailableSlotsForWorkersRow
- type ListConcurrencyStrategiesByStepIdParams
- type ListEventsParams
- type ListFilterCountsForWorkflowsParams
- type ListFilterCountsForWorkflowsRow
- type ListFiltersForEventTriggersParams
- type ListFiltersParams
- type ListLogLinesParams
- type ListManyWorkerLabelsRow
- type ListMatchConditionsForEventRow
- type ListMatchConditionsForEventWithHintParams
- type ListMatchConditionsForEventWithoutHintParams
- type ListMatchingSignalEventsParams
- type ListMatchingTaskEventsParams
- type ListMatchingTaskEventsRow
- type ListOLAPPartitionsBeforeDateParams
- type ListOLAPPartitionsBeforeDateRow
- type ListPartitionsBeforeDateRow
- type ListQueueItemsForQueueParams
- type ListRateLimitsForStepsParams
- type ListRateLimitsForTenantNoMutateParams
- type ListRateLimitsForTenantNoMutateRow
- type ListRateLimitsForTenantWithMutateRow
- type ListSemaphoreSlotsWithStateForWorkerParams
- type ListSemaphoreSlotsWithStateForWorkerRow
- type ListStepMatchConditionsParams
- type ListStepsByIdsParams
- type ListStepsByIdsRow
- type ListStepsByWorkflowVersionIdsParams
- type ListStepsByWorkflowVersionIdsRow
- type ListTaskEventsForWorkflowRunParams
- type ListTaskEventsForWorkflowRunRow
- type ListTaskEventsParams
- type ListTaskEventsRow
- type ListTaskExpressionEvalsParams
- type ListTaskMetasParams
- type ListTaskMetasRow
- type ListTaskParentOutputsParams
- type ListTaskParentOutputsRow
- type ListTasksByDAGIdsParams
- type ListTasksByDAGIdsRow
- type ListTasksByExternalIdsParams
- type ListTasksByExternalIdsRow
- type ListTasksForReplayParams
- type ListTasksForReplayRow
- type ListTasksOlapParams
- type ListTasksOlapRow
- type ListTasksParams
- type ListTasksToReassignParams
- type ListTasksToReassignRow
- type ListTasksToTimeoutParams
- type ListTasksToTimeoutRow
- type ListWebhooksParams
- type ListWorkersWithSlotCountParams
- type ListWorkersWithSlotCountRow
- type ListWorkflowNamesByIdsRow
- type ListWorkflowRunDisplayNamesParams
- type ListWorkflowRunDisplayNamesRow
- type ListWorkflowsByNamesParams
- type ListWorkflowsByNamesRow
- type ListWorkflowsForEventsParams
- type ListWorkflowsForEventsRow
- type LockDAGsForReplayParams
- type LockSignalCreatedEventsParams
- type LockSignalCreatedEventsRow
- type LogLine
- type LogLineLevel
- type LookupExternalIdsParams
- type ManualSlotReleaseParams
- type MessageQueue
- type MessageQueueItem
- type MessageQueueItemStatus
- type MoveCronTriggerToNewWorkflowTriggersParams
- type MoveRateLimitedQueueItemsParams
- type MoveRateLimitedQueueItemsRow
- type MoveScheduledTriggerToNewWorkflowTriggersParams
- type NullConcurrencyLimitStrategy
- type NullInternalQueue
- type NullInviteLinkStatus
- type NullJobKind
- type NullJobRunStatus
- type NullLeaseKind
- type NullLimitResource
- type NullLogLineLevel
- type NullMessageQueueItemStatus
- type NullStepExpressionKind
- type NullStepRateLimitKind
- type NullStepRunEventReason
- type NullStepRunEventSeverity
- type NullStepRunStatus
- type NullStickyStrategy
- type NullTenantMajorEngineVersion
- type NullTenantMajorUIVersion
- type NullTenantMemberRole
- type NullTenantResourceLimitAlertType
- type NullV1CelEvaluationFailureSource
- type NullV1ConcurrencyStrategy
- type NullV1EventType
- type NullV1EventTypeOlap
- type NullV1IncomingWebhookAuthType
- type NullV1IncomingWebhookHmacAlgorithm
- type NullV1IncomingWebhookHmacEncoding
- type NullV1IncomingWebhookSourceName
- type NullV1LogLineLevel
- type NullV1MatchConditionAction
- type NullV1MatchKind
- type NullV1ReadableStatusOlap
- type NullV1RunKind
- type NullV1StatusKind
- type NullV1StepMatchConditionKind
- type NullV1StickyStrategy
- type NullV1StickyStrategyOlap
- type NullV1TaskEventType
- type NullV1TaskInitialState
- type NullVcsProvider
- type NullWebhookWorkerRequestMethod
- type NullWorkerLabelComparator
- type NullWorkerSDKS
- type NullWorkerType
- type NullWorkflowKind
- type NullWorkflowRunStatus
- type NullWorkflowTriggerCronRefMethods
- type NullWorkflowTriggerScheduledRefMethods
- type PopDurableSleepParams
- type PopulateDAGMetadataParams
- type PopulateDAGMetadataRow
- type PopulateEventDataParams
- type PopulateEventDataRow
- type PopulateSingleTaskRunDataParams
- type PopulateSingleTaskRunDataRow
- type PopulateTaskRunDataParams
- type PopulateTaskRunDataRow
- type PreflightCheckDAGsForReplayParams
- type PreflightCheckDAGsForReplayRow
- type PreflightCheckTasksForReplayParams
- type PreflightCheckTasksForReplayRow
- type ProcessRetryQueueItemsParams
- type Queries
- func (q *Queries) AcquireOrExtendLeases(ctx context.Context, db DBTX, arg AcquireOrExtendLeasesParams) ([]*Lease, error)
- func (q *Queries) AddStepParents(ctx context.Context, db DBTX, arg AddStepParentsParams) error
- func (q *Queries) AdvisoryLock(ctx context.Context, db DBTX, key int64) error
- func (q *Queries) BulkCreateEventTriggers(ctx context.Context, db DBTX, arg []BulkCreateEventTriggersParams) (int64, error)
- func (q *Queries) BulkCreateEvents(ctx context.Context, db DBTX, arg BulkCreateEventsParams) ([]*V1EventsOlap, error)
- func (q *Queries) BulkInsertDeclarativeFilters(ctx context.Context, db DBTX, arg BulkInsertDeclarativeFiltersParams) error
- func (q *Queries) BulkQueueItems(ctx context.Context, db DBTX, ids []int64) ([]int64, error)
- func (q *Queries) BulkUpdateRateLimits(ctx context.Context, db DBTX, arg BulkUpdateRateLimitsParams) ([]*RateLimit, error)
- func (q *Queries) CanCreateWebhook(ctx context.Context, db DBTX, arg CanCreateWebhookParams) (bool, error)
- func (q *Queries) CheckStrategyActive(ctx context.Context, db DBTX, arg CheckStrategyActiveParams) (bool, error)
- func (q *Queries) CountEvents(ctx context.Context, db DBTX, arg CountEventsParams) (int64, error)
- func (q *Queries) CountTasks(ctx context.Context, db DBTX, arg CountTasksParams) (int64, error)
- func (q *Queries) CountWorkflowRuns(ctx context.Context, db DBTX, arg CountWorkflowRunsParams) (int64, error)
- func (q *Queries) CreateDAGData(ctx context.Context, db DBTX, arg []CreateDAGDataParams) (int64, error)
- func (q *Queries) CreateDAGs(ctx context.Context, db DBTX, arg CreateDAGsParams) ([]*V1Dag, error)
- func (q *Queries) CreateDAGsOLAP(ctx context.Context, db DBTX, arg []CreateDAGsOLAPParams) (int64, error)
- func (q *Queries) CreateDurableSleep(ctx context.Context, db DBTX, arg CreateDurableSleepParams) ([]*V1DurableSleep, error)
- func (q *Queries) CreateFilter(ctx context.Context, db DBTX, arg CreateFilterParams) (*V1Filter, error)
- func (q *Queries) CreateIncomingWebhookValidationFailureLogs(ctx context.Context, db DBTX, ...) error
- func (q *Queries) CreateJob(ctx context.Context, db DBTX, arg CreateJobParams) (*Job, error)
- func (q *Queries) CreateMatchConditions(ctx context.Context, db DBTX, arg []CreateMatchConditionsParams) (int64, error)
- func (q *Queries) CreateMatchesForDAGTriggers(ctx context.Context, db DBTX, arg CreateMatchesForDAGTriggersParams) ([]*V1Match, error)
- func (q *Queries) CreateMatchesForSignalTriggers(ctx context.Context, db DBTX, arg CreateMatchesForSignalTriggersParams) ([]*V1Match, error)
- func (q *Queries) CreateOLAPEventPartitions(ctx context.Context, db DBTX, date pgtype.Date) error
- func (q *Queries) CreateOLAPPartitions(ctx context.Context, db DBTX, arg CreateOLAPPartitionsParams) error
- func (q *Queries) CreatePartitions(ctx context.Context, db DBTX, date pgtype.Date) error
- func (q *Queries) CreateStep(ctx context.Context, db DBTX, arg CreateStepParams) (*Step, error)
- func (q *Queries) CreateStepConcurrency(ctx context.Context, db DBTX, arg CreateStepConcurrencyParams) (*V1StepConcurrency, error)
- func (q *Queries) CreateStepExpressions(ctx context.Context, db DBTX, arg CreateStepExpressionsParams) error
- func (q *Queries) CreateStepMatchCondition(ctx context.Context, db DBTX, arg CreateStepMatchConditionParams) (*V1StepMatchCondition, error)
- func (q *Queries) CreateStepRateLimit(ctx context.Context, db DBTX, arg CreateStepRateLimitParams) (*StepRateLimit, error)
- func (q *Queries) CreateTaskEvents(ctx context.Context, db DBTX, arg CreateTaskEventsParams) error
- func (q *Queries) CreateTaskEventsOLAP(ctx context.Context, db DBTX, arg []CreateTaskEventsOLAPParams) (int64, error)
- func (q *Queries) CreateTaskEventsOLAPTmp(ctx context.Context, db DBTX, arg []CreateTaskEventsOLAPTmpParams) (int64, error)
- func (q *Queries) CreateTaskExpressionEvals(ctx context.Context, db DBTX, arg CreateTaskExpressionEvalsParams) error
- func (q *Queries) CreateTasks(ctx context.Context, db DBTX, arg CreateTasksParams) ([]*V1Task, error)
- func (q *Queries) CreateTasksOLAP(ctx context.Context, db DBTX, arg []CreateTasksOLAPParams) (int64, error)
- func (q *Queries) CreateWebhook(ctx context.Context, db DBTX, arg CreateWebhookParams) (*V1IncomingWebhook, error)
- func (q *Queries) CreateWorkflow(ctx context.Context, db DBTX, arg CreateWorkflowParams) (*Workflow, error)
- func (q *Queries) CreateWorkflowConcurrency(ctx context.Context, db DBTX, arg CreateWorkflowConcurrencyParams) (*WorkflowConcurrency, error)
- func (q *Queries) CreateWorkflowConcurrencyV1(ctx context.Context, db DBTX, arg CreateWorkflowConcurrencyV1Params) (*CreateWorkflowConcurrencyV1Row, error)
- func (q *Queries) CreateWorkflowTriggerCronRef(ctx context.Context, db DBTX, arg CreateWorkflowTriggerCronRefParams) (*WorkflowTriggerCronRef, error)
- func (q *Queries) CreateWorkflowTriggerEventRef(ctx context.Context, db DBTX, arg CreateWorkflowTriggerEventRefParams) (*WorkflowTriggerEventRef, error)
- func (q *Queries) CreateWorkflowTriggers(ctx context.Context, db DBTX, arg CreateWorkflowTriggersParams) (*WorkflowTriggers, error)
- func (q *Queries) CreateWorkflowVersion(ctx context.Context, db DBTX, arg CreateWorkflowVersionParams) (*WorkflowVersion, error)
- func (q *Queries) DeleteExistingDeclarativeFiltersForOverwrite(ctx context.Context, db DBTX, ...) error
- func (q *Queries) DeleteFilter(ctx context.Context, db DBTX, arg DeleteFilterParams) (*V1Filter, error)
- func (q *Queries) DeleteMatchingSignalEvents(ctx context.Context, db DBTX, arg DeleteMatchingSignalEventsParams) error
- func (q *Queries) DeleteTasksFromQueue(ctx context.Context, db DBTX, arg DeleteTasksFromQueueParams) error
- func (q *Queries) DeleteWebhook(ctx context.Context, db DBTX, arg DeleteWebhookParams) (*V1IncomingWebhook, error)
- func (q *Queries) EnsureTablePartitionsExist(ctx context.Context, db DBTX) (bool, error)
- func (q *Queries) FailTaskAppFailure(ctx context.Context, db DBTX, arg FailTaskAppFailureParams) ([]*FailTaskAppFailureRow, error)
- func (q *Queries) FailTaskInternalFailure(ctx context.Context, db DBTX, arg FailTaskInternalFailureParams) ([]*FailTaskInternalFailureRow, error)
- func (q *Queries) FetchWorkflowRunIds(ctx context.Context, db DBTX, arg FetchWorkflowRunIdsParams) ([]*FetchWorkflowRunIdsRow, error)
- func (q *Queries) FindMinInsertedAtForDAGStatusUpdates(ctx context.Context, db DBTX, arg FindMinInsertedAtForDAGStatusUpdatesParams) (pgtype.Timestamptz, error)
- func (q *Queries) FindMinInsertedAtForTaskStatusUpdates(ctx context.Context, db DBTX, arg FindMinInsertedAtForTaskStatusUpdatesParams) (pgtype.Timestamptz, error)
- func (q *Queries) FlattenExternalIds(ctx context.Context, db DBTX, arg FlattenExternalIdsParams) ([]*FlattenExternalIdsRow, error)
- func (q *Queries) FlattenTasksByExternalIds(ctx context.Context, db DBTX, arg FlattenTasksByExternalIdsParams) ([]*FlattenTasksByExternalIdsRow, error)
- func (q *Queries) GetDAGData(ctx context.Context, db DBTX, arg GetDAGDataParams) ([]*GetDAGDataRow, error)
- func (q *Queries) GetDagDurations(ctx context.Context, db DBTX, arg GetDagDurationsParams) ([]*GetDagDurationsRow, error)
- func (q *Queries) GetDesiredLabels(ctx context.Context, db DBTX, stepids []pgtype.UUID) ([]*GetDesiredLabelsRow, error)
- func (q *Queries) GetFilter(ctx context.Context, db DBTX, arg GetFilterParams) (*V1Filter, error)
- func (q *Queries) GetLatestWorkflowVersionForWorkflows(ctx context.Context, db DBTX, arg GetLatestWorkflowVersionForWorkflowsParams) ([]pgtype.UUID, error)
- func (q *Queries) GetLeasesToAcquire(ctx context.Context, db DBTX, arg GetLeasesToAcquireParams) error
- func (q *Queries) GetMinUnprocessedQueueItemId(ctx context.Context, db DBTX, arg GetMinUnprocessedQueueItemIdParams) (int64, error)
- func (q *Queries) GetQueuedCounts(ctx context.Context, db DBTX, tenantid pgtype.UUID) ([]*GetQueuedCountsRow, error)
- func (q *Queries) GetRunsListRecursive(ctx context.Context, db DBTX, arg GetRunsListRecursiveParams) ([]*GetRunsListRecursiveRow, error)
- func (q *Queries) GetSatisfiedMatchConditions(ctx context.Context, db DBTX, arg GetSatisfiedMatchConditionsParams) ([]int64, error)
- func (q *Queries) GetTaskDurationsByTaskIds(ctx context.Context, db DBTX, arg GetTaskDurationsByTaskIdsParams) ([]*GetTaskDurationsByTaskIdsRow, error)
- func (q *Queries) GetTaskPointMetrics(ctx context.Context, db DBTX, arg GetTaskPointMetricsParams) ([]*GetTaskPointMetricsRow, error)
- func (q *Queries) GetTenantStatusMetrics(ctx context.Context, db DBTX, arg GetTenantStatusMetricsParams) (*GetTenantStatusMetricsRow, error)
- func (q *Queries) GetWebhook(ctx context.Context, db DBTX, arg GetWebhookParams) (*V1IncomingWebhook, error)
- func (q *Queries) GetWorkerById(ctx context.Context, db DBTX, id pgtype.UUID) (*GetWorkerByIdRow, error)
- func (q *Queries) GetWorkflowByName(ctx context.Context, db DBTX, arg GetWorkflowByNameParams) (*Workflow, error)
- func (q *Queries) GetWorkflowConcurrencyQueueCounts(ctx context.Context, db DBTX, tenantid pgtype.UUID) ([]*GetWorkflowConcurrencyQueueCountsRow, error)
- func (q *Queries) GetWorkflowRunIdFromDagIdInsertedAt(ctx context.Context, db DBTX, arg GetWorkflowRunIdFromDagIdInsertedAtParams) (pgtype.UUID, error)
- func (q *Queries) GetWorkflowVersionForEngine(ctx context.Context, db DBTX, arg GetWorkflowVersionForEngineParams) ([]*GetWorkflowVersionForEngineRow, error)
- func (q *Queries) InsertLogLine(ctx context.Context, db DBTX, arg []InsertLogLineParams) (int64, error)
- func (q *Queries) IsTenantAlertActive(ctx context.Context, db DBTX, tenantid pgtype.UUID) (*IsTenantAlertActiveRow, error)
- func (q *Queries) LinkOnFailureJob(ctx context.Context, db DBTX, arg LinkOnFailureJobParams) (*WorkflowVersion, error)
- func (q *Queries) ListActionsForWorkers(ctx context.Context, db DBTX, arg ListActionsForWorkersParams) ([]*ListActionsForWorkersRow, error)
- func (q *Queries) ListActiveConcurrencyStrategies(ctx context.Context, db DBTX, tenantid pgtype.UUID) ([]*V1StepConcurrency, error)
- func (q *Queries) ListActiveWorkers(ctx context.Context, db DBTX, tenantid pgtype.UUID) ([]*ListActiveWorkersRow, error)
- func (q *Queries) ListAllTasksInDags(ctx context.Context, db DBTX, arg ListAllTasksInDagsParams) ([]*ListAllTasksInDagsRow, error)
- func (q *Queries) ListAvailableSlotsForWorkers(ctx context.Context, db DBTX, arg ListAvailableSlotsForWorkersParams) ([]*ListAvailableSlotsForWorkersRow, error)
- func (q *Queries) ListConcurrencyStrategiesByStepId(ctx context.Context, db DBTX, arg ListConcurrencyStrategiesByStepIdParams) ([]*V1StepConcurrency, error)
- func (q *Queries) ListEventKeys(ctx context.Context, db DBTX, tenantid pgtype.UUID) ([]string, error)
- func (q *Queries) ListEvents(ctx context.Context, db DBTX, arg ListEventsParams) ([]*V1EventsOlap, error)
- func (q *Queries) ListFilterCountsForWorkflows(ctx context.Context, db DBTX, arg ListFilterCountsForWorkflowsParams) ([]*ListFilterCountsForWorkflowsRow, error)
- func (q *Queries) ListFilters(ctx context.Context, db DBTX, arg ListFiltersParams) ([]*V1Filter, error)
- func (q *Queries) ListFiltersForEventTriggers(ctx context.Context, db DBTX, arg ListFiltersForEventTriggersParams) ([]*V1Filter, error)
- func (q *Queries) ListLogLines(ctx context.Context, db DBTX, arg ListLogLinesParams) ([]*V1LogLine, error)
- func (q *Queries) ListManyWorkerLabels(ctx context.Context, db DBTX, workerids []pgtype.UUID) ([]*ListManyWorkerLabelsRow, error)
- func (q *Queries) ListMatchConditionsForEventWithHint(ctx context.Context, db DBTX, arg ListMatchConditionsForEventWithHintParams) ([]*ListMatchConditionsForEventRow, error)
- func (q *Queries) ListMatchConditionsForEventWithoutHint(ctx context.Context, db DBTX, arg ListMatchConditionsForEventWithoutHintParams) ([]*ListMatchConditionsForEventRow, error)
- func (q *Queries) ListMatchingSignalEvents(ctx context.Context, db DBTX, arg ListMatchingSignalEventsParams) ([]*V1TaskEvent, error)
- func (q *Queries) ListMatchingTaskEvents(ctx context.Context, db DBTX, arg ListMatchingTaskEventsParams) ([]*ListMatchingTaskEventsRow, error)
- func (q *Queries) ListOLAPPartitionsBeforeDate(ctx context.Context, db DBTX, arg ListOLAPPartitionsBeforeDateParams) ([]*ListOLAPPartitionsBeforeDateRow, error)
- func (q *Queries) ListPartitionsBeforeDate(ctx context.Context, db DBTX, date pgtype.Date) ([]*ListPartitionsBeforeDateRow, error)
- func (q *Queries) ListQueueItemsForQueue(ctx context.Context, db DBTX, arg ListQueueItemsForQueueParams) ([]*V1QueueItem, error)
- func (q *Queries) ListQueues(ctx context.Context, db DBTX, tenantid pgtype.UUID) ([]*V1Queue, error)
- func (q *Queries) ListRateLimitsForSteps(ctx context.Context, db DBTX, arg ListRateLimitsForStepsParams) ([]*StepRateLimit, error)
- func (q *Queries) ListRateLimitsForTenantNoMutate(ctx context.Context, db DBTX, arg ListRateLimitsForTenantNoMutateParams) ([]*ListRateLimitsForTenantNoMutateRow, error)
- func (q *Queries) ListRateLimitsForTenantWithMutate(ctx context.Context, db DBTX, tenantid pgtype.UUID) ([]*ListRateLimitsForTenantWithMutateRow, error)
- func (q *Queries) ListSemaphoreSlotsWithStateForWorker(ctx context.Context, db DBTX, arg ListSemaphoreSlotsWithStateForWorkerParams) ([]*ListSemaphoreSlotsWithStateForWorkerRow, error)
- func (q *Queries) ListStepExpressions(ctx context.Context, db DBTX, stepids []pgtype.UUID) ([]*StepExpression, error)
- func (q *Queries) ListStepMatchConditions(ctx context.Context, db DBTX, arg ListStepMatchConditionsParams) ([]*V1StepMatchCondition, error)
- func (q *Queries) ListStepsByIds(ctx context.Context, db DBTX, arg ListStepsByIdsParams) ([]*ListStepsByIdsRow, error)
- func (q *Queries) ListStepsByWorkflowVersionIds(ctx context.Context, db DBTX, arg ListStepsByWorkflowVersionIdsParams) ([]*ListStepsByWorkflowVersionIdsRow, error)
- func (q *Queries) ListTaskEvents(ctx context.Context, db DBTX, arg ListTaskEventsParams) ([]*ListTaskEventsRow, error)
- func (q *Queries) ListTaskEventsForWorkflowRun(ctx context.Context, db DBTX, arg ListTaskEventsForWorkflowRunParams) ([]*ListTaskEventsForWorkflowRunRow, error)
- func (q *Queries) ListTaskExpressionEvals(ctx context.Context, db DBTX, arg ListTaskExpressionEvalsParams) ([]*V1TaskExpressionEval, error)
- func (q *Queries) ListTaskMetas(ctx context.Context, db DBTX, arg ListTaskMetasParams) ([]*ListTaskMetasRow, error)
- func (q *Queries) ListTaskParentOutputs(ctx context.Context, db DBTX, arg ListTaskParentOutputsParams) ([]*ListTaskParentOutputsRow, error)
- func (q *Queries) ListTasks(ctx context.Context, db DBTX, arg ListTasksParams) ([]*V1Task, error)
- func (q *Queries) ListTasksByDAGIds(ctx context.Context, db DBTX, arg ListTasksByDAGIdsParams) ([]*ListTasksByDAGIdsRow, error)
- func (q *Queries) ListTasksByExternalIds(ctx context.Context, db DBTX, arg ListTasksByExternalIdsParams) ([]*ListTasksByExternalIdsRow, error)
- func (q *Queries) ListTasksForReplay(ctx context.Context, db DBTX, arg ListTasksForReplayParams) ([]*ListTasksForReplayRow, error)
- func (q *Queries) ListTasksOlap(ctx context.Context, db DBTX, arg ListTasksOlapParams) ([]*ListTasksOlapRow, error)
- func (q *Queries) ListTasksToReassign(ctx context.Context, db DBTX, arg ListTasksToReassignParams) ([]*ListTasksToReassignRow, error)
- func (q *Queries) ListTasksToTimeout(ctx context.Context, db DBTX, arg ListTasksToTimeoutParams) ([]*ListTasksToTimeoutRow, error)
- func (q *Queries) ListWebhooks(ctx context.Context, db DBTX, arg ListWebhooksParams) ([]*V1IncomingWebhook, error)
- func (q *Queries) ListWorkersWithSlotCount(ctx context.Context, db DBTX, arg ListWorkersWithSlotCountParams) ([]*ListWorkersWithSlotCountRow, error)
- func (q *Queries) ListWorkflowNamesByIds(ctx context.Context, db DBTX, ids []pgtype.UUID) ([]*ListWorkflowNamesByIdsRow, error)
- func (q *Queries) ListWorkflowRunDisplayNames(ctx context.Context, db DBTX, arg ListWorkflowRunDisplayNamesParams) ([]*ListWorkflowRunDisplayNamesRow, error)
- func (q *Queries) ListWorkflowsByNames(ctx context.Context, db DBTX, arg ListWorkflowsByNamesParams) ([]*ListWorkflowsByNamesRow, error)
- func (q *Queries) ListWorkflowsForEvents(ctx context.Context, db DBTX, arg ListWorkflowsForEventsParams) ([]*ListWorkflowsForEventsRow, error)
- func (q *Queries) LockDAGsForReplay(ctx context.Context, db DBTX, arg LockDAGsForReplayParams) ([]int64, error)
- func (q *Queries) LockSignalCreatedEvents(ctx context.Context, db DBTX, arg LockSignalCreatedEventsParams) ([]*LockSignalCreatedEventsRow, error)
- func (q *Queries) LockWorkflowVersion(ctx context.Context, db DBTX, workflowid pgtype.UUID) (pgtype.UUID, error)
- func (q *Queries) LookupExternalIds(ctx context.Context, db DBTX, arg LookupExternalIdsParams) ([]*V1LookupTable, error)
- func (q *Queries) ManualSlotRelease(ctx context.Context, db DBTX, arg ManualSlotReleaseParams) (*V1TaskRuntime, error)
- func (q *Queries) MoveCronTriggerToNewWorkflowTriggers(ctx context.Context, db DBTX, arg MoveCronTriggerToNewWorkflowTriggersParams) error
- func (q *Queries) MoveRateLimitedQueueItems(ctx context.Context, db DBTX, arg MoveRateLimitedQueueItemsParams) ([]*MoveRateLimitedQueueItemsRow, error)
- func (q *Queries) MoveScheduledTriggerToNewWorkflowTriggers(ctx context.Context, db DBTX, ...) error
- func (q *Queries) PopDurableSleep(ctx context.Context, db DBTX, arg PopDurableSleepParams) ([]*V1DurableSleep, error)
- func (q *Queries) PopulateDAGMetadata(ctx context.Context, db DBTX, arg PopulateDAGMetadataParams) (*PopulateDAGMetadataRow, error)
- func (q *Queries) PopulateEventData(ctx context.Context, db DBTX, arg PopulateEventDataParams) ([]*PopulateEventDataRow, error)
- func (q *Queries) PopulateSingleTaskRunData(ctx context.Context, db DBTX, arg PopulateSingleTaskRunDataParams) (*PopulateSingleTaskRunDataRow, error)
- func (q *Queries) PopulateTaskRunData(ctx context.Context, db DBTX, arg PopulateTaskRunDataParams) (*PopulateTaskRunDataRow, error)
- func (q *Queries) PreflightCheckDAGsForReplay(ctx context.Context, db DBTX, arg PreflightCheckDAGsForReplayParams) ([]*PreflightCheckDAGsForReplayRow, error)
- func (q *Queries) PreflightCheckTasksForReplay(ctx context.Context, db DBTX, arg PreflightCheckTasksForReplayParams) ([]*PreflightCheckTasksForReplayRow, error)
- func (q *Queries) ProcessRetryQueueItems(ctx context.Context, db DBTX, arg ProcessRetryQueueItemsParams) ([]*V1RetryQueueItem, error)
- func (q *Queries) ReadDAGByExternalID(ctx context.Context, db DBTX, externalid pgtype.UUID) (*V1DagsOlap, error)
- func (q *Queries) ReadTaskByExternalID(ctx context.Context, db DBTX, externalid pgtype.UUID) (*ReadTaskByExternalIDRow, error)
- func (q *Queries) ReadWorkflowRunByExternalId(ctx context.Context, db DBTX, workflowrunexternalid pgtype.UUID) (*ReadWorkflowRunByExternalIdRow, error)
- func (q *Queries) RefreshTimeoutBy(ctx context.Context, db DBTX, arg RefreshTimeoutByParams) (*V1TaskRuntime, error)
- func (q *Queries) ReleaseLeases(ctx context.Context, db DBTX, leaseids []int64) ([]*Lease, error)
- func (q *Queries) ReleaseTasks(ctx context.Context, db DBTX, arg ReleaseTasksParams) ([]*ReleaseTasksRow, error)
- func (q *Queries) ReplayTasks(ctx context.Context, db DBTX, arg ReplayTasksParams) ([]*V1Task, error)
- func (q *Queries) RequeueRateLimitedQueueItems(ctx context.Context, db DBTX, arg RequeueRateLimitedQueueItemsParams) ([]*RequeueRateLimitedQueueItemsRow, error)
- func (q *Queries) ResetMatchConditions(ctx context.Context, db DBTX, arg ResetMatchConditionsParams) ([]int64, error)
- func (q *Queries) RunCancelInProgress(ctx context.Context, db DBTX, arg RunCancelInProgressParams) ([]*RunCancelInProgressRow, error)
- func (q *Queries) RunCancelNewest(ctx context.Context, db DBTX, arg RunCancelNewestParams) ([]*RunCancelNewestRow, error)
- func (q *Queries) RunChildCancelInProgress(ctx context.Context, db DBTX, arg RunChildCancelInProgressParams) ([]*RunChildCancelInProgressRow, error)
- func (q *Queries) RunChildCancelNewest(ctx context.Context, db DBTX, arg RunChildCancelNewestParams) ([]*RunChildCancelNewestRow, error)
- func (q *Queries) RunChildGroupRoundRobin(ctx context.Context, db DBTX, arg RunChildGroupRoundRobinParams) ([]*RunChildGroupRoundRobinRow, error)
- func (q *Queries) RunGroupRoundRobin(ctx context.Context, db DBTX, arg RunGroupRoundRobinParams) ([]*RunGroupRoundRobinRow, error)
- func (q *Queries) RunParentCancelInProgress(ctx context.Context, db DBTX, arg RunParentCancelInProgressParams) error
- func (q *Queries) RunParentCancelNewest(ctx context.Context, db DBTX, arg RunParentCancelNewestParams) error
- func (q *Queries) RunParentGroupRoundRobin(ctx context.Context, db DBTX, arg RunParentGroupRoundRobinParams) error
- func (q *Queries) SaveSatisfiedMatchConditions(ctx context.Context, db DBTX, matchids []int64) ([]*SaveSatisfiedMatchConditionsRow, error)
- func (q *Queries) SetConcurrencyStrategyInactive(ctx context.Context, db DBTX, arg SetConcurrencyStrategyInactiveParams) error
- func (q *Queries) StoreCELEvaluationFailures(ctx context.Context, db DBTX, arg StoreCELEvaluationFailuresParams) error
- func (q *Queries) TryAdvisoryLock(ctx context.Context, db DBTX, key int64) (bool, error)
- func (q *Queries) UpdateDAGStatuses(ctx context.Context, db DBTX, arg UpdateDAGStatusesParams) ([]*UpdateDAGStatusesRow, error)
- func (q *Queries) UpdateFilter(ctx context.Context, db DBTX, arg UpdateFilterParams) (*V1Filter, error)
- func (q *Queries) UpdateTaskStatuses(ctx context.Context, db DBTX, arg UpdateTaskStatusesParams) ([]*UpdateTaskStatusesRow, error)
- func (q *Queries) UpdateTasksToAssigned(ctx context.Context, db DBTX, arg UpdateTasksToAssignedParams) ([]*UpdateTasksToAssignedRow, error)
- func (q *Queries) UpdateWebhookExpression(ctx context.Context, db DBTX, arg UpdateWebhookExpressionParams) (*V1IncomingWebhook, error)
- func (q *Queries) UpdateWorkflowConcurrencyWithChildStrategyIds(ctx context.Context, db DBTX, ...) error
- func (q *Queries) UpsertAction(ctx context.Context, db DBTX, arg UpsertActionParams) (*Action, error)
- func (q *Queries) UpsertDesiredWorkerLabel(ctx context.Context, db DBTX, arg UpsertDesiredWorkerLabelParams) (*StepDesiredWorkerLabel, error)
- func (q *Queries) UpsertQueues(ctx context.Context, db DBTX, arg UpsertQueuesParams) error
- func (q *Queries) UpsertRateLimitsBulk(ctx context.Context, db DBTX, arg UpsertRateLimitsBulkParams) error
- type Queue
- type QueueItem
- type RateLimit
- type ReadTaskByExternalIDRow
- type ReadWorkflowRunByExternalIdRow
- type RefreshTimeoutByParams
- type ReleaseTasksParams
- type ReleaseTasksRow
- type ReplayTasksParams
- type RequeueRateLimitedQueueItemsParams
- type RequeueRateLimitedQueueItemsRow
- type ResetMatchConditionsParams
- type RetryQueueItem
- type RunCancelInProgressParams
- type RunCancelInProgressRow
- type RunCancelNewestParams
- type RunCancelNewestRow
- type RunChildCancelInProgressParams
- type RunChildCancelInProgressRow
- type RunChildCancelNewestParams
- type RunChildCancelNewestRow
- type RunChildGroupRoundRobinParams
- type RunChildGroupRoundRobinRow
- type RunGroupRoundRobinParams
- type RunGroupRoundRobinRow
- type RunParentCancelInProgressParams
- type RunParentCancelNewestParams
- type RunParentGroupRoundRobinParams
- type SNSIntegration
- type SaveSatisfiedMatchConditionsRow
- type SchedulerPartition
- type SecurityCheckIdent
- type SemaphoreQueueItem
- type Service
- type ServiceToWorker
- type SetConcurrencyStrategyInactiveParams
- type SlackAppWebhook
- type Step
- type StepDesiredWorkerLabel
- type StepExpression
- type StepExpressionKind
- type StepOrder
- type StepRateLimit
- type StepRateLimitKind
- type StepRun
- type StepRunEvent
- type StepRunEventReason
- type StepRunEventSeverity
- type StepRunExpressionEval
- type StepRunOrder
- type StepRunResultArchive
- type StepRunStatus
- type StickyStrategy
- type StoreCELEvaluationFailuresParams
- type StreamEvent
- type Tenant
- type TenantAlertEmailGroup
- type TenantAlertingSettings
- type TenantInviteLink
- type TenantMajorEngineVersion
- type TenantMajorUIVersion
- type TenantMember
- type TenantMemberRole
- type TenantResourceLimit
- type TenantResourceLimitAlert
- type TenantResourceLimitAlertType
- type TenantVcsProvider
- type TenantWorkerPartition
- type Ticker
- type TimeoutQueueItem
- type TmpWorkflowConcurrencySlot
- type UpdateDAGStatusesParams
- type UpdateDAGStatusesRow
- type UpdateFilterParams
- type UpdateTaskStatusesParams
- type UpdateTaskStatusesRow
- type UpdateTasksToAssignedParams
- type UpdateTasksToAssignedRow
- type UpdateWebhookExpressionParams
- type UpdateWorkflowConcurrencyWithChildStrategyIdsParams
- type UpsertActionParams
- type UpsertDesiredWorkerLabelParams
- type UpsertQueuesParams
- type UpsertRateLimitsBulkParams
- type User
- type UserOAuth
- type UserPassword
- type UserSession
- type V1CelEvaluationFailureSource
- type V1CelEvaluationFailuresOlap
- type V1ConcurrencySlot
- type V1ConcurrencyStrategy
- type V1Dag
- type V1DagData
- type V1DagToTask
- type V1DagToTaskOlap
- type V1DagsOlap
- type V1DurableSleep
- type V1EventLookupTableOlap
- type V1EventToRunOlap
- type V1EventType
- type V1EventTypeOlap
- type V1EventsOlap
- type V1Filter
- type V1IncomingWebhook
- type V1IncomingWebhookAuthType
- type V1IncomingWebhookHmacAlgorithm
- type V1IncomingWebhookHmacEncoding
- type V1IncomingWebhookSourceName
- type V1IncomingWebhookValidationFailuresOlap
- type V1LogLine
- type V1LogLineLevel
- type V1LookupTable
- type V1LookupTableOlap
- type V1Match
- type V1MatchCondition
- type V1MatchConditionAction
- type V1MatchKind
- type V1Queue
- type V1QueueItem
- type V1RateLimitedQueueItems
- type V1ReadableStatusOlap
- type V1RetryQueueItem
- type V1RunKind
- type V1RunsOlap
- type V1StatusKind
- type V1StatusesOlap
- type V1StepConcurrency
- type V1StepMatchCondition
- type V1StepMatchConditionKind
- type V1StickyStrategy
- type V1StickyStrategyOlap
- type V1Task
- type V1TaskEvent
- type V1TaskEventType
- type V1TaskEventsOlap
- type V1TaskEventsOlapTmp
- type V1TaskExpressionEval
- type V1TaskInitialState
- type V1TaskRuntime
- type V1TaskStatusUpdatesTmp
- type V1TasksOlap
- type V1WorkflowConcurrency
- type V1WorkflowConcurrencySlot
- type VcsProvider
- type WebhookWorker
- type WebhookWorkerRequest
- type WebhookWorkerRequestMethod
- type WebhookWorkerWorkflow
- type Worker
- type WorkerAssignEvent
- type WorkerLabel
- type WorkerLabelComparator
- type WorkerSDKS
- type WorkerType
- type Workflow
- type WorkflowConcurrency
- type WorkflowKind
- type WorkflowRun
- type WorkflowRunDedupe
- type WorkflowRunStatus
- type WorkflowRunStickyState
- type WorkflowRunTriggeredBy
- type WorkflowTag
- type WorkflowToWorkflowTag
- type WorkflowTriggerCronRef
- type WorkflowTriggerCronRefMethods
- type WorkflowTriggerEventRef
- type WorkflowTriggerScheduledRef
- type WorkflowTriggerScheduledRefMethods
- type WorkflowTriggers
- type WorkflowVersion
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIToken ¶
type APIToken struct { ID pgtype.UUID `json:"id"` CreatedAt pgtype.Timestamp `json:"createdAt"` UpdatedAt pgtype.Timestamp `json:"updatedAt"` ExpiresAt pgtype.Timestamp `json:"expiresAt"` Revoked bool `json:"revoked"` Name pgtype.Text `json:"name"` TenantId pgtype.UUID `json:"tenantId"` NextAlertAt pgtype.Timestamp `json:"nextAlertAt"` Internal bool `json:"internal"` }
type ActionToWorker ¶
type AddStepParentsParams ¶
type BulkCreateEventTriggersParams ¶
type BulkCreateEventTriggersParams struct { RunID int64 `json:"run_id"` RunInsertedAt pgtype.Timestamptz `json:"run_inserted_at"` EventID int64 `json:"event_id"` EventSeenAt pgtype.Timestamptz `json:"event_seen_at"` FilterID pgtype.UUID `json:"filter_id"` }
type BulkCreateEventsParams ¶
type BulkCreateEventsParams struct { Tenantids []pgtype.UUID `json:"tenantids"` Externalids []pgtype.UUID `json:"externalids"` Seenats []pgtype.Timestamptz `json:"seenats"` Keys []string `json:"keys"` Payloads [][]byte `json:"payloads"` Additionalmetadatas [][]byte `json:"additionalmetadatas"` Scopes []pgtype.Text `json:"scopes"` TriggeringWebhookNames []pgtype.Text `json:"triggeringWebhookName"` }
type CanCreateWebhookParams ¶ added in v0.70.0
type ConcurrencyLimitStrategy ¶
type ConcurrencyLimitStrategy string
const ( ConcurrencyLimitStrategyCANCELINPROGRESS ConcurrencyLimitStrategy = "CANCEL_IN_PROGRESS" ConcurrencyLimitStrategyDROPNEWEST ConcurrencyLimitStrategy = "DROP_NEWEST" ConcurrencyLimitStrategyQUEUENEWEST ConcurrencyLimitStrategy = "QUEUE_NEWEST" ConcurrencyLimitStrategyGROUPROUNDROBIN ConcurrencyLimitStrategy = "GROUP_ROUND_ROBIN" ConcurrencyLimitStrategyCANCELNEWEST ConcurrencyLimitStrategy = "CANCEL_NEWEST" )
func (*ConcurrencyLimitStrategy) Scan ¶
func (e *ConcurrencyLimitStrategy) Scan(src interface{}) error
type ControllerPartition ¶
type CountEventsParams ¶
type CountEventsParams struct { Tenantid pgtype.UUID `json:"tenantid"` Keys []string `json:"keys"` Since pgtype.Timestamptz `json:"since"` Until pgtype.Timestamptz `json:"until"` WorkflowIds []pgtype.UUID `json:"workflowIds"` EventIds []pgtype.UUID `json:"eventIds"` AdditionalMetadata []byte `json:"additionalMetadata"` Statuses []string `json:"statuses"` Scopes []string `json:"scopes"` }
type CountTasksParams ¶
type CountTasksParams struct { Tenantid pgtype.UUID `json:"tenantid"` Since pgtype.Timestamptz `json:"since"` Statuses []string `json:"statuses"` Until pgtype.Timestamptz `json:"until"` WorkflowIds []pgtype.UUID `json:"workflowIds"` WorkerId pgtype.UUID `json:"workerId"` Keys []string `json:"keys"` Values []string `json:"values"` TriggeringEventExternalId pgtype.UUID `json:"triggeringEventExternalId"` }
type CountWorkflowRunsParams ¶
type CountWorkflowRunsParams struct { Tenantid pgtype.UUID `json:"tenantid"` Statuses []string `json:"statuses"` WorkflowIds []pgtype.UUID `json:"workflowIds"` Since pgtype.Timestamptz `json:"since"` Until pgtype.Timestamptz `json:"until"` Keys []string `json:"keys"` Values []string `json:"values"` TriggeringEventExternalId pgtype.UUID `json:"triggeringEventExternalId"` }
type CreateDAGDataParams ¶
type CreateDAGDataParams struct { DagID int64 `json:"dag_id"` DagInsertedAt pgtype.Timestamptz `json:"dag_inserted_at"` Input []byte `json:"input"` AdditionalMetadata []byte `json:"additional_metadata"` }
type CreateDAGsOLAPParams ¶
type CreateDAGsOLAPParams struct { TenantID pgtype.UUID `json:"tenant_id"` ID int64 `json:"id"` InsertedAt pgtype.Timestamptz `json:"inserted_at"` ExternalID pgtype.UUID `json:"external_id"` DisplayName string `json:"display_name"` WorkflowID pgtype.UUID `json:"workflow_id"` WorkflowVersionID pgtype.UUID `json:"workflow_version_id"` Input []byte `json:"input"` AdditionalMetadata []byte `json:"additional_metadata"` ParentTaskExternalID pgtype.UUID `json:"parent_task_external_id"` TotalTasks int32 `json:"total_tasks"` }
type CreateDAGsParams ¶
type CreateDAGsParams struct { Tenantids []pgtype.UUID `json:"tenantids"` Externalids []pgtype.UUID `json:"externalids"` Displaynames []string `json:"displaynames"` Workflowids []pgtype.UUID `json:"workflowids"` Workflowversionids []pgtype.UUID `json:"workflowversionids"` Parenttaskexternalids []pgtype.UUID `json:"parenttaskexternalids"` }
type CreateFilterParams ¶
type CreateIncomingWebhookValidationFailureLogsParams ¶ added in v0.70.0
type CreateJobParams ¶
type CreateJobParams struct { ID pgtype.UUID `json:"id"` CreatedAt pgtype.Timestamp `json:"createdAt"` UpdatedAt pgtype.Timestamp `json:"updatedAt"` Deletedat pgtype.Timestamp `json:"deletedat"` Tenantid pgtype.UUID `json:"tenantid"` Workflowversionid pgtype.UUID `json:"workflowversionid"` Name string `json:"name"` Description string `json:"description"` Kind NullJobKind `json:"kind"` }
type CreateMatchConditionsParams ¶
type CreateMatchConditionsParams struct { V1MatchID int64 `json:"v1_match_id"` TenantID pgtype.UUID `json:"tenant_id"` EventType V1EventType `json:"event_type"` EventKey string `json:"event_key"` EventResourceHint pgtype.Text `json:"event_resource_hint"` ReadableDataKey string `json:"readable_data_key"` OrGroupID pgtype.UUID `json:"or_group_id"` Expression pgtype.Text `json:"expression"` Action V1MatchConditionAction `json:"action"` IsSatisfied bool `json:"is_satisfied"` Data []byte `json:"data"` }
type CreateMatchesForDAGTriggersParams ¶
type CreateMatchesForDAGTriggersParams struct { Tenantids []pgtype.UUID `json:"tenantids"` Kinds []string `json:"kinds"` ExistingDatas [][]byte `json:"existingDatas"` Triggerdagids []int64 `json:"triggerdagids"` Triggerdaginsertedats []pgtype.Timestamptz `json:"triggerdaginsertedats"` Triggerstepids []pgtype.UUID `json:"triggerstepids"` Triggerstepindex []int64 `json:"triggerstepindex"` Triggerexternalids []pgtype.UUID `json:"triggerexternalids"` Triggerworkflowrunids []pgtype.UUID `json:"triggerworkflowrunids"` Triggerexistingtaskids []pgtype.Int8 `json:"triggerexistingtaskids"` Triggerexistingtaskinsertedat []pgtype.Timestamptz `json:"triggerexistingtaskinsertedat"` TriggerParentTaskExternalIds []pgtype.UUID `json:"triggerparentTaskExternalIds"` TriggerParentTaskIds []pgtype.Int8 `json:"triggerparentTaskIds"` TriggerParentTaskInsertedAt []pgtype.Timestamptz `json:"triggerparentTaskInsertedAt"` TriggerChildIndex []pgtype.Int8 `json:"triggerchildIndex"` TriggerChildKey []pgtype.Text `json:"triggerchildKey"` TriggerPriorities []pgtype.Int4 `json:"triggerPriorities"` }
type CreateMatchesForSignalTriggersParams ¶
type CreateMatchesForSignalTriggersParams struct { Tenantids []pgtype.UUID `json:"tenantids"` Kinds []string `json:"kinds"` Signaltaskids []int64 `json:"signaltaskids"` Signaltaskinsertedats []pgtype.Timestamptz `json:"signaltaskinsertedats"` Signalexternalids []pgtype.UUID `json:"signalexternalids"` Signalkeys []string `json:"signalkeys"` }
type CreateStepConcurrencyParams ¶
type CreateStepConcurrencyParams struct { Workflowid pgtype.UUID `json:"workflowid"` Workflowversionid pgtype.UUID `json:"workflowversionid"` Stepid pgtype.UUID `json:"stepid"` Strategy V1ConcurrencyStrategy `json:"strategy"` Expression string `json:"expression"` Tenantid pgtype.UUID `json:"tenantid"` Maxconcurrency int32 `json:"maxconcurrency"` }
type CreateStepMatchConditionParams ¶
type CreateStepMatchConditionParams struct { Tenantid pgtype.UUID `json:"tenantid"` Stepid pgtype.UUID `json:"stepid"` Readabledatakey string `json:"readabledatakey"` Action V1MatchConditionAction `json:"action"` Orgroupid pgtype.UUID `json:"orgroupid"` Expression pgtype.Text `json:"expression"` Kind V1StepMatchConditionKind `json:"kind"` SleepDuration pgtype.Text `json:"sleepDuration"` EventKey pgtype.Text `json:"eventKey"` ParentReadableId pgtype.Text `json:"parentReadableId"` }
type CreateStepParams ¶
type CreateStepParams struct { ID pgtype.UUID `json:"id"` CreatedAt pgtype.Timestamp `json:"createdAt"` UpdatedAt pgtype.Timestamp `json:"updatedAt"` Deletedat pgtype.Timestamp `json:"deletedat"` Readableid string `json:"readableid"` Tenantid pgtype.UUID `json:"tenantid"` Jobid pgtype.UUID `json:"jobid"` Actionid string `json:"actionid"` Timeout pgtype.Text `json:"timeout"` CustomUserData []byte `json:"customUserData"` Retries pgtype.Int4 `json:"retries"` ScheduleTimeout pgtype.Text `json:"scheduleTimeout"` RetryBackoffFactor pgtype.Float8 `json:"retryBackoffFactor"` RetryMaxBackoff pgtype.Int4 `json:"retryMaxBackoff"` }
type CreateTaskEventsOLAPParams ¶
type CreateTaskEventsOLAPParams struct { TenantID pgtype.UUID `json:"tenant_id"` TaskID int64 `json:"task_id"` TaskInsertedAt pgtype.Timestamptz `json:"task_inserted_at"` EventType V1EventTypeOlap `json:"event_type"` WorkflowID pgtype.UUID `json:"workflow_id"` EventTimestamp pgtype.Timestamptz `json:"event_timestamp"` ReadableStatus V1ReadableStatusOlap `json:"readable_status"` RetryCount int32 `json:"retry_count"` ErrorMessage pgtype.Text `json:"error_message"` Output []byte `json:"output"` WorkerID pgtype.UUID `json:"worker_id"` AdditionalEventData pgtype.Text `json:"additional__event_data"` AdditionalEventMessage pgtype.Text `json:"additional__event_message"` }
type CreateTaskEventsOLAPTmpParams ¶
type CreateTaskEventsOLAPTmpParams struct { TenantID pgtype.UUID `json:"tenant_id"` TaskID int64 `json:"task_id"` TaskInsertedAt pgtype.Timestamptz `json:"task_inserted_at"` EventType V1EventTypeOlap `json:"event_type"` ReadableStatus V1ReadableStatusOlap `json:"readable_status"` RetryCount int32 `json:"retry_count"` WorkerID pgtype.UUID `json:"worker_id"` }
type CreateTaskEventsParams ¶
type CreateTaskEventsParams struct { Tenantid pgtype.UUID `json:"tenantid"` Taskids []int64 `json:"taskids"` Taskinsertedats []pgtype.Timestamptz `json:"taskinsertedats"` Retrycounts []int32 `json:"retrycounts"` Eventtypes []string `json:"eventtypes"` Eventkeys []pgtype.Text `json:"eventkeys"` Datas [][]byte `json:"datas"` }
type CreateTasksOLAPParams ¶
type CreateTasksOLAPParams struct { TenantID pgtype.UUID `json:"tenant_id"` ID int64 `json:"id"` InsertedAt pgtype.Timestamptz `json:"inserted_at"` Queue string `json:"queue"` ActionID string `json:"action_id"` StepID pgtype.UUID `json:"step_id"` WorkflowID pgtype.UUID `json:"workflow_id"` WorkflowVersionID pgtype.UUID `json:"workflow_version_id"` WorkflowRunID pgtype.UUID `json:"workflow_run_id"` ScheduleTimeout string `json:"schedule_timeout"` StepTimeout pgtype.Text `json:"step_timeout"` Priority pgtype.Int4 `json:"priority"` Sticky V1StickyStrategyOlap `json:"sticky"` DesiredWorkerID pgtype.UUID `json:"desired_worker_id"` ExternalID pgtype.UUID `json:"external_id"` DisplayName string `json:"display_name"` Input []byte `json:"input"` AdditionalMetadata []byte `json:"additional_metadata"` DagID pgtype.Int8 `json:"dag_id"` DagInsertedAt pgtype.Timestamptz `json:"dag_inserted_at"` ParentTaskExternalID pgtype.UUID `json:"parent_task_external_id"` }
type CreateTasksParams ¶
type CreateTasksParams struct { Tenantids []pgtype.UUID `json:"tenantids"` Queues []string `json:"queues"` Actionids []string `json:"actionids"` Stepids []pgtype.UUID `json:"stepids"` Stepreadableids []string `json:"stepreadableids"` Workflowids []pgtype.UUID `json:"workflowids"` Scheduletimeouts []string `json:"scheduletimeouts"` Steptimeouts []string `json:"steptimeouts"` Priorities []int32 `json:"priorities"` Stickies []string `json:"stickies"` Desiredworkerids []pgtype.UUID `json:"desiredworkerids"` Externalids []pgtype.UUID `json:"externalids"` Displaynames []string `json:"displaynames"` Inputs [][]byte `json:"inputs"` Retrycounts []int32 `json:"retrycounts"` Additionalmetadatas [][]byte `json:"additionalmetadatas"` InitialStates []string `json:"initialstates"` InitialStateReasons []pgtype.Text `json:"initialStateReasons"` Dagids []pgtype.Int8 `json:"dagids"` Daginsertedats []pgtype.Timestamptz `json:"daginsertedats"` // FIXME: pgx doesn't like multi-dimensional arrays with different lengths, these types // probably need to change. Current hack is to group tasks by their step id where these // multi-dimensional arrays are the same length. Concurrencyparentstrategyids [][]pgtype.Int8 `json:"concurrencyparentstrategyids"` ConcurrencyStrategyIds [][]int64 `json:"concurrencyStrategyIds"` ConcurrencyKeys [][]string `json:"concurrencyKeys"` ParentTaskExternalIds []pgtype.UUID `json:"parentTaskExternalIds"` ParentTaskIds []pgtype.Int8 `json:"parentTaskIds"` ParentTaskInsertedAts []pgtype.Timestamptz `json:"parentTaskInsertedAts"` ChildIndex []pgtype.Int8 `json:"childIndex"` ChildKey []pgtype.Text `json:"childKey"` StepIndex []int64 `json:"stepIndex"` RetryBackoffFactor []pgtype.Float8 `json:"retryBackoffFactor"` RetryMaxBackoff []pgtype.Int4 `json:"retryMaxBackoff"` WorkflowVersionIds []pgtype.UUID `json:"workflowVersionIds"` WorkflowRunIds []pgtype.UUID `json:"workflowRunIds"` }
type CreateWebhookParams ¶ added in v0.70.0
type CreateWebhookParams struct { Tenantid pgtype.UUID `json:"tenantid"` Name string `json:"name"` Sourcename V1IncomingWebhookSourceName `json:"sourcename"` Eventkeyexpression string `json:"eventkeyexpression"` Authmethod V1IncomingWebhookAuthType `json:"authmethod"` AuthBasicUsername pgtype.Text `json:"authBasicUsername"` Authbasicpassword []byte `json:"authbasicpassword"` AuthApiKeyHeaderName pgtype.Text `json:"authApiKeyHeaderName"` Authapikeykey []byte `json:"authapikeykey"` AuthHmacAlgorithm NullV1IncomingWebhookHmacAlgorithm `json:"authHmacAlgorithm"` AuthHmacEncoding NullV1IncomingWebhookHmacEncoding `json:"authHmacEncoding"` AuthHmacSignatureHeaderName pgtype.Text `json:"authHmacSignatureHeaderName"` Authhmacwebhooksigningsecret []byte `json:"authhmacwebhooksigningsecret"` }
type CreateWorkflowConcurrencyParams ¶
type CreateWorkflowConcurrencyParams struct { CreatedAt pgtype.Timestamp `json:"createdAt"` UpdatedAt pgtype.Timestamp `json:"updatedAt"` Workflowversionid pgtype.UUID `json:"workflowversionid"` GetConcurrencyGroupId pgtype.UUID `json:"getConcurrencyGroupId"` MaxRuns pgtype.Int4 `json:"maxRuns"` LimitStrategy NullConcurrencyLimitStrategy `json:"limitStrategy"` ConcurrencyGroupExpression pgtype.Text `json:"concurrencyGroupExpression"` }
type CreateWorkflowConcurrencyV1Params ¶
type CreateWorkflowConcurrencyV1Params struct { Workflowid pgtype.UUID `json:"workflowid"` Workflowversionid pgtype.UUID `json:"workflowversionid"` Limitstrategy V1ConcurrencyStrategy `json:"limitstrategy"` Expression string `json:"expression"` Tenantid pgtype.UUID `json:"tenantid"` MaxRuns pgtype.Int4 `json:"maxRuns"` }
type CreateWorkflowParams ¶
type CreateWorkflowParams struct { ID pgtype.UUID `json:"id"` CreatedAt pgtype.Timestamp `json:"createdAt"` UpdatedAt pgtype.Timestamp `json:"updatedAt"` Deletedat pgtype.Timestamp `json:"deletedat"` Tenantid pgtype.UUID `json:"tenantid"` Name string `json:"name"` Description string `json:"description"` }
type CreateWorkflowTriggerCronRefParams ¶
type CreateWorkflowTriggerCronRefParams struct { Workflowtriggersid pgtype.UUID `json:"workflowtriggersid"` Crontrigger string `json:"crontrigger"` Name pgtype.Text `json:"name"` Input []byte `json:"input"` AdditionalMetadata []byte `json:"additionalMetadata"` Method NullWorkflowTriggerCronRefMethods `json:"method"` Priority pgtype.Int4 `json:"priority"` }
type CreateWorkflowVersionParams ¶
type CreateWorkflowVersionParams struct { ID pgtype.UUID `json:"id"` CreatedAt pgtype.Timestamp `json:"createdAt"` UpdatedAt pgtype.Timestamp `json:"updatedAt"` Deletedat pgtype.Timestamp `json:"deletedat"` Checksum string `json:"checksum"` Version pgtype.Text `json:"version"` Workflowid pgtype.UUID `json:"workflowid"` Sticky NullStickyStrategy `json:"sticky"` Kind NullWorkflowKind `json:"kind"` DefaultPriority pgtype.Int4 `json:"defaultPriority"` CreateWorkflowVersionOpts []byte `json:"createWorkflowVersionOpts"` }
type DBTX ¶
type DBTX interface { Exec(context.Context, string, ...interface{}) (pgconn.CommandTag, error) Query(context.Context, string, ...interface{}) (pgx.Rows, error) QueryRow(context.Context, string, ...interface{}) pgx.Row CopyFrom(ctx context.Context, tableName pgx.Identifier, columnNames []string, rowSrc pgx.CopyFromSource) (int64, error) }
type DeleteFilterParams ¶
type DeleteMatchingSignalEventsParams ¶
type DeleteMatchingSignalEventsParams struct { Taskids []int64 `json:"taskids"` Taskinsertedats []pgtype.Timestamptz `json:"taskinsertedats"` Eventkeys []string `json:"eventkeys"` Tenantid pgtype.UUID `json:"tenantid"` Eventtype V1TaskEventType `json:"eventtype"` }
type DeleteWebhookParams ¶ added in v0.70.0
type Dispatcher ¶
type Event ¶
type Event struct { ID pgtype.UUID `json:"id"` CreatedAt pgtype.Timestamp `json:"createdAt"` UpdatedAt pgtype.Timestamp `json:"updatedAt"` DeletedAt pgtype.Timestamp `json:"deletedAt"` Key string `json:"key"` TenantId pgtype.UUID `json:"tenantId"` ReplayedFromId pgtype.UUID `json:"replayedFromId"` Data []byte `json:"data"` AdditionalMetadata []byte `json:"additionalMetadata"` InsertOrder pgtype.Int4 `json:"insertOrder"` }
type FailTaskAppFailureRow ¶
type FailTaskAppFailureRow struct { ID int64 `json:"id"` InsertedAt pgtype.Timestamptz `json:"inserted_at"` RetryCount int32 `json:"retry_count"` AppRetryCount int32 `json:"app_retry_count"` RetryBackoffFactor pgtype.Float8 `json:"retry_backoff_factor"` RetryMaxBackoff pgtype.Int4 `json:"retry_max_backoff"` }
type FailTaskInternalFailureRow ¶
type FailTaskInternalFailureRow struct { ID int64 `json:"id"` InsertedAt pgtype.Timestamptz `json:"inserted_at"` RetryCount int32 `json:"retry_count"` }
type FetchWorkflowRunIdsParams ¶
type FetchWorkflowRunIdsParams struct { Tenantid pgtype.UUID `json:"tenantid"` Statuses []string `json:"statuses"` WorkflowIds []pgtype.UUID `json:"workflowIds"` Since pgtype.Timestamptz `json:"since"` Until pgtype.Timestamptz `json:"until"` Keys []string `json:"keys"` Values []string `json:"values"` Listworkflowrunsoffset int32 `json:"listworkflowrunsoffset"` Listworkflowrunslimit int32 `json:"listworkflowrunslimit"` ParentTaskExternalId pgtype.UUID `json:"parentTaskExternalId"` TriggeringEventExternalId pgtype.UUID `json:"triggeringEventExternalId"` }
type FetchWorkflowRunIdsRow ¶
type FlattenExternalIdsRow ¶
type FlattenExternalIdsRow struct { ID int64 `json:"id"` InsertedAt pgtype.Timestamptz `json:"inserted_at"` RetryCount int32 `json:"retry_count"` ExternalID pgtype.UUID `json:"external_id"` WorkflowRunID pgtype.UUID `json:"workflow_run_id"` AdditionalMetadata []byte `json:"additional_metadata"` DagID pgtype.Int8 `json:"dag_id"` DagInsertedAt pgtype.Timestamptz `json:"dag_inserted_at"` ParentTaskID pgtype.Int8 `json:"parent_task_id"` ChildIndex pgtype.Int8 `json:"child_index"` ChildKey pgtype.Text `json:"child_key"` WorkflowRunExternalID pgtype.UUID `json:"workflow_run_external_id"` }
type GetDAGDataParams ¶
type GetDAGDataParams struct { Dagids []int64 `json:"dagids"` Daginsertedats []pgtype.Timestamptz `json:"daginsertedats"` }
type GetDAGDataRow ¶
type GetDAGDataRow struct { DagID int64 `json:"dag_id"` DagInsertedAt pgtype.Timestamptz `json:"dag_inserted_at"` Input []byte `json:"input"` AdditionalMetadata []byte `json:"additional_metadata"` DagID_2 interface{} `json:"dag_id_2"` DagInsertedAt_2 interface{} `json:"dag_inserted_at_2"` }
type GetDagDurationsParams ¶ added in v0.71.0
type GetDagDurationsRow ¶ added in v0.71.0
type GetDagDurationsRow struct { ExternalID pgtype.UUID `json:"external_id"` StartedAt pgtype.Timestamptz `json:"started_at"` FinishedAt pgtype.Timestamptz `json:"finished_at"` }
type GetDesiredLabelsRow ¶
type GetFilterParams ¶
type GetGroupKeyRun ¶
type GetGroupKeyRun struct { ID pgtype.UUID `json:"id"` CreatedAt pgtype.Timestamp `json:"createdAt"` UpdatedAt pgtype.Timestamp `json:"updatedAt"` DeletedAt pgtype.Timestamp `json:"deletedAt"` TenantId pgtype.UUID `json:"tenantId"` WorkerId pgtype.UUID `json:"workerId"` TickerId pgtype.UUID `json:"tickerId"` Status StepRunStatus `json:"status"` Input []byte `json:"input"` Output pgtype.Text `json:"output"` RequeueAfter pgtype.Timestamp `json:"requeueAfter"` Error pgtype.Text `json:"error"` StartedAt pgtype.Timestamp `json:"startedAt"` FinishedAt pgtype.Timestamp `json:"finishedAt"` TimeoutAt pgtype.Timestamp `json:"timeoutAt"` CancelledAt pgtype.Timestamp `json:"cancelledAt"` CancelledReason pgtype.Text `json:"cancelledReason"` CancelledError pgtype.Text `json:"cancelledError"` WorkflowRunId pgtype.UUID `json:"workflowRunId"` ScheduleTimeoutAt pgtype.Timestamp `json:"scheduleTimeoutAt"` }
type GetQueuedCountsRow ¶
type GetRunsListRecursiveRow ¶
type GetTaskDurationsByTaskIdsParams ¶
type GetTaskDurationsByTaskIdsParams struct { Taskids []int64 `json:"taskids"` Taskinsertedats []pgtype.Timestamptz `json:"taskinsertedats"` Readablestatuses []V1ReadableStatusOlap `json:"readablestatuses"` Tenantid pgtype.UUID `json:"tenantid"` }
type GetTaskDurationsByTaskIdsRow ¶
type GetTaskDurationsByTaskIdsRow struct { StartedAt pgtype.Timestamptz `json:"started_at"` FinishedAt pgtype.Timestamptz `json:"finished_at"` }
type GetTaskPointMetricsParams ¶
type GetTaskPointMetricsParams struct { Interval pgtype.Interval `json:"interval"` Tenantid pgtype.UUID `json:"tenantid"` Createdafter pgtype.Timestamptz `json:"createdafter"` Createdbefore pgtype.Timestamptz `json:"createdbefore"` }
type GetTaskPointMetricsRow ¶
type GetTaskPointMetricsRow struct { Bucket2 pgtype.Timestamptz `json:"bucket_2"` CompletedCount int64 `json:"completed_count"` FailedCount int64 `json:"failed_count"` }
type GetTenantStatusMetricsParams ¶
type GetTenantStatusMetricsParams struct { Tenantid pgtype.UUID `json:"tenantid"` Createdafter pgtype.Timestamptz `json:"createdafter"` CreatedBefore pgtype.Timestamptz `json:"createdBefore"` WorkflowIds []pgtype.UUID `json:"workflowIds"` ParentTaskExternalId pgtype.UUID `json:"parentTaskExternalId"` TriggeringEventExternalId pgtype.UUID `json:"triggeringEventExternalId"` }
type GetWebhookParams ¶ added in v0.70.0
type GetWorkerByIdRow ¶
type GetWorkflowByNameParams ¶
type GetWorkflowRunIdFromDagIdInsertedAtParams ¶
type GetWorkflowRunIdFromDagIdInsertedAtParams struct { Dagid int64 `json:"dagid"` Daginsertedat pgtype.Timestamptz `json:"daginsertedat"` }
type GetWorkflowVersionForEngineRow ¶
type GetWorkflowVersionForEngineRow struct { WorkflowVersion WorkflowVersion `json:"workflow_version"` WorkflowName string `json:"workflowName"` ConcurrencyLimitStrategy NullConcurrencyLimitStrategy `json:"concurrencyLimitStrategy"` ConcurrencyMaxRuns pgtype.Int4 `json:"concurrencyMaxRuns"` ConcurrencyGroupId pgtype.UUID `json:"concurrencyGroupId"` ConcurrencyGroupExpression pgtype.Text `json:"concurrencyGroupExpression"` }
type InsertLogLineParams ¶
type InsertLogLineParams struct { TenantID pgtype.UUID `json:"tenant_id"` TaskID int64 `json:"task_id"` TaskInsertedAt pgtype.Timestamptz `json:"task_inserted_at"` Message string `json:"message"` Metadata []byte `json:"metadata"` RetryCount int32 `json:"retry_count"` Level V1LogLineLevel `json:"level"` }
type InternalQueue ¶
type InternalQueue string
const ( InternalQueueWORKERSEMAPHORECOUNT InternalQueue = "WORKER_SEMAPHORE_COUNT" InternalQueueSTEPRUNUPDATE InternalQueue = "STEP_RUN_UPDATE" InternalQueueWORKFLOWRUNUPDATE InternalQueue = "WORKFLOW_RUN_UPDATE" InternalQueueWORKFLOWRUNPAUSED InternalQueue = "WORKFLOW_RUN_PAUSED" InternalQueueSTEPRUNUPDATEV2 InternalQueue = "STEP_RUN_UPDATE_V2" )
func (*InternalQueue) Scan ¶
func (e *InternalQueue) Scan(src interface{}) error
type InternalQueueItem ¶
type InviteLinkStatus ¶
type InviteLinkStatus string
const ( InviteLinkStatusPENDING InviteLinkStatus = "PENDING" InviteLinkStatusACCEPTED InviteLinkStatus = "ACCEPTED" InviteLinkStatusREJECTED InviteLinkStatus = "REJECTED" )
func (*InviteLinkStatus) Scan ¶
func (e *InviteLinkStatus) Scan(src interface{}) error
type IsTenantAlertActiveRow ¶
type Job ¶
type Job struct { ID pgtype.UUID `json:"id"` CreatedAt pgtype.Timestamp `json:"createdAt"` UpdatedAt pgtype.Timestamp `json:"updatedAt"` DeletedAt pgtype.Timestamp `json:"deletedAt"` TenantId pgtype.UUID `json:"tenantId"` WorkflowVersionId pgtype.UUID `json:"workflowVersionId"` Name string `json:"name"` Description pgtype.Text `json:"description"` Timeout pgtype.Text `json:"timeout"` Kind JobKind `json:"kind"` }
type JobRun ¶
type JobRun struct { ID pgtype.UUID `json:"id"` CreatedAt pgtype.Timestamp `json:"createdAt"` UpdatedAt pgtype.Timestamp `json:"updatedAt"` DeletedAt pgtype.Timestamp `json:"deletedAt"` TenantId pgtype.UUID `json:"tenantId"` JobId pgtype.UUID `json:"jobId"` TickerId pgtype.UUID `json:"tickerId"` Status JobRunStatus `json:"status"` Result []byte `json:"result"` StartedAt pgtype.Timestamp `json:"startedAt"` FinishedAt pgtype.Timestamp `json:"finishedAt"` TimeoutAt pgtype.Timestamp `json:"timeoutAt"` CancelledAt pgtype.Timestamp `json:"cancelledAt"` CancelledReason pgtype.Text `json:"cancelledReason"` CancelledError pgtype.Text `json:"cancelledError"` WorkflowRunId pgtype.UUID `json:"workflowRunId"` }
type JobRunLookupData ¶
type JobRunLookupData struct { ID pgtype.UUID `json:"id"` CreatedAt pgtype.Timestamp `json:"createdAt"` UpdatedAt pgtype.Timestamp `json:"updatedAt"` DeletedAt pgtype.Timestamp `json:"deletedAt"` JobRunId pgtype.UUID `json:"jobRunId"` TenantId pgtype.UUID `json:"tenantId"` Data []byte `json:"data"` }
type JobRunStatus ¶
type JobRunStatus string
const ( JobRunStatusPENDING JobRunStatus = "PENDING" JobRunStatusRUNNING JobRunStatus = "RUNNING" JobRunStatusSUCCEEDED JobRunStatus = "SUCCEEDED" JobRunStatusFAILED JobRunStatus = "FAILED" JobRunStatusCANCELLED JobRunStatus = "CANCELLED" JobRunStatusBACKOFF JobRunStatus = "BACKOFF" )
func (*JobRunStatus) Scan ¶
func (e *JobRunStatus) Scan(src interface{}) error
type LimitResource ¶
type LimitResource string
const ( LimitResourceWORKFLOWRUN LimitResource = "WORKFLOW_RUN" LimitResourceTASKRUN LimitResource = "TASK_RUN" LimitResourceEVENT LimitResource = "EVENT" LimitResourceWORKER LimitResource = "WORKER" LimitResourceWORKERSLOT LimitResource = "WORKER_SLOT" LimitResourceCRON LimitResource = "CRON" LimitResourceSCHEDULE LimitResource = "SCHEDULE" LimitResourceINCOMINGWEBHOOK LimitResource = "INCOMING_WEBHOOK" )
func (*LimitResource) Scan ¶
func (e *LimitResource) Scan(src interface{}) error
type LinkOnFailureJobParams ¶
type ListActiveWorkersRow ¶
type ListAllTasksInDagsRow ¶
type ListAllTasksInDagsRow struct { ID int64 `json:"id"` InsertedAt pgtype.Timestamptz `json:"inserted_at"` RetryCount int32 `json:"retry_count"` DagID pgtype.Int8 `json:"dag_id"` DagInsertedAt pgtype.Timestamptz `json:"dag_inserted_at"` StepReadableID string `json:"step_readable_id"` StepID pgtype.UUID `json:"step_id"` WorkflowID pgtype.UUID `json:"workflow_id"` ExternalID pgtype.UUID `json:"external_id"` }
type ListEventsParams ¶
type ListEventsParams struct { Tenantid pgtype.UUID `json:"tenantid"` Keys []string `json:"keys"` Since pgtype.Timestamptz `json:"since"` Until pgtype.Timestamptz `json:"until"` WorkflowIds []pgtype.UUID `json:"workflowIds"` EventIds []pgtype.UUID `json:"eventIds"` AdditionalMetadata []byte `json:"additionalMetadata"` Statuses []string `json:"statuses"` Scopes []string `json:"scopes"` Offset pgtype.Int8 `json:"offset"` Limit pgtype.Int8 `json:"limit"` }
type ListFiltersParams ¶
type ListLogLinesParams ¶
type ListManyWorkerLabelsRow ¶
type ListMatchConditionsForEventRow ¶
type ListMatchConditionsForEventRow struct { V1MatchID int64 `json:"v1_match_id"` ID int64 `json:"id"` RegisteredAt pgtype.Timestamptz `json:"registered_at"` EventType V1EventType `json:"event_type"` EventKey string `json:"event_key"` EventResourceHint pgtype.Text `json:"event_resource_hint"` ReadableDataKey string `json:"readable_data_key"` Expression pgtype.Text `json:"expression"` }
type ListMatchConditionsForEventWithHintParams ¶
type ListMatchConditionsForEventWithHintParams struct { Tenantid pgtype.UUID `json:"tenantid"` Eventtype V1EventType `json:"eventtype"` Eventkeys []string `json:"eventkeys"` Eventresourcehints []string `json:"eventresourcehints"` }
type ListMatchConditionsForEventWithoutHintParams ¶
type ListMatchConditionsForEventWithoutHintParams struct { Tenantid pgtype.UUID `json:"tenantid"` Eventtype V1EventType `json:"eventtype"` Eventkeys []string `json:"eventkeys"` }
type ListMatchingSignalEventsParams ¶
type ListMatchingSignalEventsParams struct { Tenantid pgtype.UUID `json:"tenantid"` Eventtype V1TaskEventType `json:"eventtype"` Taskids []int64 `json:"taskids"` Taskinsertedats []pgtype.Timestamptz `json:"taskinsertedats"` Eventkeys []string `json:"eventkeys"` }
type ListMatchingTaskEventsRow ¶
type ListMatchingTaskEventsRow struct { ExternalID pgtype.UUID `json:"external_id"` ID int64 `json:"id"` TenantID pgtype.UUID `json:"tenant_id"` TaskID int64 `json:"task_id"` TaskInsertedAt pgtype.Timestamptz `json:"task_inserted_at"` RetryCount int32 `json:"retry_count"` EventType V1TaskEventType `json:"event_type"` EventKey pgtype.Text `json:"event_key"` CreatedAt pgtype.Timestamp `json:"created_at"` Data []byte `json:"data"` }
type ListRateLimitsForTenantWithMutateRow ¶
type ListRateLimitsForTenantWithMutateRow struct { TenantId pgtype.UUID `json:"tenantId"` Key string `json:"key"` LimitValue int32 `json:"limitValue"` Value int32 `json:"value"` Window string `json:"window"` LastRefill pgtype.Timestamp `json:"lastRefill"` NextRefillAt pgtype.Timestamp `json:"nextRefillAt"` }
type ListSemaphoreSlotsWithStateForWorkerRow ¶
type ListSemaphoreSlotsWithStateForWorkerRow struct { TaskID int64 `json:"task_id"` TaskInsertedAt pgtype.Timestamptz `json:"task_inserted_at"` RetryCount int32 `json:"retry_count"` WorkerID pgtype.UUID `json:"worker_id"` TenantID pgtype.UUID `json:"tenant_id"` TimeoutAt pgtype.Timestamp `json:"timeout_at"` ID int64 `json:"id"` InsertedAt pgtype.Timestamptz `json:"inserted_at"` TenantID_2 pgtype.UUID `json:"tenant_id_2"` Queue string `json:"queue"` ActionID string `json:"action_id"` StepID pgtype.UUID `json:"step_id"` StepReadableID string `json:"step_readable_id"` WorkflowID pgtype.UUID `json:"workflow_id"` WorkflowVersionID pgtype.UUID `json:"workflow_version_id"` WorkflowRunID pgtype.UUID `json:"workflow_run_id"` ScheduleTimeout string `json:"schedule_timeout"` StepTimeout pgtype.Text `json:"step_timeout"` Priority pgtype.Int4 `json:"priority"` Sticky V1StickyStrategy `json:"sticky"` DesiredWorkerID pgtype.UUID `json:"desired_worker_id"` ExternalID pgtype.UUID `json:"external_id"` DisplayName string `json:"display_name"` Input []byte `json:"input"` RetryCount_2 int32 `json:"retry_count_2"` InternalRetryCount int32 `json:"internal_retry_count"` AppRetryCount int32 `json:"app_retry_count"` StepIndex int64 `json:"step_index"` AdditionalMetadata []byte `json:"additional_metadata"` DagID pgtype.Int8 `json:"dag_id"` DagInsertedAt pgtype.Timestamptz `json:"dag_inserted_at"` ParentTaskExternalID pgtype.UUID `json:"parent_task_external_id"` ParentTaskID pgtype.Int8 `json:"parent_task_id"` ParentTaskInsertedAt pgtype.Timestamptz `json:"parent_task_inserted_at"` ChildIndex pgtype.Int8 `json:"child_index"` ChildKey pgtype.Text `json:"child_key"` InitialState V1TaskInitialState `json:"initial_state"` InitialStateReason pgtype.Text `json:"initial_state_reason"` ConcurrencyParentStrategyIds []pgtype.Int8 `json:"concurrency_parent_strategy_ids"` ConcurrencyStrategyIds []int64 `json:"concurrency_strategy_ids"` ConcurrencyKeys []string `json:"concurrency_keys"` RetryBackoffFactor pgtype.Float8 `json:"retry_backoff_factor"` RetryMaxBackoff pgtype.Int4 `json:"retry_max_backoff"` }
type ListStepsByIdsParams ¶
type ListStepsByIdsRow ¶
type ListStepsByIdsRow struct { ID pgtype.UUID `json:"id"` CreatedAt pgtype.Timestamp `json:"createdAt"` UpdatedAt pgtype.Timestamp `json:"updatedAt"` DeletedAt pgtype.Timestamp `json:"deletedAt"` ReadableId pgtype.Text `json:"readableId"` TenantId pgtype.UUID `json:"tenantId"` JobId pgtype.UUID `json:"jobId"` ActionId string `json:"actionId"` Timeout pgtype.Text `json:"timeout"` CustomUserData []byte `json:"customUserData"` Retries int32 `json:"retries"` RetryBackoffFactor pgtype.Float8 `json:"retryBackoffFactor"` RetryMaxBackoff pgtype.Int4 `json:"retryMaxBackoff"` ScheduleTimeout string `json:"scheduleTimeout"` WorkflowVersionId pgtype.UUID `json:"workflowVersionId"` WorkflowVersionSticky NullStickyStrategy `json:"workflowVersionSticky"` WorkflowName string `json:"workflowName"` WorkflowId pgtype.UUID `json:"workflowId"` DefaultPriority int32 `json:"defaultPriority"` ExprCount int64 `json:"exprCount"` ConcurrencyCount int64 `json:"concurrencyCount"` }
type ListStepsByWorkflowVersionIdsRow ¶
type ListStepsByWorkflowVersionIdsRow struct { ID pgtype.UUID `json:"id"` CreatedAt pgtype.Timestamp `json:"createdAt"` UpdatedAt pgtype.Timestamp `json:"updatedAt"` DeletedAt pgtype.Timestamp `json:"deletedAt"` ReadableId pgtype.Text `json:"readableId"` TenantId pgtype.UUID `json:"tenantId"` JobId pgtype.UUID `json:"jobId"` ActionId string `json:"actionId"` Timeout pgtype.Text `json:"timeout"` CustomUserData []byte `json:"customUserData"` Retries int32 `json:"retries"` RetryBackoffFactor pgtype.Float8 `json:"retryBackoffFactor"` RetryMaxBackoff pgtype.Int4 `json:"retryMaxBackoff"` ScheduleTimeout string `json:"scheduleTimeout"` WorkflowVersionId pgtype.UUID `json:"workflowVersionId"` WorkflowName string `json:"workflowName"` WorkflowId pgtype.UUID `json:"workflowId"` JobKind JobKind `json:"jobKind"` MatchConditionCount int64 `json:"matchConditionCount"` Parents []pgtype.UUID `json:"parents"` }
type ListTaskEventsForWorkflowRunRow ¶
type ListTaskEventsForWorkflowRunRow struct { TenantID pgtype.UUID `json:"tenant_id"` TaskID int64 `json:"task_id"` TaskInsertedAt pgtype.Timestamptz `json:"task_inserted_at"` RetryCount int32 `json:"retry_count"` EventType V1EventTypeOlap `json:"event_type"` TimeFirstSeen pgtype.Timestamptz `json:"time_first_seen"` TimeLastSeen pgtype.Timestamptz `json:"time_last_seen"` Count int64 `json:"count"` ID int64 `json:"id"` EventTimestamp pgtype.Timestamptz `json:"event_timestamp"` ReadableStatus V1ReadableStatusOlap `json:"readable_status"` ErrorMessage pgtype.Text `json:"error_message"` Output []byte `json:"output"` WorkerID pgtype.UUID `json:"worker_id"` AdditionalEventData pgtype.Text `json:"additional__event_data"` AdditionalEventMessage pgtype.Text `json:"additional__event_message"` DisplayName string `json:"display_name"` TaskExternalID pgtype.UUID `json:"task_external_id"` }
type ListTaskEventsParams ¶
type ListTaskEventsParams struct { Tenantid pgtype.UUID `json:"tenantid"` Taskid int64 `json:"taskid"` Taskinsertedat pgtype.Timestamptz `json:"taskinsertedat"` }
type ListTaskEventsRow ¶
type ListTaskEventsRow struct { TenantID pgtype.UUID `json:"tenant_id"` TaskID int64 `json:"task_id"` TaskInsertedAt pgtype.Timestamptz `json:"task_inserted_at"` RetryCount int32 `json:"retry_count"` EventType V1EventTypeOlap `json:"event_type"` TimeFirstSeen interface{} `json:"time_first_seen"` TimeLastSeen interface{} `json:"time_last_seen"` Count int64 `json:"count"` ID int64 `json:"id"` EventTimestamp pgtype.Timestamptz `json:"event_timestamp"` ReadableStatus V1ReadableStatusOlap `json:"readable_status"` ErrorMessage pgtype.Text `json:"error_message"` Output []byte `json:"output"` WorkerID pgtype.UUID `json:"worker_id"` AdditionalEventData pgtype.Text `json:"additional__event_data"` AdditionalEventMessage pgtype.Text `json:"additional__event_message"` }
type ListTaskExpressionEvalsParams ¶
type ListTaskExpressionEvalsParams struct { Taskids []int64 `json:"taskids"` Taskinsertedats []pgtype.Timestamptz `json:"taskinsertedats"` }
type ListTaskMetasParams ¶
type ListTaskMetasRow ¶
type ListTaskParentOutputsParams ¶
type ListTaskParentOutputsParams struct { Taskids []int64 `json:"taskids"` Taskinsertedats []pgtype.Timestamptz `json:"taskinsertedats"` Tenantid pgtype.UUID `json:"tenantid"` }
type ListTaskParentOutputsRow ¶
type ListTaskParentOutputsRow struct { ID int64 `json:"id"` InsertedAt pgtype.Timestamptz `json:"inserted_at"` RetryCount int32 `json:"retry_count"` TenantID pgtype.UUID `json:"tenant_id"` DagID pgtype.Int8 `json:"dag_id"` DagInsertedAt pgtype.Timestamptz `json:"dag_inserted_at"` StepReadableID string `json:"step_readable_id"` WorkflowRunID pgtype.UUID `json:"workflow_run_id"` StepID pgtype.UUID `json:"step_id"` WorkflowID pgtype.UUID `json:"workflow_id"` Output []byte `json:"output"` }
type ListTasksByDAGIdsParams ¶
type ListTasksByDAGIdsRow ¶
type ListTasksByDAGIdsRow struct { DagID int64 `json:"dag_id"` DagInsertedAt pgtype.Timestamptz `json:"dag_inserted_at"` TaskID int64 `json:"task_id"` TaskInsertedAt pgtype.Timestamptz `json:"task_inserted_at"` DagExternalID pgtype.UUID `json:"dag_external_id"` }
type ListTasksForReplayParams ¶
type ListTasksForReplayParams struct { Taskids []int64 `json:"taskids"` Taskinsertedats []pgtype.Timestamptz `json:"taskinsertedats"` Tenantid pgtype.UUID `json:"tenantid"` }
type ListTasksForReplayRow ¶
type ListTasksForReplayRow struct { ID int64 `json:"id"` InsertedAt pgtype.Timestamptz `json:"inserted_at"` RetryCount int32 `json:"retry_count"` DagID pgtype.Int8 `json:"dag_id"` DagInsertedAt pgtype.Timestamptz `json:"dag_inserted_at"` StepReadableID string `json:"step_readable_id"` StepID pgtype.UUID `json:"step_id"` WorkflowID pgtype.UUID `json:"workflow_id"` ExternalID pgtype.UUID `json:"external_id"` Input []byte `json:"input"` AdditionalMetadata []byte `json:"additional_metadata"` ParentTaskExternalID pgtype.UUID `json:"parent_task_external_id"` ParentTaskID pgtype.Int8 `json:"parent_task_id"` ParentTaskInsertedAt pgtype.Timestamptz `json:"parent_task_inserted_at"` StepIndex int64 `json:"step_index"` ChildIndex pgtype.Int8 `json:"child_index"` ChildKey pgtype.Text `json:"child_key"` JobKind JobKind `json:"jobKind"` Parents []pgtype.UUID `json:"parents"` }
type ListTasksOlapParams ¶
type ListTasksOlapParams struct { Tenantid pgtype.UUID `json:"tenantid"` Since pgtype.Timestamptz `json:"since"` Statuses []string `json:"statuses"` Until pgtype.Timestamptz `json:"until"` WorkflowIds []pgtype.UUID `json:"workflowIds"` WorkerId pgtype.UUID `json:"workerId"` Keys []string `json:"keys"` Values []string `json:"values"` Taskoffset int32 `json:"taskoffset"` Tasklimit int32 `json:"tasklimit"` TriggeringEventExternalId pgtype.UUID `json:"triggeringEventExternalId"` }
type ListTasksOlapRow ¶
type ListTasksOlapRow struct { ID int64 `json:"id"` InsertedAt pgtype.Timestamptz `json:"inserted_at"` }
type ListTasksParams ¶
type ListTasksToReassignRow ¶
type ListTasksToReassignRow struct { ID int64 `json:"id"` InsertedAt pgtype.Timestamptz `json:"inserted_at"` RetryCount int32 `json:"retry_count"` }
type ListTasksToTimeoutRow ¶
type ListTasksToTimeoutRow struct { ID int64 `json:"id"` InsertedAt pgtype.Timestamptz `json:"inserted_at"` RetryCount int32 `json:"retry_count"` StepID pgtype.UUID `json:"step_id"` ExternalID pgtype.UUID `json:"external_id"` WorkflowRunID pgtype.UUID `json:"workflow_run_id"` StepTimeout pgtype.Text `json:"step_timeout"` AppRetryCount int32 `json:"app_retry_count"` RetryBackoffFactor pgtype.Float8 `json:"retry_backoff_factor"` RetryMaxBackoff pgtype.Int4 `json:"retry_max_backoff"` WorkerID pgtype.UUID `json:"worker_id"` }
type ListWebhooksParams ¶ added in v0.70.0
type ListWorkflowRunDisplayNamesRow ¶
type ListWorkflowRunDisplayNamesRow struct { ExternalID pgtype.UUID `json:"external_id"` DisplayName string `json:"display_name"` InsertedAt pgtype.Timestamptz `json:"inserted_at"` }
type ListWorkflowsByNamesRow ¶
type ListWorkflowsForEventsRow ¶
type ListWorkflowsForEventsRow struct { WorkflowVersionId pgtype.UUID `json:"workflowVersionId"` WorkflowId pgtype.UUID `json:"workflowId"` WorkflowName string `json:"workflowName"` WorkflowTriggeringEventKeyPattern string `json:"workflowTriggeringEventKeyPattern"` IncomingEventKey string `json:"incomingEventKey"` }
type LockDAGsForReplayParams ¶
type LogLineLevel ¶
type LogLineLevel string
const ( LogLineLevelDEBUG LogLineLevel = "DEBUG" LogLineLevelINFO LogLineLevel = "INFO" LogLineLevelWARN LogLineLevel = "WARN" LogLineLevelERROR LogLineLevel = "ERROR" )
func (*LogLineLevel) Scan ¶
func (e *LogLineLevel) Scan(src interface{}) error
type LookupExternalIdsParams ¶
type ManualSlotReleaseParams ¶
type MessageQueue ¶
type MessageQueueItem ¶
type MessageQueueItemStatus ¶
type MessageQueueItemStatus string
const ( MessageQueueItemStatusPENDING MessageQueueItemStatus = "PENDING" MessageQueueItemStatusASSIGNED MessageQueueItemStatus = "ASSIGNED" )
func (*MessageQueueItemStatus) Scan ¶
func (e *MessageQueueItemStatus) Scan(src interface{}) error
type MoveRateLimitedQueueItemsParams ¶ added in v0.71.2
type MoveRateLimitedQueueItemsParams struct { Ids []int64 `json:"ids"` Requeueafter []pgtype.Timestamptz `json:"requeueafter"` }
type MoveRateLimitedQueueItemsRow ¶ added in v0.71.2
type NullConcurrencyLimitStrategy ¶
type NullConcurrencyLimitStrategy struct { ConcurrencyLimitStrategy ConcurrencyLimitStrategy `json:"ConcurrencyLimitStrategy"` Valid bool `json:"valid"` // Valid is true if ConcurrencyLimitStrategy is not NULL }
func (*NullConcurrencyLimitStrategy) Scan ¶
func (ns *NullConcurrencyLimitStrategy) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullInternalQueue ¶
type NullInternalQueue struct { InternalQueue InternalQueue `json:"InternalQueue"` Valid bool `json:"valid"` // Valid is true if InternalQueue is not NULL }
func (*NullInternalQueue) Scan ¶
func (ns *NullInternalQueue) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullInviteLinkStatus ¶
type NullInviteLinkStatus struct { InviteLinkStatus InviteLinkStatus `json:"InviteLinkStatus"` Valid bool `json:"valid"` // Valid is true if InviteLinkStatus is not NULL }
func (*NullInviteLinkStatus) Scan ¶
func (ns *NullInviteLinkStatus) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullJobKind ¶
type NullJobKind struct { JobKind JobKind `json:"JobKind"` Valid bool `json:"valid"` // Valid is true if JobKind is not NULL }
func (*NullJobKind) Scan ¶
func (ns *NullJobKind) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullJobRunStatus ¶
type NullJobRunStatus struct { JobRunStatus JobRunStatus `json:"JobRunStatus"` Valid bool `json:"valid"` // Valid is true if JobRunStatus is not NULL }
func (*NullJobRunStatus) Scan ¶
func (ns *NullJobRunStatus) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullLeaseKind ¶
type NullLeaseKind struct { LeaseKind LeaseKind `json:"LeaseKind"` Valid bool `json:"valid"` // Valid is true if LeaseKind is not NULL }
func (*NullLeaseKind) Scan ¶
func (ns *NullLeaseKind) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullLimitResource ¶
type NullLimitResource struct { LimitResource LimitResource `json:"LimitResource"` Valid bool `json:"valid"` // Valid is true if LimitResource is not NULL }
func (*NullLimitResource) Scan ¶
func (ns *NullLimitResource) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullLogLineLevel ¶
type NullLogLineLevel struct { LogLineLevel LogLineLevel `json:"LogLineLevel"` Valid bool `json:"valid"` // Valid is true if LogLineLevel is not NULL }
func (*NullLogLineLevel) Scan ¶
func (ns *NullLogLineLevel) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullMessageQueueItemStatus ¶
type NullMessageQueueItemStatus struct { MessageQueueItemStatus MessageQueueItemStatus `json:"MessageQueueItemStatus"` Valid bool `json:"valid"` // Valid is true if MessageQueueItemStatus is not NULL }
func (*NullMessageQueueItemStatus) Scan ¶
func (ns *NullMessageQueueItemStatus) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullStepExpressionKind ¶
type NullStepExpressionKind struct { StepExpressionKind StepExpressionKind `json:"StepExpressionKind"` Valid bool `json:"valid"` // Valid is true if StepExpressionKind is not NULL }
func (*NullStepExpressionKind) Scan ¶
func (ns *NullStepExpressionKind) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullStepRateLimitKind ¶
type NullStepRateLimitKind struct { StepRateLimitKind StepRateLimitKind `json:"StepRateLimitKind"` Valid bool `json:"valid"` // Valid is true if StepRateLimitKind is not NULL }
func (*NullStepRateLimitKind) Scan ¶
func (ns *NullStepRateLimitKind) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullStepRunEventReason ¶
type NullStepRunEventReason struct { StepRunEventReason StepRunEventReason `json:"StepRunEventReason"` Valid bool `json:"valid"` // Valid is true if StepRunEventReason is not NULL }
func (*NullStepRunEventReason) Scan ¶
func (ns *NullStepRunEventReason) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullStepRunEventSeverity ¶
type NullStepRunEventSeverity struct { StepRunEventSeverity StepRunEventSeverity `json:"StepRunEventSeverity"` Valid bool `json:"valid"` // Valid is true if StepRunEventSeverity is not NULL }
func (*NullStepRunEventSeverity) Scan ¶
func (ns *NullStepRunEventSeverity) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullStepRunStatus ¶
type NullStepRunStatus struct { StepRunStatus StepRunStatus `json:"StepRunStatus"` Valid bool `json:"valid"` // Valid is true if StepRunStatus is not NULL }
func (*NullStepRunStatus) Scan ¶
func (ns *NullStepRunStatus) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullStickyStrategy ¶
type NullStickyStrategy struct { StickyStrategy StickyStrategy `json:"StickyStrategy"` Valid bool `json:"valid"` // Valid is true if StickyStrategy is not NULL }
func (*NullStickyStrategy) Scan ¶
func (ns *NullStickyStrategy) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullTenantMajorEngineVersion ¶
type NullTenantMajorEngineVersion struct { TenantMajorEngineVersion TenantMajorEngineVersion `json:"TenantMajorEngineVersion"` Valid bool `json:"valid"` // Valid is true if TenantMajorEngineVersion is not NULL }
func (*NullTenantMajorEngineVersion) Scan ¶
func (ns *NullTenantMajorEngineVersion) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullTenantMajorUIVersion ¶
type NullTenantMajorUIVersion struct { TenantMajorUIVersion TenantMajorUIVersion `json:"TenantMajorUIVersion"` Valid bool `json:"valid"` // Valid is true if TenantMajorUIVersion is not NULL }
func (*NullTenantMajorUIVersion) Scan ¶
func (ns *NullTenantMajorUIVersion) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullTenantMemberRole ¶
type NullTenantMemberRole struct { TenantMemberRole TenantMemberRole `json:"TenantMemberRole"` Valid bool `json:"valid"` // Valid is true if TenantMemberRole is not NULL }
func (*NullTenantMemberRole) Scan ¶
func (ns *NullTenantMemberRole) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullTenantResourceLimitAlertType ¶
type NullTenantResourceLimitAlertType struct { TenantResourceLimitAlertType TenantResourceLimitAlertType `json:"TenantResourceLimitAlertType"` Valid bool `json:"valid"` // Valid is true if TenantResourceLimitAlertType is not NULL }
func (*NullTenantResourceLimitAlertType) Scan ¶
func (ns *NullTenantResourceLimitAlertType) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullV1CelEvaluationFailureSource ¶ added in v0.70.0
type NullV1CelEvaluationFailureSource struct { V1CelEvaluationFailureSource V1CelEvaluationFailureSource `json:"v1_cel_evaluation_failure_source"` Valid bool `json:"valid"` // Valid is true if V1CelEvaluationFailureSource is not NULL }
func (*NullV1CelEvaluationFailureSource) Scan ¶ added in v0.70.0
func (ns *NullV1CelEvaluationFailureSource) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullV1ConcurrencyStrategy ¶
type NullV1ConcurrencyStrategy struct { V1ConcurrencyStrategy V1ConcurrencyStrategy `json:"v1_concurrency_strategy"` Valid bool `json:"valid"` // Valid is true if V1ConcurrencyStrategy is not NULL }
func (*NullV1ConcurrencyStrategy) Scan ¶
func (ns *NullV1ConcurrencyStrategy) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullV1EventType ¶
type NullV1EventType struct { V1EventType V1EventType `json:"v1_event_type"` Valid bool `json:"valid"` // Valid is true if V1EventType is not NULL }
func (*NullV1EventType) Scan ¶
func (ns *NullV1EventType) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullV1EventTypeOlap ¶
type NullV1EventTypeOlap struct { V1EventTypeOlap V1EventTypeOlap `json:"v1_event_type_olap"` Valid bool `json:"valid"` // Valid is true if V1EventTypeOlap is not NULL }
func (*NullV1EventTypeOlap) Scan ¶
func (ns *NullV1EventTypeOlap) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullV1IncomingWebhookAuthType ¶ added in v0.70.0
type NullV1IncomingWebhookAuthType struct { V1IncomingWebhookAuthType V1IncomingWebhookAuthType `json:"v1_incoming_webhook_auth_type"` Valid bool `json:"valid"` // Valid is true if V1IncomingWebhookAuthType is not NULL }
func (*NullV1IncomingWebhookAuthType) Scan ¶ added in v0.70.0
func (ns *NullV1IncomingWebhookAuthType) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullV1IncomingWebhookHmacAlgorithm ¶ added in v0.70.0
type NullV1IncomingWebhookHmacAlgorithm struct { V1IncomingWebhookHmacAlgorithm V1IncomingWebhookHmacAlgorithm `json:"v1_incoming_webhook_hmac_algorithm"` Valid bool `json:"valid"` // Valid is true if V1IncomingWebhookHmacAlgorithm is not NULL }
func (*NullV1IncomingWebhookHmacAlgorithm) Scan ¶ added in v0.70.0
func (ns *NullV1IncomingWebhookHmacAlgorithm) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullV1IncomingWebhookHmacEncoding ¶ added in v0.70.0
type NullV1IncomingWebhookHmacEncoding struct { V1IncomingWebhookHmacEncoding V1IncomingWebhookHmacEncoding `json:"v1_incoming_webhook_hmac_encoding"` Valid bool `json:"valid"` // Valid is true if V1IncomingWebhookHmacEncoding is not NULL }
func (*NullV1IncomingWebhookHmacEncoding) Scan ¶ added in v0.70.0
func (ns *NullV1IncomingWebhookHmacEncoding) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullV1IncomingWebhookSourceName ¶ added in v0.70.0
type NullV1IncomingWebhookSourceName struct { V1IncomingWebhookSourceName V1IncomingWebhookSourceName `json:"v1_incoming_webhook_source_name"` Valid bool `json:"valid"` // Valid is true if V1IncomingWebhookSourceName is not NULL }
func (*NullV1IncomingWebhookSourceName) Scan ¶ added in v0.70.0
func (ns *NullV1IncomingWebhookSourceName) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullV1LogLineLevel ¶
type NullV1LogLineLevel struct { V1LogLineLevel V1LogLineLevel `json:"v1_log_line_level"` Valid bool `json:"valid"` // Valid is true if V1LogLineLevel is not NULL }
func (*NullV1LogLineLevel) Scan ¶
func (ns *NullV1LogLineLevel) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullV1MatchConditionAction ¶
type NullV1MatchConditionAction struct { V1MatchConditionAction V1MatchConditionAction `json:"v1_match_condition_action"` Valid bool `json:"valid"` // Valid is true if V1MatchConditionAction is not NULL }
func (*NullV1MatchConditionAction) Scan ¶
func (ns *NullV1MatchConditionAction) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullV1MatchKind ¶
type NullV1MatchKind struct { V1MatchKind V1MatchKind `json:"v1_match_kind"` Valid bool `json:"valid"` // Valid is true if V1MatchKind is not NULL }
func (*NullV1MatchKind) Scan ¶
func (ns *NullV1MatchKind) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullV1ReadableStatusOlap ¶
type NullV1ReadableStatusOlap struct { V1ReadableStatusOlap V1ReadableStatusOlap `json:"v1_readable_status_olap"` Valid bool `json:"valid"` // Valid is true if V1ReadableStatusOlap is not NULL }
func (*NullV1ReadableStatusOlap) Scan ¶
func (ns *NullV1ReadableStatusOlap) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullV1RunKind ¶
type NullV1RunKind struct { V1RunKind V1RunKind `json:"v1_run_kind"` Valid bool `json:"valid"` // Valid is true if V1RunKind is not NULL }
func (*NullV1RunKind) Scan ¶
func (ns *NullV1RunKind) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullV1StatusKind ¶
type NullV1StatusKind struct { V1StatusKind V1StatusKind `json:"v1_status_kind"` Valid bool `json:"valid"` // Valid is true if V1StatusKind is not NULL }
func (*NullV1StatusKind) Scan ¶
func (ns *NullV1StatusKind) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullV1StepMatchConditionKind ¶
type NullV1StepMatchConditionKind struct { V1StepMatchConditionKind V1StepMatchConditionKind `json:"v1_step_match_condition_kind"` Valid bool `json:"valid"` // Valid is true if V1StepMatchConditionKind is not NULL }
func (*NullV1StepMatchConditionKind) Scan ¶
func (ns *NullV1StepMatchConditionKind) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullV1StickyStrategy ¶
type NullV1StickyStrategy struct { V1StickyStrategy V1StickyStrategy `json:"v1_sticky_strategy"` Valid bool `json:"valid"` // Valid is true if V1StickyStrategy is not NULL }
func (*NullV1StickyStrategy) Scan ¶
func (ns *NullV1StickyStrategy) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullV1StickyStrategyOlap ¶
type NullV1StickyStrategyOlap struct { V1StickyStrategyOlap V1StickyStrategyOlap `json:"v1_sticky_strategy_olap"` Valid bool `json:"valid"` // Valid is true if V1StickyStrategyOlap is not NULL }
func (*NullV1StickyStrategyOlap) Scan ¶
func (ns *NullV1StickyStrategyOlap) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullV1TaskEventType ¶
type NullV1TaskEventType struct { V1TaskEventType V1TaskEventType `json:"v1_task_event_type"` Valid bool `json:"valid"` // Valid is true if V1TaskEventType is not NULL }
func (*NullV1TaskEventType) Scan ¶
func (ns *NullV1TaskEventType) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullV1TaskInitialState ¶
type NullV1TaskInitialState struct { V1TaskInitialState V1TaskInitialState `json:"v1_task_initial_state"` Valid bool `json:"valid"` // Valid is true if V1TaskInitialState is not NULL }
func (*NullV1TaskInitialState) Scan ¶
func (ns *NullV1TaskInitialState) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullVcsProvider ¶
type NullVcsProvider struct { VcsProvider VcsProvider `json:"VcsProvider"` Valid bool `json:"valid"` // Valid is true if VcsProvider is not NULL }
func (*NullVcsProvider) Scan ¶
func (ns *NullVcsProvider) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullWebhookWorkerRequestMethod ¶
type NullWebhookWorkerRequestMethod struct { WebhookWorkerRequestMethod WebhookWorkerRequestMethod `json:"WebhookWorkerRequestMethod"` Valid bool `json:"valid"` // Valid is true if WebhookWorkerRequestMethod is not NULL }
func (*NullWebhookWorkerRequestMethod) Scan ¶
func (ns *NullWebhookWorkerRequestMethod) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullWorkerLabelComparator ¶
type NullWorkerLabelComparator struct { WorkerLabelComparator WorkerLabelComparator `json:"WorkerLabelComparator"` Valid bool `json:"valid"` // Valid is true if WorkerLabelComparator is not NULL }
func (*NullWorkerLabelComparator) Scan ¶
func (ns *NullWorkerLabelComparator) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullWorkerSDKS ¶
type NullWorkerSDKS struct { WorkerSDKS WorkerSDKS `json:"WorkerSDKS"` Valid bool `json:"valid"` // Valid is true if WorkerSDKS is not NULL }
func (*NullWorkerSDKS) Scan ¶
func (ns *NullWorkerSDKS) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullWorkerType ¶
type NullWorkerType struct { WorkerType WorkerType `json:"WorkerType"` Valid bool `json:"valid"` // Valid is true if WorkerType is not NULL }
func (*NullWorkerType) Scan ¶
func (ns *NullWorkerType) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullWorkflowKind ¶
type NullWorkflowKind struct { WorkflowKind WorkflowKind `json:"WorkflowKind"` Valid bool `json:"valid"` // Valid is true if WorkflowKind is not NULL }
func (*NullWorkflowKind) Scan ¶
func (ns *NullWorkflowKind) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullWorkflowRunStatus ¶
type NullWorkflowRunStatus struct { WorkflowRunStatus WorkflowRunStatus `json:"WorkflowRunStatus"` Valid bool `json:"valid"` // Valid is true if WorkflowRunStatus is not NULL }
func (*NullWorkflowRunStatus) Scan ¶
func (ns *NullWorkflowRunStatus) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullWorkflowTriggerCronRefMethods ¶
type NullWorkflowTriggerCronRefMethods struct { WorkflowTriggerCronRefMethods WorkflowTriggerCronRefMethods `json:"WorkflowTriggerCronRefMethods"` Valid bool `json:"valid"` // Valid is true if WorkflowTriggerCronRefMethods is not NULL }
func (*NullWorkflowTriggerCronRefMethods) Scan ¶
func (ns *NullWorkflowTriggerCronRefMethods) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullWorkflowTriggerScheduledRefMethods ¶
type NullWorkflowTriggerScheduledRefMethods struct { WorkflowTriggerScheduledRefMethods WorkflowTriggerScheduledRefMethods `json:"WorkflowTriggerScheduledRefMethods"` Valid bool `json:"valid"` // Valid is true if WorkflowTriggerScheduledRefMethods is not NULL }
func (*NullWorkflowTriggerScheduledRefMethods) Scan ¶
func (ns *NullWorkflowTriggerScheduledRefMethods) Scan(value interface{}) error
Scan implements the Scanner interface.
type PopDurableSleepParams ¶
type PopulateDAGMetadataRow ¶
type PopulateDAGMetadataRow struct { DagID int64 `json:"dag_id"` RunID int64 `json:"run_id"` TenantID pgtype.UUID `json:"tenant_id"` InsertedAt pgtype.Timestamptz `json:"inserted_at"` ExternalID pgtype.UUID `json:"external_id"` ReadableStatus V1ReadableStatusOlap `json:"readable_status"` Kind V1RunKind `json:"kind"` WorkflowID pgtype.UUID `json:"workflow_id"` DisplayName string `json:"display_name"` Input []byte `json:"input"` AdditionalMetadata []byte `json:"additional_metadata"` WorkflowVersionID pgtype.UUID `json:"workflow_version_id"` ParentTaskExternalID pgtype.UUID `json:"parent_task_external_id"` CreatedAt pgtype.Timestamptz `json:"created_at"` StartedAt pgtype.Timestamptz `json:"started_at"` FinishedAt pgtype.Timestamptz `json:"finished_at"` ErrorMessage string `json:"error_message"` Output []byte `json:"output"` RetryCount int32 `json:"retry_count"` }
type PopulateEventDataParams ¶
type PopulateEventDataRow ¶
type PopulateEventDataRow struct { ExternalID pgtype.UUID `json:"external_id"` QueuedCount int64 `json:"queued_count"` RunningCount int64 `json:"running_count"` CompletedCount int64 `json:"completed_count"` CancelledCount int64 `json:"cancelled_count"` FailedCount int64 `json:"failed_count"` TriggeredRuns []byte `json:"triggered_runs"` }
type PopulateSingleTaskRunDataRow ¶
type PopulateSingleTaskRunDataRow struct { TenantID pgtype.UUID `json:"tenant_id"` ID int64 `json:"id"` InsertedAt pgtype.Timestamptz `json:"inserted_at"` ExternalID pgtype.UUID `json:"external_id"` Queue string `json:"queue"` ActionID string `json:"action_id"` StepID pgtype.UUID `json:"step_id"` WorkflowID pgtype.UUID `json:"workflow_id"` WorkflowVersionID pgtype.UUID `json:"workflow_version_id"` WorkflowRunID pgtype.UUID `json:"workflow_run_id"` ScheduleTimeout string `json:"schedule_timeout"` StepTimeout pgtype.Text `json:"step_timeout"` Priority pgtype.Int4 `json:"priority"` Sticky V1StickyStrategyOlap `json:"sticky"` DesiredWorkerID pgtype.UUID `json:"desired_worker_id"` DisplayName string `json:"display_name"` Input []byte `json:"input"` AdditionalMetadata []byte `json:"additional_metadata"` ReadableStatus V1ReadableStatusOlap `json:"readable_status"` LatestRetryCount int32 `json:"latest_retry_count"` LatestWorkerID pgtype.UUID `json:"latest_worker_id"` DagID pgtype.Int8 `json:"dag_id"` DagInsertedAt pgtype.Timestamptz `json:"dag_inserted_at"` ParentTaskExternalID pgtype.UUID `json:"parent_task_external_id"` Status V1ReadableStatusOlap `json:"status"` FinishedAt pgtype.Timestamptz `json:"finished_at"` StartedAt pgtype.Timestamptz `json:"started_at"` Output []byte `json:"output"` ErrorMessage pgtype.Text `json:"error_message"` SpawnedChildren pgtype.Int8 `json:"spawned_children"` RetryCount int32 `json:"retry_count"` }
type PopulateTaskRunDataRow ¶
type PopulateTaskRunDataRow struct { TenantID pgtype.UUID `json:"tenant_id"` ID int64 `json:"id"` InsertedAt pgtype.Timestamptz `json:"inserted_at"` ExternalID pgtype.UUID `json:"external_id"` Queue string `json:"queue"` ActionID string `json:"action_id"` StepID pgtype.UUID `json:"step_id"` WorkflowID pgtype.UUID `json:"workflow_id"` WorkflowVersionID pgtype.UUID `json:"workflow_version_id"` ScheduleTimeout string `json:"schedule_timeout"` StepTimeout pgtype.Text `json:"step_timeout"` Priority pgtype.Int4 `json:"priority"` Sticky V1StickyStrategyOlap `json:"sticky"` DisplayName string `json:"display_name"` AdditionalMetadata []byte `json:"additional_metadata"` ParentTaskExternalID pgtype.UUID `json:"parent_task_external_id"` Input []byte `json:"input"` Status V1ReadableStatusOlap `json:"status"` WorkflowRunID pgtype.UUID `json:"workflow_run_id"` FinishedAt pgtype.Timestamptz `json:"finished_at"` StartedAt pgtype.Timestamptz `json:"started_at"` QueuedAt pgtype.Timestamptz `json:"queued_at"` ErrorMessage string `json:"error_message"` RetryCount int32 `json:"retry_count"` Output []byte `json:"output"` }
type PreflightCheckTasksForReplayParams ¶
type PreflightCheckTasksForReplayParams struct { Tenantid pgtype.UUID `json:"tenantid"` Mininsertedat pgtype.Timestamptz `json:"mininsertedat"` Taskids []int64 `json:"taskids"` Taskinsertedats []pgtype.Timestamptz `json:"taskinsertedats"` }
type Queries ¶
type Queries struct { }
func (*Queries) AcquireOrExtendLeases ¶
func (q *Queries) AcquireOrExtendLeases(ctx context.Context, db DBTX, arg AcquireOrExtendLeasesParams) ([]*Lease, error)
Attempts to acquire leases for a set of resources, and extends the leases if we already have them. Returns the acquired leases. On conflict, acquire the lease if the existing lease has expired.
func (*Queries) AddStepParents ¶
func (*Queries) AdvisoryLock ¶
func (*Queries) BulkCreateEventTriggers ¶
func (*Queries) BulkCreateEvents ¶
func (q *Queries) BulkCreateEvents(ctx context.Context, db DBTX, arg BulkCreateEventsParams) ([]*V1EventsOlap, error)
func (*Queries) BulkInsertDeclarativeFilters ¶
func (q *Queries) BulkInsertDeclarativeFilters(ctx context.Context, db DBTX, arg BulkInsertDeclarativeFiltersParams) error
IMPORTANT: This is intended to be used in conjunction with the `DeleteExistingDeclarativeFiltersForOverwrite` query.
func (*Queries) BulkQueueItems ¶
func (*Queries) BulkUpdateRateLimits ¶
func (*Queries) CanCreateWebhook ¶ added in v0.70.0
func (*Queries) CheckStrategyActive ¶
func (q *Queries) CheckStrategyActive(ctx context.Context, db DBTX, arg CheckStrategyActiveParams) (bool, error)
A strategy is active if the workflow is not deleted, and it is attached to the latest workflow version or it has at least one concurrency slot that is not filled (the concurrency slot could be on the parent).
func (*Queries) CountEvents ¶
func (*Queries) CountTasks ¶
func (*Queries) CountWorkflowRuns ¶
func (*Queries) CreateDAGData ¶
func (*Queries) CreateDAGs ¶
func (*Queries) CreateDAGsOLAP ¶
func (*Queries) CreateDurableSleep ¶
func (q *Queries) CreateDurableSleep(ctx context.Context, db DBTX, arg CreateDurableSleepParams) ([]*V1DurableSleep, error)
func (*Queries) CreateFilter ¶
func (*Queries) CreateIncomingWebhookValidationFailureLogs ¶ added in v0.70.0
func (*Queries) CreateMatchConditions ¶
func (*Queries) CreateMatchesForDAGTriggers ¶
func (*Queries) CreateMatchesForSignalTriggers ¶
func (*Queries) CreateOLAPEventPartitions ¶
func (*Queries) CreateOLAPPartitions ¶
func (*Queries) CreatePartitions ¶
func (*Queries) CreateStep ¶
func (*Queries) CreateStepConcurrency ¶
func (q *Queries) CreateStepConcurrency(ctx context.Context, db DBTX, arg CreateStepConcurrencyParams) (*V1StepConcurrency, error)
func (*Queries) CreateStepExpressions ¶
func (*Queries) CreateStepMatchCondition ¶
func (q *Queries) CreateStepMatchCondition(ctx context.Context, db DBTX, arg CreateStepMatchConditionParams) (*V1StepMatchCondition, error)
func (*Queries) CreateStepRateLimit ¶
func (q *Queries) CreateStepRateLimit(ctx context.Context, db DBTX, arg CreateStepRateLimitParams) (*StepRateLimit, error)
func (*Queries) CreateTaskEvents ¶
We get a FOR UPDATE lock on tasks to prevent concurrent writes to the task events tables for each task
func (*Queries) CreateTaskEventsOLAP ¶
func (*Queries) CreateTaskEventsOLAPTmp ¶
func (*Queries) CreateTaskExpressionEvals ¶
func (*Queries) CreateTasks ¶
func (*Queries) CreateTasksOLAP ¶
func (*Queries) CreateWebhook ¶ added in v0.70.0
func (q *Queries) CreateWebhook(ctx context.Context, db DBTX, arg CreateWebhookParams) (*V1IncomingWebhook, error)
func (*Queries) CreateWorkflow ¶
func (*Queries) CreateWorkflowConcurrency ¶
func (q *Queries) CreateWorkflowConcurrency(ctx context.Context, db DBTX, arg CreateWorkflowConcurrencyParams) (*WorkflowConcurrency, error)
func (*Queries) CreateWorkflowConcurrencyV1 ¶
func (q *Queries) CreateWorkflowConcurrencyV1(ctx context.Context, db DBTX, arg CreateWorkflowConcurrencyV1Params) (*CreateWorkflowConcurrencyV1Row, error)
func (*Queries) CreateWorkflowTriggerCronRef ¶
func (q *Queries) CreateWorkflowTriggerCronRef(ctx context.Context, db DBTX, arg CreateWorkflowTriggerCronRefParams) (*WorkflowTriggerCronRef, error)
func (*Queries) CreateWorkflowTriggerEventRef ¶
func (q *Queries) CreateWorkflowTriggerEventRef(ctx context.Context, db DBTX, arg CreateWorkflowTriggerEventRefParams) (*WorkflowTriggerEventRef, error)
func (*Queries) CreateWorkflowTriggers ¶
func (q *Queries) CreateWorkflowTriggers(ctx context.Context, db DBTX, arg CreateWorkflowTriggersParams) (*WorkflowTriggers, error)
func (*Queries) CreateWorkflowVersion ¶
func (q *Queries) CreateWorkflowVersion(ctx context.Context, db DBTX, arg CreateWorkflowVersionParams) (*WorkflowVersion, error)
func (*Queries) DeleteExistingDeclarativeFiltersForOverwrite ¶
func (q *Queries) DeleteExistingDeclarativeFiltersForOverwrite(ctx context.Context, db DBTX, arg DeleteExistingDeclarativeFiltersForOverwriteParams) error
IMPORTANT: This query overwrites all existing declarative filters for a workflow. it's intended to be used when the workflow version is created.
func (*Queries) DeleteFilter ¶
func (*Queries) DeleteMatchingSignalEvents ¶
func (*Queries) DeleteTasksFromQueue ¶
func (*Queries) DeleteWebhook ¶ added in v0.70.0
func (q *Queries) DeleteWebhook(ctx context.Context, db DBTX, arg DeleteWebhookParams) (*V1IncomingWebhook, error)
func (*Queries) EnsureTablePartitionsExist ¶
func (*Queries) FailTaskAppFailure ¶
func (q *Queries) FailTaskAppFailure(ctx context.Context, db DBTX, arg FailTaskAppFailureParams) ([]*FailTaskAppFailureRow, error)
Fails a task due to an application-level error
func (*Queries) FailTaskInternalFailure ¶
func (q *Queries) FailTaskInternalFailure(ctx context.Context, db DBTX, arg FailTaskInternalFailureParams) ([]*FailTaskInternalFailureRow, error)
Fails a task due to an application-level error
func (*Queries) FetchWorkflowRunIds ¶
func (q *Queries) FetchWorkflowRunIds(ctx context.Context, db DBTX, arg FetchWorkflowRunIdsParams) ([]*FetchWorkflowRunIdsRow, error)
func (*Queries) FindMinInsertedAtForDAGStatusUpdates ¶
func (q *Queries) FindMinInsertedAtForDAGStatusUpdates(ctx context.Context, db DBTX, arg FindMinInsertedAtForDAGStatusUpdatesParams) (pgtype.Timestamptz, error)
func (*Queries) FindMinInsertedAtForTaskStatusUpdates ¶
func (q *Queries) FindMinInsertedAtForTaskStatusUpdates(ctx context.Context, db DBTX, arg FindMinInsertedAtForTaskStatusUpdatesParams) (pgtype.Timestamptz, error)
func (*Queries) FlattenExternalIds ¶
func (q *Queries) FlattenExternalIds(ctx context.Context, db DBTX, arg FlattenExternalIdsParams) ([]*FlattenExternalIdsRow, error)
Union the tasks from the lookup table with the tasks from the DAGs
func (*Queries) FlattenTasksByExternalIds ¶
func (q *Queries) FlattenTasksByExternalIds(ctx context.Context, db DBTX, arg FlattenTasksByExternalIdsParams) ([]*FlattenTasksByExternalIdsRow, error)
Get retry counts for each task
func (*Queries) GetDAGData ¶
func (q *Queries) GetDAGData(ctx context.Context, db DBTX, arg GetDAGDataParams) ([]*GetDAGDataRow, error)
func (*Queries) GetDagDurations ¶ added in v0.71.0
func (q *Queries) GetDagDurations(ctx context.Context, db DBTX, arg GetDagDurationsParams) ([]*GetDagDurationsRow, error)
func (*Queries) GetDesiredLabels ¶
func (*Queries) GetLatestWorkflowVersionForWorkflows ¶
func (*Queries) GetLeasesToAcquire ¶
func (*Queries) GetMinUnprocessedQueueItemId ¶
func (*Queries) GetQueuedCounts ¶
func (*Queries) GetRunsListRecursive ¶
func (q *Queries) GetRunsListRecursive(ctx context.Context, db DBTX, arg GetRunsListRecursiveParams) ([]*GetRunsListRecursiveRow, error)
func (*Queries) GetSatisfiedMatchConditions ¶
func (q *Queries) GetSatisfiedMatchConditions(ctx context.Context, db DBTX, arg GetSatisfiedMatchConditionsParams) ([]int64, error)
NOTE: we have to break this into a separate query because CTEs can't see modified rows on the same target table without using RETURNING.
func (*Queries) GetTaskDurationsByTaskIds ¶
func (q *Queries) GetTaskDurationsByTaskIds(ctx context.Context, db DBTX, arg GetTaskDurationsByTaskIdsParams) ([]*GetTaskDurationsByTaskIdsRow, error)
func (*Queries) GetTaskPointMetrics ¶
func (q *Queries) GetTaskPointMetrics(ctx context.Context, db DBTX, arg GetTaskPointMetricsParams) ([]*GetTaskPointMetricsRow, error)
func (*Queries) GetTenantStatusMetrics ¶
func (q *Queries) GetTenantStatusMetrics(ctx context.Context, db DBTX, arg GetTenantStatusMetricsParams) (*GetTenantStatusMetricsRow, error)
func (*Queries) GetWebhook ¶ added in v0.70.0
func (q *Queries) GetWebhook(ctx context.Context, db DBTX, arg GetWebhookParams) (*V1IncomingWebhook, error)
func (*Queries) GetWorkerById ¶
func (*Queries) GetWorkflowByName ¶
func (*Queries) GetWorkflowConcurrencyQueueCounts ¶
func (*Queries) GetWorkflowRunIdFromDagIdInsertedAt ¶
func (*Queries) GetWorkflowVersionForEngine ¶
func (q *Queries) GetWorkflowVersionForEngine(ctx context.Context, db DBTX, arg GetWorkflowVersionForEngineParams) ([]*GetWorkflowVersionForEngineRow, error)
func (*Queries) InsertLogLine ¶
func (*Queries) IsTenantAlertActive ¶
func (*Queries) LinkOnFailureJob ¶
func (q *Queries) LinkOnFailureJob(ctx context.Context, db DBTX, arg LinkOnFailureJobParams) (*WorkflowVersion, error)
func (*Queries) ListActionsForWorkers ¶
func (q *Queries) ListActionsForWorkers(ctx context.Context, db DBTX, arg ListActionsForWorkersParams) ([]*ListActionsForWorkersRow, error)
func (*Queries) ListActiveConcurrencyStrategies ¶
func (*Queries) ListActiveWorkers ¶
func (*Queries) ListAllTasksInDags ¶
func (q *Queries) ListAllTasksInDags(ctx context.Context, db DBTX, arg ListAllTasksInDagsParams) ([]*ListAllTasksInDagsRow, error)
func (*Queries) ListAvailableSlotsForWorkers ¶
func (q *Queries) ListAvailableSlotsForWorkers(ctx context.Context, db DBTX, arg ListAvailableSlotsForWorkersParams) ([]*ListAvailableSlotsForWorkersRow, error)
subtract the filled slots from the max runs to get the available slots
func (*Queries) ListConcurrencyStrategiesByStepId ¶
func (q *Queries) ListConcurrencyStrategiesByStepId(ctx context.Context, db DBTX, arg ListConcurrencyStrategiesByStepIdParams) ([]*V1StepConcurrency, error)
func (*Queries) ListEventKeys ¶
func (*Queries) ListEvents ¶
func (q *Queries) ListEvents(ctx context.Context, db DBTX, arg ListEventsParams) ([]*V1EventsOlap, error)
func (*Queries) ListFilterCountsForWorkflows ¶
func (q *Queries) ListFilterCountsForWorkflows(ctx context.Context, db DBTX, arg ListFilterCountsForWorkflowsParams) ([]*ListFilterCountsForWorkflowsRow, error)
func (*Queries) ListFilters ¶
func (*Queries) ListFiltersForEventTriggers ¶
func (*Queries) ListLogLines ¶
func (*Queries) ListManyWorkerLabels ¶
func (*Queries) ListMatchConditionsForEventWithHint ¶
func (q *Queries) ListMatchConditionsForEventWithHint(ctx context.Context, db DBTX, arg ListMatchConditionsForEventWithHintParams) ([]*ListMatchConditionsForEventRow, error)
func (*Queries) ListMatchConditionsForEventWithoutHint ¶
func (q *Queries) ListMatchConditionsForEventWithoutHint(ctx context.Context, db DBTX, arg ListMatchConditionsForEventWithoutHintParams) ([]*ListMatchConditionsForEventRow, error)
func (*Queries) ListMatchingSignalEvents ¶
func (q *Queries) ListMatchingSignalEvents(ctx context.Context, db DBTX, arg ListMatchingSignalEventsParams) ([]*V1TaskEvent, error)
func (*Queries) ListMatchingTaskEvents ¶
func (q *Queries) ListMatchingTaskEvents(ctx context.Context, db DBTX, arg ListMatchingTaskEventsParams) ([]*ListMatchingTaskEventsRow, error)
Lists the task events for the **latest** retry of a task, or task events which intentionally aren't associated with a retry count (if the retry_count = -1).
func (*Queries) ListOLAPPartitionsBeforeDate ¶
func (q *Queries) ListOLAPPartitionsBeforeDate(ctx context.Context, db DBTX, arg ListOLAPPartitionsBeforeDateParams) ([]*ListOLAPPartitionsBeforeDateRow, error)
func (*Queries) ListPartitionsBeforeDate ¶
func (*Queries) ListQueueItemsForQueue ¶
func (q *Queries) ListQueueItemsForQueue(ctx context.Context, db DBTX, arg ListQueueItemsForQueueParams) ([]*V1QueueItem, error)
func (*Queries) ListQueues ¶
func (*Queries) ListRateLimitsForSteps ¶
func (q *Queries) ListRateLimitsForSteps(ctx context.Context, db DBTX, arg ListRateLimitsForStepsParams) ([]*StepRateLimit, error)
func (*Queries) ListRateLimitsForTenantNoMutate ¶
func (q *Queries) ListRateLimitsForTenantNoMutate(ctx context.Context, db DBTX, arg ListRateLimitsForTenantNoMutateParams) ([]*ListRateLimitsForTenantNoMutateRow, error)
Returns the same results as ListRateLimitsForTenantWithMutate but does not update the rate limit values
func (*Queries) ListRateLimitsForTenantWithMutate ¶
func (*Queries) ListSemaphoreSlotsWithStateForWorker ¶
func (q *Queries) ListSemaphoreSlotsWithStateForWorker(ctx context.Context, db DBTX, arg ListSemaphoreSlotsWithStateForWorkerParams) ([]*ListSemaphoreSlotsWithStateForWorkerRow, error)
func (*Queries) ListStepExpressions ¶
func (*Queries) ListStepMatchConditions ¶
func (q *Queries) ListStepMatchConditions(ctx context.Context, db DBTX, arg ListStepMatchConditionsParams) ([]*V1StepMatchCondition, error)
func (*Queries) ListStepsByIds ¶
func (q *Queries) ListStepsByIds(ctx context.Context, db DBTX, arg ListStepsByIdsParams) ([]*ListStepsByIdsRow, error)
func (*Queries) ListStepsByWorkflowVersionIds ¶
func (q *Queries) ListStepsByWorkflowVersionIds(ctx context.Context, db DBTX, arg ListStepsByWorkflowVersionIdsParams) ([]*ListStepsByWorkflowVersionIdsRow, error)
func (*Queries) ListTaskEvents ¶
func (q *Queries) ListTaskEvents(ctx context.Context, db DBTX, arg ListTaskEventsParams) ([]*ListTaskEventsRow, error)
func (*Queries) ListTaskEventsForWorkflowRun ¶
func (q *Queries) ListTaskEventsForWorkflowRun(ctx context.Context, db DBTX, arg ListTaskEventsForWorkflowRunParams) ([]*ListTaskEventsForWorkflowRunRow, error)
func (*Queries) ListTaskExpressionEvals ¶
func (q *Queries) ListTaskExpressionEvals(ctx context.Context, db DBTX, arg ListTaskExpressionEvalsParams) ([]*V1TaskExpressionEval, error)
func (*Queries) ListTaskMetas ¶
func (q *Queries) ListTaskMetas(ctx context.Context, db DBTX, arg ListTaskMetasParams) ([]*ListTaskMetasRow, error)
func (*Queries) ListTaskParentOutputs ¶
func (q *Queries) ListTaskParentOutputs(ctx context.Context, db DBTX, arg ListTaskParentOutputsParams) ([]*ListTaskParentOutputsRow, error)
Lists the outputs of parent steps for a list of tasks. This is recursive because it looks at all grandparents of the tasks as well.
func (*Queries) ListTasksByDAGIds ¶
func (q *Queries) ListTasksByDAGIds(ctx context.Context, db DBTX, arg ListTasksByDAGIdsParams) ([]*ListTasksByDAGIdsRow, error)
func (*Queries) ListTasksByExternalIds ¶
func (q *Queries) ListTasksByExternalIds(ctx context.Context, db DBTX, arg ListTasksByExternalIdsParams) ([]*ListTasksByExternalIdsRow, error)
func (*Queries) ListTasksForReplay ¶
func (q *Queries) ListTasksForReplay(ctx context.Context, db DBTX, arg ListTasksForReplayParams) ([]*ListTasksForReplayRow, error)
Lists tasks for replay by recursively selecting all tasks that are children of the input tasks, then locks the tasks for replay.
func (*Queries) ListTasksOlap ¶
func (q *Queries) ListTasksOlap(ctx context.Context, db DBTX, arg ListTasksOlapParams) ([]*ListTasksOlapRow, error)
func (*Queries) ListTasksToReassign ¶
func (q *Queries) ListTasksToReassign(ctx context.Context, db DBTX, arg ListTasksToReassignParams) ([]*ListTasksToReassignRow, error)
func (*Queries) ListTasksToTimeout ¶
func (q *Queries) ListTasksToTimeout(ctx context.Context, db DBTX, arg ListTasksToTimeoutParams) ([]*ListTasksToTimeoutRow, error)
func (*Queries) ListWebhooks ¶ added in v0.70.0
func (q *Queries) ListWebhooks(ctx context.Context, db DBTX, arg ListWebhooksParams) ([]*V1IncomingWebhook, error)
func (*Queries) ListWorkersWithSlotCount ¶
func (q *Queries) ListWorkersWithSlotCount(ctx context.Context, db DBTX, arg ListWorkersWithSlotCountParams) ([]*ListWorkersWithSlotCountRow, error)
func (*Queries) ListWorkflowNamesByIds ¶
func (*Queries) ListWorkflowRunDisplayNames ¶
func (q *Queries) ListWorkflowRunDisplayNames(ctx context.Context, db DBTX, arg ListWorkflowRunDisplayNamesParams) ([]*ListWorkflowRunDisplayNamesRow, error)
func (*Queries) ListWorkflowsByNames ¶
func (q *Queries) ListWorkflowsByNames(ctx context.Context, db DBTX, arg ListWorkflowsByNamesParams) ([]*ListWorkflowsByNamesRow, error)
func (*Queries) ListWorkflowsForEvents ¶
func (q *Queries) ListWorkflowsForEvents(ctx context.Context, db DBTX, arg ListWorkflowsForEventsParams) ([]*ListWorkflowsForEventsRow, error)
Get all of the latest workflow versions select the workflow versions that have the event trigger
func (*Queries) LockDAGsForReplay ¶
func (q *Queries) LockDAGsForReplay(ctx context.Context, db DBTX, arg LockDAGsForReplayParams) ([]int64, error)
Locks a list of DAGs for replay. Returns successfully locked DAGs which can be replayed. We skip locked tasks because replays are the only thing that can lock a DAG for updates
func (*Queries) LockSignalCreatedEvents ¶
func (q *Queries) LockSignalCreatedEvents(ctx context.Context, db DBTX, arg LockSignalCreatedEventsParams) ([]*LockSignalCreatedEventsRow, error)
Places a lock on the SIGNAL_CREATED events to make sure concurrent operations don't modify the events.
func (*Queries) LockWorkflowVersion ¶
func (*Queries) LookupExternalIds ¶
func (q *Queries) LookupExternalIds(ctx context.Context, db DBTX, arg LookupExternalIdsParams) ([]*V1LookupTable, error)
func (*Queries) ManualSlotRelease ¶
func (q *Queries) ManualSlotRelease(ctx context.Context, db DBTX, arg ManualSlotReleaseParams) (*V1TaskRuntime, error)
func (*Queries) MoveCronTriggerToNewWorkflowTriggers ¶
func (*Queries) MoveRateLimitedQueueItems ¶ added in v0.71.2
func (q *Queries) MoveRateLimitedQueueItems(ctx context.Context, db DBTX, arg MoveRateLimitedQueueItemsParams) ([]*MoveRateLimitedQueueItemsRow, error)
func (*Queries) MoveScheduledTriggerToNewWorkflowTriggers ¶
func (*Queries) PopDurableSleep ¶
func (q *Queries) PopDurableSleep(ctx context.Context, db DBTX, arg PopDurableSleepParams) ([]*V1DurableSleep, error)
func (*Queries) PopulateDAGMetadata ¶
func (q *Queries) PopulateDAGMetadata(ctx context.Context, db DBTX, arg PopulateDAGMetadataParams) (*PopulateDAGMetadataRow, error)
func (*Queries) PopulateEventData ¶
func (q *Queries) PopulateEventData(ctx context.Context, db DBTX, arg PopulateEventDataParams) ([]*PopulateEventDataRow, error)
func (*Queries) PopulateSingleTaskRunData ¶
func (q *Queries) PopulateSingleTaskRunData(ctx context.Context, db DBTX, arg PopulateSingleTaskRunDataParams) (*PopulateSingleTaskRunDataRow, error)
func (*Queries) PopulateTaskRunData ¶
func (q *Queries) PopulateTaskRunData(ctx context.Context, db DBTX, arg PopulateTaskRunDataParams) (*PopulateTaskRunDataRow, error)
func (*Queries) PreflightCheckDAGsForReplay ¶
func (q *Queries) PreflightCheckDAGsForReplay(ctx context.Context, db DBTX, arg PreflightCheckDAGsForReplayParams) ([]*PreflightCheckDAGsForReplayRow, error)
Checks whether DAGs can be replayed by ensuring that the length of the tasks which have been written match the length of steps in the DAG. This assumes that we have a lock on DAGs so concurrent replays don't interfere with each other. It also does not check for whether the tasks are running, as that's checked in a different query. It returns DAGs which cannot be replayed.
func (*Queries) PreflightCheckTasksForReplay ¶
func (q *Queries) PreflightCheckTasksForReplay(ctx context.Context, db DBTX, arg PreflightCheckTasksForReplayParams) ([]*PreflightCheckTasksForReplayRow, error)
Checks whether tasks can be replayed by ensuring that they don't have any active runtimes, concurrency slots, or retry queue items. Returns the tasks which cannot be replayed.
func (*Queries) ProcessRetryQueueItems ¶
func (q *Queries) ProcessRetryQueueItems(ctx context.Context, db DBTX, arg ProcessRetryQueueItemsParams) ([]*V1RetryQueueItem, error)
func (*Queries) ReadDAGByExternalID ¶
func (*Queries) ReadTaskByExternalID ¶
func (*Queries) ReadWorkflowRunByExternalId ¶
func (*Queries) RefreshTimeoutBy ¶
func (q *Queries) RefreshTimeoutBy(ctx context.Context, db DBTX, arg RefreshTimeoutByParams) (*V1TaskRuntime, error)
func (*Queries) ReleaseLeases ¶
Releases a set of leases by their IDs. Returns the released leases.
func (*Queries) ReleaseTasks ¶
func (q *Queries) ReleaseTasks(ctx context.Context, db DBTX, arg ReleaseTasksParams) ([]*ReleaseTasksRow, error)
func (*Queries) ReplayTasks ¶
func (q *Queries) ReplayTasks(ctx context.Context, db DBTX, arg ReplayTasksParams) ([]*V1Task, error)
NOTE: at this point, we assume we have a lock on tasks and therefor we can update the tasks
func (*Queries) RequeueRateLimitedQueueItems ¶ added in v0.71.2
func (q *Queries) RequeueRateLimitedQueueItems(ctx context.Context, db DBTX, arg RequeueRateLimitedQueueItemsParams) ([]*RequeueRateLimitedQueueItemsRow, error)
func (*Queries) ResetMatchConditions ¶
func (q *Queries) ResetMatchConditions(ctx context.Context, db DBTX, arg ResetMatchConditionsParams) ([]int64, error)
NOTE: we have to break this into a separate query because CTEs can't see modified rows on the same target table without using RETURNING.
func (*Queries) RunCancelInProgress ¶
func (q *Queries) RunCancelInProgress(ctx context.Context, db DBTX, arg RunCancelInProgressParams) ([]*RunCancelInProgressRow, error)
func (*Queries) RunCancelNewest ¶
func (q *Queries) RunCancelNewest(ctx context.Context, db DBTX, arg RunCancelNewestParams) ([]*RunCancelNewestRow, error)
func (*Queries) RunChildCancelInProgress ¶
func (q *Queries) RunChildCancelInProgress(ctx context.Context, db DBTX, arg RunChildCancelInProgressParams) ([]*RunChildCancelInProgressRow, error)
func (*Queries) RunChildCancelNewest ¶
func (q *Queries) RunChildCancelNewest(ctx context.Context, db DBTX, arg RunChildCancelNewestParams) ([]*RunChildCancelNewestRow, error)
func (*Queries) RunChildGroupRoundRobin ¶
func (q *Queries) RunChildGroupRoundRobin(ctx context.Context, db DBTX, arg RunChildGroupRoundRobinParams) ([]*RunChildGroupRoundRobinRow, error)
Used for round-robin scheduling when a strategy has a parent strategy. It inherits the concurrency settings of the parent, so we just set the is_filled flag to true if the parent slot is filled.
func (*Queries) RunGroupRoundRobin ¶
func (q *Queries) RunGroupRoundRobin(ctx context.Context, db DBTX, arg RunGroupRoundRobinParams) ([]*RunGroupRoundRobinRow, error)
Used for round-robin scheduling when a strategy doesn't have a parent strategy
func (*Queries) RunParentCancelInProgress ¶
func (*Queries) RunParentCancelNewest ¶
func (*Queries) RunParentGroupRoundRobin ¶
func (*Queries) SaveSatisfiedMatchConditions ¶
func (q *Queries) SaveSatisfiedMatchConditions(ctx context.Context, db DBTX, matchids []int64) ([]*SaveSatisfiedMatchConditionsRow, error)
NOTE: we have to break this into a separate query because CTEs can't see modified rows on the same target table without using RETURNING. Additionally, since we've placed a FOR UPDATE lock in the previous query, we're guaranteeing that only one transaction can update these rows,so this should be concurrency-safe.
func (*Queries) SetConcurrencyStrategyInactive ¶
func (*Queries) StoreCELEvaluationFailures ¶ added in v0.70.0
func (*Queries) TryAdvisoryLock ¶
func (*Queries) UpdateDAGStatuses ¶
func (q *Queries) UpdateDAGStatuses(ctx context.Context, db DBTX, arg UpdateDAGStatusesParams) ([]*UpdateDAGStatusesRow, error)
func (*Queries) UpdateFilter ¶
func (*Queries) UpdateTaskStatuses ¶
func (q *Queries) UpdateTaskStatuses(ctx context.Context, db DBTX, arg UpdateTaskStatusesParams) ([]*UpdateTaskStatusesRow, error)
func (*Queries) UpdateTasksToAssigned ¶
func (q *Queries) UpdateTasksToAssigned(ctx context.Context, db DBTX, arg UpdateTasksToAssignedParams) ([]*UpdateTasksToAssignedRow, error)
func (*Queries) UpdateWebhookExpression ¶ added in v0.71.0
func (q *Queries) UpdateWebhookExpression(ctx context.Context, db DBTX, arg UpdateWebhookExpressionParams) (*V1IncomingWebhook, error)
func (*Queries) UpdateWorkflowConcurrencyWithChildStrategyIds ¶
func (q *Queries) UpdateWorkflowConcurrencyWithChildStrategyIds(ctx context.Context, db DBTX, arg UpdateWorkflowConcurrencyWithChildStrategyIdsParams) error
Update the workflow concurrency row using its primary key.
func (*Queries) UpsertAction ¶
func (*Queries) UpsertDesiredWorkerLabel ¶
func (q *Queries) UpsertDesiredWorkerLabel(ctx context.Context, db DBTX, arg UpsertDesiredWorkerLabelParams) (*StepDesiredWorkerLabel, error)
func (*Queries) UpsertQueues ¶
func (*Queries) UpsertRateLimitsBulk ¶
type QueueItem ¶
type QueueItem struct { ID int64 `json:"id"` StepRunId pgtype.UUID `json:"stepRunId"` StepId pgtype.UUID `json:"stepId"` ActionId pgtype.Text `json:"actionId"` ScheduleTimeoutAt pgtype.Timestamp `json:"scheduleTimeoutAt"` StepTimeout pgtype.Text `json:"stepTimeout"` Priority int32 `json:"priority"` IsQueued bool `json:"isQueued"` TenantId pgtype.UUID `json:"tenantId"` Queue string `json:"queue"` Sticky NullStickyStrategy `json:"sticky"` DesiredWorkerId pgtype.UUID `json:"desiredWorkerId"` }
type ReadTaskByExternalIDRow ¶
type ReadTaskByExternalIDRow struct { TenantID pgtype.UUID `json:"tenant_id"` ID int64 `json:"id"` InsertedAt pgtype.Timestamptz `json:"inserted_at"` ExternalID pgtype.UUID `json:"external_id"` Queue string `json:"queue"` ActionID string `json:"action_id"` StepID pgtype.UUID `json:"step_id"` WorkflowID pgtype.UUID `json:"workflow_id"` WorkflowVersionID pgtype.UUID `json:"workflow_version_id"` WorkflowRunID pgtype.UUID `json:"workflow_run_id"` ScheduleTimeout string `json:"schedule_timeout"` StepTimeout pgtype.Text `json:"step_timeout"` Priority pgtype.Int4 `json:"priority"` Sticky V1StickyStrategyOlap `json:"sticky"` DesiredWorkerID pgtype.UUID `json:"desired_worker_id"` DisplayName string `json:"display_name"` Input []byte `json:"input"` AdditionalMetadata []byte `json:"additional_metadata"` ReadableStatus V1ReadableStatusOlap `json:"readable_status"` LatestRetryCount int32 `json:"latest_retry_count"` LatestWorkerID pgtype.UUID `json:"latest_worker_id"` DagID pgtype.Int8 `json:"dag_id"` DagInsertedAt pgtype.Timestamptz `json:"dag_inserted_at"` ParentTaskExternalID pgtype.UUID `json:"parent_task_external_id"` Output []byte `json:"output"` ErrorMessage pgtype.Text `json:"error_message"` }
type ReadWorkflowRunByExternalIdRow ¶
type ReadWorkflowRunByExternalIdRow struct { DagID pgtype.Int8 `json:"dag_id"` TaskID pgtype.Int8 `json:"task_id"` ID int64 `json:"id"` TenantID pgtype.UUID `json:"tenant_id"` InsertedAt pgtype.Timestamptz `json:"inserted_at"` ExternalID pgtype.UUID `json:"external_id"` ReadableStatus V1ReadableStatusOlap `json:"readable_status"` Kind V1RunKind `json:"kind"` WorkflowID pgtype.UUID `json:"workflow_id"` DisplayName string `json:"display_name"` Input []byte `json:"input"` AdditionalMetadata []byte `json:"additional_metadata"` WorkflowVersionID pgtype.UUID `json:"workflow_version_id"` ParentTaskExternalID pgtype.UUID `json:"parent_task_external_id"` CreatedAt pgtype.Timestamptz `json:"created_at"` StartedAt pgtype.Timestamptz `json:"started_at"` FinishedAt pgtype.Timestamptz `json:"finished_at"` ErrorMessage pgtype.Text `json:"error_message"` TaskMetadata []byte `json:"task_metadata"` }
type RefreshTimeoutByParams ¶
type ReleaseTasksParams ¶
type ReleaseTasksParams struct { Taskids []int64 `json:"taskids"` Taskinsertedats []pgtype.Timestamptz `json:"taskinsertedats"` Retrycounts []int32 `json:"retrycounts"` }
type ReleaseTasksRow ¶
type ReleaseTasksRow struct { Queue string `json:"queue"` ID int64 `json:"id"` InsertedAt pgtype.Timestamptz `json:"inserted_at"` ExternalID pgtype.UUID `json:"external_id"` StepReadableID string `json:"step_readable_id"` WorkflowRunID pgtype.UUID `json:"workflow_run_id"` WorkerID pgtype.UUID `json:"worker_id"` RetryCount int32 `json:"retry_count"` IsCurrentRetry bool `json:"is_current_retry"` ConcurrencyStrategyIds []int64 `json:"concurrency_strategy_ids"` }
type ReplayTasksParams ¶
type ReplayTasksParams struct { Taskids []int64 `json:"taskids"` Taskinsertedats []pgtype.Timestamptz `json:"taskinsertedats"` Inputs [][]byte `json:"inputs"` InitialStates []string `json:"initialstates"` // FIXME: pgx doesn't like multi-dimensional arrays with different lengths, these types // probably need to change. Current hack is to group tasks by their step id where these // multi-dimensional arrays are the same length. Concurrencykeys [][]string `json:"concurrencykeys"` InitialStateReasons []pgtype.Text `json:"initialStateReasons"` }
type RequeueRateLimitedQueueItemsParams ¶ added in v0.71.2
type RequeueRateLimitedQueueItemsRow ¶ added in v0.71.2
type RetryQueueItem ¶
type RunCancelInProgressRow ¶
type RunCancelInProgressRow struct { TaskID int64 `json:"task_id"` TaskInsertedAt pgtype.Timestamptz `json:"task_inserted_at"` TaskRetryCount int32 `json:"task_retry_count"` TenantID pgtype.UUID `json:"tenant_id"` NextStrategyIds []int64 `json:"next_strategy_ids"` ExternalID pgtype.UUID `json:"external_id"` WorkflowRunID pgtype.UUID `json:"workflow_run_id"` QueueToNotify string `json:"queue_to_notify"` Operation string `json:"operation"` }
type RunCancelNewestParams ¶
type RunCancelNewestRow ¶
type RunCancelNewestRow struct { TaskID int64 `json:"task_id"` TaskInsertedAt pgtype.Timestamptz `json:"task_inserted_at"` TaskRetryCount int32 `json:"task_retry_count"` TenantID pgtype.UUID `json:"tenant_id"` NextStrategyIds []int64 `json:"next_strategy_ids"` ExternalID pgtype.UUID `json:"external_id"` WorkflowRunID pgtype.UUID `json:"workflow_run_id"` QueueToNotify string `json:"queue_to_notify"` Operation string `json:"operation"` }
type RunChildCancelInProgressRow ¶
type RunChildCancelInProgressRow struct { SortID pgtype.Int8 `json:"sort_id"` TaskID int64 `json:"task_id"` TaskInsertedAt pgtype.Timestamptz `json:"task_inserted_at"` TaskRetryCount int32 `json:"task_retry_count"` ExternalID pgtype.UUID `json:"external_id"` TenantID pgtype.UUID `json:"tenant_id"` WorkflowID pgtype.UUID `json:"workflow_id"` WorkflowVersionID pgtype.UUID `json:"workflow_version_id"` WorkflowRunID pgtype.UUID `json:"workflow_run_id"` StrategyID int64 `json:"strategy_id"` ParentStrategyID pgtype.Int8 `json:"parent_strategy_id"` Priority int32 `json:"priority"` Key string `json:"key"` IsFilled bool `json:"is_filled"` NextParentStrategyIds []pgtype.Int8 `json:"next_parent_strategy_ids"` NextStrategyIds []int64 `json:"next_strategy_ids"` NextKeys []string `json:"next_keys"` QueueToNotify string `json:"queue_to_notify"` ScheduleTimeoutAt pgtype.Timestamp `json:"schedule_timeout_at"` Operation string `json:"operation"` }
type RunChildCancelNewestRow ¶
type RunChildCancelNewestRow struct { SortID pgtype.Int8 `json:"sort_id"` TaskID int64 `json:"task_id"` TaskInsertedAt pgtype.Timestamptz `json:"task_inserted_at"` TaskRetryCount int32 `json:"task_retry_count"` ExternalID pgtype.UUID `json:"external_id"` TenantID pgtype.UUID `json:"tenant_id"` WorkflowID pgtype.UUID `json:"workflow_id"` WorkflowVersionID pgtype.UUID `json:"workflow_version_id"` WorkflowRunID pgtype.UUID `json:"workflow_run_id"` StrategyID int64 `json:"strategy_id"` ParentStrategyID pgtype.Int8 `json:"parent_strategy_id"` Priority int32 `json:"priority"` Key string `json:"key"` IsFilled bool `json:"is_filled"` NextParentStrategyIds []pgtype.Int8 `json:"next_parent_strategy_ids"` NextStrategyIds []int64 `json:"next_strategy_ids"` NextKeys []string `json:"next_keys"` QueueToNotify string `json:"queue_to_notify"` ScheduleTimeoutAt pgtype.Timestamp `json:"schedule_timeout_at"` Operation string `json:"operation"` }
type RunChildGroupRoundRobinRow ¶
type RunChildGroupRoundRobinRow struct { SortID pgtype.Int8 `json:"sort_id"` TaskID int64 `json:"task_id"` TaskInsertedAt pgtype.Timestamptz `json:"task_inserted_at"` TaskRetryCount int32 `json:"task_retry_count"` ExternalID pgtype.UUID `json:"external_id"` TenantID pgtype.UUID `json:"tenant_id"` WorkflowID pgtype.UUID `json:"workflow_id"` WorkflowVersionID pgtype.UUID `json:"workflow_version_id"` WorkflowRunID pgtype.UUID `json:"workflow_run_id"` StrategyID int64 `json:"strategy_id"` ParentStrategyID pgtype.Int8 `json:"parent_strategy_id"` Priority int32 `json:"priority"` Key string `json:"key"` IsFilled bool `json:"is_filled"` NextParentStrategyIds []pgtype.Int8 `json:"next_parent_strategy_ids"` NextStrategyIds []int64 `json:"next_strategy_ids"` NextKeys []string `json:"next_keys"` QueueToNotify string `json:"queue_to_notify"` ScheduleTimeoutAt pgtype.Timestamp `json:"schedule_timeout_at"` Operation string `json:"operation"` }
type RunGroupRoundRobinRow ¶
type RunGroupRoundRobinRow struct { TaskID int64 `json:"task_id"` TaskInsertedAt pgtype.Timestamptz `json:"task_inserted_at"` TaskRetryCount int32 `json:"task_retry_count"` TenantID pgtype.UUID `json:"tenant_id"` NextStrategyIds []int64 `json:"next_strategy_ids"` ExternalID pgtype.UUID `json:"external_id"` WorkflowRunID pgtype.UUID `json:"workflow_run_id"` QueueToNotify string `json:"queue_to_notify"` Operation string `json:"operation"` }
type SNSIntegration ¶
type SaveSatisfiedMatchConditionsRow ¶
type SaveSatisfiedMatchConditionsRow struct { ID int64 `json:"id"` TenantID pgtype.UUID `json:"tenant_id"` Kind V1MatchKind `json:"kind"` IsSatisfied bool `json:"is_satisfied"` ExistingData []byte `json:"existing_data"` SignalTaskID pgtype.Int8 `json:"signal_task_id"` SignalTaskInsertedAt pgtype.Timestamptz `json:"signal_task_inserted_at"` SignalExternalID pgtype.UUID `json:"signal_external_id"` SignalKey pgtype.Text `json:"signal_key"` TriggerDagID pgtype.Int8 `json:"trigger_dag_id"` TriggerDagInsertedAt pgtype.Timestamptz `json:"trigger_dag_inserted_at"` TriggerStepID pgtype.UUID `json:"trigger_step_id"` TriggerStepIndex pgtype.Int8 `json:"trigger_step_index"` TriggerExternalID pgtype.UUID `json:"trigger_external_id"` TriggerWorkflowRunID pgtype.UUID `json:"trigger_workflow_run_id"` TriggerParentTaskExternalID pgtype.UUID `json:"trigger_parent_task_external_id"` TriggerParentTaskID pgtype.Int8 `json:"trigger_parent_task_id"` TriggerParentTaskInsertedAt pgtype.Timestamptz `json:"trigger_parent_task_inserted_at"` TriggerChildIndex pgtype.Int8 `json:"trigger_child_index"` TriggerChildKey pgtype.Text `json:"trigger_child_key"` TriggerExistingTaskID pgtype.Int8 `json:"trigger_existing_task_id"` TriggerExistingTaskInsertedAt pgtype.Timestamptz `json:"trigger_existing_task_inserted_at"` TriggerPriority pgtype.Int4 `json:"trigger_priority"` Action V1MatchConditionAction `json:"action"` McAggregatedData []byte `json:"mc_aggregated_data"` }
type SchedulerPartition ¶
type SecurityCheckIdent ¶
type SemaphoreQueueItem ¶
type ServiceToWorker ¶
type SlackAppWebhook ¶
type SlackAppWebhook struct { ID pgtype.UUID `json:"id"` CreatedAt pgtype.Timestamp `json:"createdAt"` UpdatedAt pgtype.Timestamp `json:"updatedAt"` DeletedAt pgtype.Timestamp `json:"deletedAt"` TenantId pgtype.UUID `json:"tenantId"` TeamId string `json:"teamId"` TeamName string `json:"teamName"` ChannelId string `json:"channelId"` ChannelName string `json:"channelName"` WebhookURL []byte `json:"webhookURL"` }
type Step ¶
type Step struct { ID pgtype.UUID `json:"id"` CreatedAt pgtype.Timestamp `json:"createdAt"` UpdatedAt pgtype.Timestamp `json:"updatedAt"` DeletedAt pgtype.Timestamp `json:"deletedAt"` ReadableId pgtype.Text `json:"readableId"` TenantId pgtype.UUID `json:"tenantId"` JobId pgtype.UUID `json:"jobId"` ActionId string `json:"actionId"` Timeout pgtype.Text `json:"timeout"` CustomUserData []byte `json:"customUserData"` Retries int32 `json:"retries"` RetryBackoffFactor pgtype.Float8 `json:"retryBackoffFactor"` RetryMaxBackoff pgtype.Int4 `json:"retryMaxBackoff"` ScheduleTimeout string `json:"scheduleTimeout"` }
type StepDesiredWorkerLabel ¶
type StepDesiredWorkerLabel struct { ID int64 `json:"id"` CreatedAt pgtype.Timestamp `json:"createdAt"` UpdatedAt pgtype.Timestamp `json:"updatedAt"` StepId pgtype.UUID `json:"stepId"` Key string `json:"key"` StrValue pgtype.Text `json:"strValue"` IntValue pgtype.Int4 `json:"intValue"` Required bool `json:"required"` Comparator WorkerLabelComparator `json:"comparator"` Weight int32 `json:"weight"` }
type StepExpression ¶
type StepExpression struct { Key string `json:"key"` StepId pgtype.UUID `json:"stepId"` Expression string `json:"expression"` Kind StepExpressionKind `json:"kind"` }
type StepExpressionKind ¶
type StepExpressionKind string
const ( StepExpressionKindDYNAMICRATELIMITKEY StepExpressionKind = "DYNAMIC_RATE_LIMIT_KEY" StepExpressionKindDYNAMICRATELIMITVALUE StepExpressionKind = "DYNAMIC_RATE_LIMIT_VALUE" StepExpressionKindDYNAMICRATELIMITUNITS StepExpressionKind = "DYNAMIC_RATE_LIMIT_UNITS" StepExpressionKindDYNAMICRATELIMITWINDOW StepExpressionKind = "DYNAMIC_RATE_LIMIT_WINDOW" )
func (*StepExpressionKind) Scan ¶
func (e *StepExpressionKind) Scan(src interface{}) error
type StepRateLimit ¶
type StepRateLimitKind ¶
type StepRateLimitKind string
const ( StepRateLimitKindSTATIC StepRateLimitKind = "STATIC" StepRateLimitKindDYNAMIC StepRateLimitKind = "DYNAMIC" )
func (*StepRateLimitKind) Scan ¶
func (e *StepRateLimitKind) Scan(src interface{}) error
type StepRun ¶
type StepRun struct { ID pgtype.UUID `json:"id"` CreatedAt pgtype.Timestamp `json:"createdAt"` UpdatedAt pgtype.Timestamp `json:"updatedAt"` DeletedAt pgtype.Timestamp `json:"deletedAt"` TenantId pgtype.UUID `json:"tenantId"` JobRunId pgtype.UUID `json:"jobRunId"` StepId pgtype.UUID `json:"stepId"` Order int64 `json:"order"` WorkerId pgtype.UUID `json:"workerId"` TickerId pgtype.UUID `json:"tickerId"` Status StepRunStatus `json:"status"` Input []byte `json:"input"` Output []byte `json:"output"` RequeueAfter pgtype.Timestamp `json:"requeueAfter"` ScheduleTimeoutAt pgtype.Timestamp `json:"scheduleTimeoutAt"` Error pgtype.Text `json:"error"` StartedAt pgtype.Timestamp `json:"startedAt"` FinishedAt pgtype.Timestamp `json:"finishedAt"` TimeoutAt pgtype.Timestamp `json:"timeoutAt"` CancelledAt pgtype.Timestamp `json:"cancelledAt"` CancelledReason pgtype.Text `json:"cancelledReason"` CancelledError pgtype.Text `json:"cancelledError"` InputSchema []byte `json:"inputSchema"` CallerFiles []byte `json:"callerFiles"` GitRepoBranch pgtype.Text `json:"gitRepoBranch"` RetryCount int32 `json:"retryCount"` SemaphoreReleased bool `json:"semaphoreReleased"` Queue string `json:"queue"` Priority pgtype.Int4 `json:"priority"` InternalRetryCount int32 `json:"internalRetryCount"` }
type StepRunEvent ¶
type StepRunEvent struct { ID int64 `json:"id"` TimeFirstSeen pgtype.Timestamp `json:"timeFirstSeen"` TimeLastSeen pgtype.Timestamp `json:"timeLastSeen"` StepRunId pgtype.UUID `json:"stepRunId"` Reason StepRunEventReason `json:"reason"` Severity StepRunEventSeverity `json:"severity"` Message string `json:"message"` Count int32 `json:"count"` Data []byte `json:"data"` WorkflowRunId pgtype.UUID `json:"workflowRunId"` }
type StepRunEventReason ¶
type StepRunEventReason string
const ( StepRunEventReasonREQUEUEDNOWORKER StepRunEventReason = "REQUEUED_NO_WORKER" StepRunEventReasonREQUEUEDRATELIMIT StepRunEventReason = "REQUEUED_RATE_LIMIT" StepRunEventReasonSCHEDULINGTIMEDOUT StepRunEventReason = "SCHEDULING_TIMED_OUT" StepRunEventReasonASSIGNED StepRunEventReason = "ASSIGNED" StepRunEventReasonSTARTED StepRunEventReason = "STARTED" StepRunEventReasonFINISHED StepRunEventReason = "FINISHED" StepRunEventReasonFAILED StepRunEventReason = "FAILED" StepRunEventReasonRETRYING StepRunEventReason = "RETRYING" StepRunEventReasonCANCELLED StepRunEventReason = "CANCELLED" StepRunEventReasonTIMEDOUT StepRunEventReason = "TIMED_OUT" StepRunEventReasonREASSIGNED StepRunEventReason = "REASSIGNED" StepRunEventReasonSLOTRELEASED StepRunEventReason = "SLOT_RELEASED" StepRunEventReasonTIMEOUTREFRESHED StepRunEventReason = "TIMEOUT_REFRESHED" StepRunEventReasonRETRIEDBYUSER StepRunEventReason = "RETRIED_BY_USER" StepRunEventReasonSENTTOWORKER StepRunEventReason = "SENT_TO_WORKER" StepRunEventReasonWORKFLOWRUNGROUPKEYSUCCEEDED StepRunEventReason = "WORKFLOW_RUN_GROUP_KEY_SUCCEEDED" StepRunEventReasonWORKFLOWRUNGROUPKEYFAILED StepRunEventReason = "WORKFLOW_RUN_GROUP_KEY_FAILED" StepRunEventReasonRATELIMITERROR StepRunEventReason = "RATE_LIMIT_ERROR" StepRunEventReasonACKNOWLEDGED StepRunEventReason = "ACKNOWLEDGED" )
func (*StepRunEventReason) Scan ¶
func (e *StepRunEventReason) Scan(src interface{}) error
type StepRunEventSeverity ¶
type StepRunEventSeverity string
const ( StepRunEventSeverityINFO StepRunEventSeverity = "INFO" StepRunEventSeverityWARNING StepRunEventSeverity = "WARNING" StepRunEventSeverityCRITICAL StepRunEventSeverity = "CRITICAL" )
func (*StepRunEventSeverity) Scan ¶
func (e *StepRunEventSeverity) Scan(src interface{}) error
type StepRunExpressionEval ¶
type StepRunResultArchive ¶
type StepRunResultArchive struct { ID pgtype.UUID `json:"id"` CreatedAt pgtype.Timestamp `json:"createdAt"` UpdatedAt pgtype.Timestamp `json:"updatedAt"` DeletedAt pgtype.Timestamp `json:"deletedAt"` StepRunId pgtype.UUID `json:"stepRunId"` Order int64 `json:"order"` Input []byte `json:"input"` Output []byte `json:"output"` Error pgtype.Text `json:"error"` StartedAt pgtype.Timestamp `json:"startedAt"` FinishedAt pgtype.Timestamp `json:"finishedAt"` TimeoutAt pgtype.Timestamp `json:"timeoutAt"` CancelledAt pgtype.Timestamp `json:"cancelledAt"` CancelledReason pgtype.Text `json:"cancelledReason"` CancelledError pgtype.Text `json:"cancelledError"` RetryCount int32 `json:"retryCount"` }
type StepRunStatus ¶
type StepRunStatus string
const ( StepRunStatusPENDING StepRunStatus = "PENDING" StepRunStatusPENDINGASSIGNMENT StepRunStatus = "PENDING_ASSIGNMENT" StepRunStatusASSIGNED StepRunStatus = "ASSIGNED" StepRunStatusRUNNING StepRunStatus = "RUNNING" StepRunStatusSUCCEEDED StepRunStatus = "SUCCEEDED" StepRunStatusFAILED StepRunStatus = "FAILED" StepRunStatusCANCELLED StepRunStatus = "CANCELLED" StepRunStatusCANCELLING StepRunStatus = "CANCELLING" StepRunStatusBACKOFF StepRunStatus = "BACKOFF" )
func (*StepRunStatus) Scan ¶
func (e *StepRunStatus) Scan(src interface{}) error
type StickyStrategy ¶
type StickyStrategy string
const ( StickyStrategySOFT StickyStrategy = "SOFT" StickyStrategyHARD StickyStrategy = "HARD" )
func (*StickyStrategy) Scan ¶
func (e *StickyStrategy) Scan(src interface{}) error
type StoreCELEvaluationFailuresParams ¶ added in v0.70.0
type StreamEvent ¶
type Tenant ¶
type Tenant struct { ID pgtype.UUID `json:"id"` CreatedAt pgtype.Timestamp `json:"createdAt"` UpdatedAt pgtype.Timestamp `json:"updatedAt"` DeletedAt pgtype.Timestamp `json:"deletedAt"` Version TenantMajorEngineVersion `json:"version"` UiVersion TenantMajorUIVersion `json:"uiVersion"` Name string `json:"name"` Slug string `json:"slug"` AnalyticsOptOut bool `json:"analyticsOptOut"` AlertMemberEmails bool `json:"alertMemberEmails"` ControllerPartitionId pgtype.Text `json:"controllerPartitionId"` WorkerPartitionId pgtype.Text `json:"workerPartitionId"` DataRetentionPeriod string `json:"dataRetentionPeriod"` SchedulerPartitionId pgtype.Text `json:"schedulerPartitionId"` CanUpgradeV1 bool `json:"canUpgradeV1"` }
type TenantAlertEmailGroup ¶
type TenantAlertingSettings ¶
type TenantAlertingSettings struct { ID pgtype.UUID `json:"id"` CreatedAt pgtype.Timestamp `json:"createdAt"` UpdatedAt pgtype.Timestamp `json:"updatedAt"` DeletedAt pgtype.Timestamp `json:"deletedAt"` TenantId pgtype.UUID `json:"tenantId"` MaxFrequency string `json:"maxFrequency"` LastAlertedAt pgtype.Timestamp `json:"lastAlertedAt"` TickerId pgtype.UUID `json:"tickerId"` EnableExpiringTokenAlerts bool `json:"enableExpiringTokenAlerts"` EnableWorkflowRunFailureAlerts bool `json:"enableWorkflowRunFailureAlerts"` EnableTenantResourceLimitAlerts bool `json:"enableTenantResourceLimitAlerts"` }
type TenantInviteLink ¶
type TenantInviteLink struct { ID pgtype.UUID `json:"id"` CreatedAt pgtype.Timestamp `json:"createdAt"` UpdatedAt pgtype.Timestamp `json:"updatedAt"` TenantId pgtype.UUID `json:"tenantId"` InviterEmail string `json:"inviterEmail"` InviteeEmail string `json:"inviteeEmail"` Expires pgtype.Timestamp `json:"expires"` Status InviteLinkStatus `json:"status"` Role TenantMemberRole `json:"role"` }
type TenantMajorEngineVersion ¶
type TenantMajorEngineVersion string
const ( TenantMajorEngineVersionV0 TenantMajorEngineVersion = "V0" TenantMajorEngineVersionV1 TenantMajorEngineVersion = "V1" )
func (*TenantMajorEngineVersion) Scan ¶
func (e *TenantMajorEngineVersion) Scan(src interface{}) error
type TenantMajorUIVersion ¶
type TenantMajorUIVersion string
const ( TenantMajorUIVersionV0 TenantMajorUIVersion = "V0" TenantMajorUIVersionV1 TenantMajorUIVersion = "V1" )
func (*TenantMajorUIVersion) Scan ¶
func (e *TenantMajorUIVersion) Scan(src interface{}) error
type TenantMember ¶
type TenantMemberRole ¶
type TenantMemberRole string
const ( TenantMemberRoleOWNER TenantMemberRole = "OWNER" TenantMemberRoleADMIN TenantMemberRole = "ADMIN" TenantMemberRoleMEMBER TenantMemberRole = "MEMBER" )
func (*TenantMemberRole) Scan ¶
func (e *TenantMemberRole) Scan(src interface{}) error
type TenantResourceLimit ¶
type TenantResourceLimit struct { ID pgtype.UUID `json:"id"` CreatedAt pgtype.Timestamp `json:"createdAt"` UpdatedAt pgtype.Timestamp `json:"updatedAt"` Resource LimitResource `json:"resource"` TenantId pgtype.UUID `json:"tenantId"` LimitValue int32 `json:"limitValue"` AlarmValue pgtype.Int4 `json:"alarmValue"` Value int32 `json:"value"` Window pgtype.Text `json:"window"` LastRefill pgtype.Timestamp `json:"lastRefill"` CustomValueMeter bool `json:"customValueMeter"` }
type TenantResourceLimitAlert ¶
type TenantResourceLimitAlert struct { ID pgtype.UUID `json:"id"` CreatedAt pgtype.Timestamp `json:"createdAt"` UpdatedAt pgtype.Timestamp `json:"updatedAt"` ResourceLimitId pgtype.UUID `json:"resourceLimitId"` TenantId pgtype.UUID `json:"tenantId"` Resource LimitResource `json:"resource"` AlertType TenantResourceLimitAlertType `json:"alertType"` Value int32 `json:"value"` Limit int32 `json:"limit"` }
type TenantResourceLimitAlertType ¶
type TenantResourceLimitAlertType string
const ( TenantResourceLimitAlertTypeAlarm TenantResourceLimitAlertType = "Alarm" TenantResourceLimitAlertTypeExhausted TenantResourceLimitAlertType = "Exhausted" )
func (*TenantResourceLimitAlertType) Scan ¶
func (e *TenantResourceLimitAlertType) Scan(src interface{}) error
type TenantVcsProvider ¶
type TenantVcsProvider struct { ID pgtype.UUID `json:"id"` CreatedAt pgtype.Timestamp `json:"createdAt"` UpdatedAt pgtype.Timestamp `json:"updatedAt"` DeletedAt pgtype.Timestamp `json:"deletedAt"` TenantId pgtype.UUID `json:"tenantId"` VcsProvider VcsProvider `json:"vcsProvider"` Config []byte `json:"config"` }
type TenantWorkerPartition ¶
type TimeoutQueueItem ¶
type TmpWorkflowConcurrencySlot ¶
type TmpWorkflowConcurrencySlot struct { SortID int64 `json:"sort_id"` TenantID pgtype.UUID `json:"tenant_id"` WorkflowID pgtype.UUID `json:"workflow_id"` WorkflowVersionID pgtype.UUID `json:"workflow_version_id"` WorkflowRunID pgtype.UUID `json:"workflow_run_id"` StrategyID int64 `json:"strategy_id"` CompletedChildStrategyIds []int64 `json:"completed_child_strategy_ids"` ChildStrategyIds []int64 `json:"child_strategy_ids"` Priority int32 `json:"priority"` Key string `json:"key"` IsFilled bool `json:"is_filled"` }
type UpdateDAGStatusesParams ¶
type UpdateDAGStatusesRow ¶
type UpdateDAGStatusesRow struct { Count int64 `json:"count"` TenantID pgtype.UUID `json:"tenant_id"` ID int64 `json:"id"` InsertedAt pgtype.Timestamptz `json:"inserted_at"` ReadableStatus V1ReadableStatusOlap `json:"readable_status"` ExternalID pgtype.UUID `json:"external_id"` WorkflowID pgtype.UUID `json:"workflow_id"` }
type UpdateFilterParams ¶
type UpdateTaskStatusesRow ¶
type UpdateTaskStatusesRow struct { Count int64 `json:"count"` TenantID pgtype.UUID `json:"tenant_id"` ID int64 `json:"id"` InsertedAt pgtype.Timestamptz `json:"inserted_at"` ReadableStatus V1ReadableStatusOlap `json:"readable_status"` ExternalID pgtype.UUID `json:"external_id"` LatestWorkerID pgtype.UUID `json:"latest_worker_id"` WorkflowID pgtype.UUID `json:"workflow_id"` IsDagTask bool `json:"is_dag_task"` }
type UpdateTasksToAssignedParams ¶
type UpdateTasksToAssignedParams struct { Taskids []int64 `json:"taskids"` Taskinsertedats []pgtype.Timestamptz `json:"taskinsertedats"` Workerids []pgtype.UUID `json:"workerids"` Mintaskinsertedat pgtype.Timestamptz `json:"mintaskinsertedat"` Tenantid pgtype.UUID `json:"tenantid"` }
type UpdateWebhookExpressionParams ¶ added in v0.71.0
type UpsertActionParams ¶
type UpsertDesiredWorkerLabelParams ¶
type UpsertDesiredWorkerLabelParams struct { Stepid pgtype.UUID `json:"stepid"` Key string `json:"key"` IntValue pgtype.Int4 `json:"intValue"` StrValue pgtype.Text `json:"strValue"` Required pgtype.Bool `json:"required"` Weight pgtype.Int4 `json:"weight"` Comparator NullWorkerLabelComparator `json:"comparator"` }
type UpsertQueuesParams ¶
type UserOAuth ¶
type UserOAuth struct { ID pgtype.UUID `json:"id"` CreatedAt pgtype.Timestamp `json:"createdAt"` UpdatedAt pgtype.Timestamp `json:"updatedAt"` UserId pgtype.UUID `json:"userId"` Provider string `json:"provider"` ProviderUserId string `json:"providerUserId"` ExpiresAt pgtype.Timestamp `json:"expiresAt"` AccessToken []byte `json:"accessToken"` RefreshToken []byte `json:"refreshToken"` }
type UserPassword ¶
type UserSession ¶
type V1CelEvaluationFailureSource ¶ added in v0.70.0
type V1CelEvaluationFailureSource string
const ( V1CelEvaluationFailureSourceFILTER V1CelEvaluationFailureSource = "FILTER" V1CelEvaluationFailureSourceWEBHOOK V1CelEvaluationFailureSource = "WEBHOOK" )
func (*V1CelEvaluationFailureSource) Scan ¶ added in v0.70.0
func (e *V1CelEvaluationFailureSource) Scan(src interface{}) error
type V1CelEvaluationFailuresOlap ¶ added in v0.70.0
type V1CelEvaluationFailuresOlap struct { ID int64 `json:"id"` TenantID pgtype.UUID `json:"tenant_id"` Source V1CelEvaluationFailureSource `json:"source"` Error string `json:"error"` InsertedAt pgtype.Timestamptz `json:"inserted_at"` UpdatedAt pgtype.Timestamptz `json:"updated_at"` }
type V1ConcurrencySlot ¶
type V1ConcurrencySlot struct { SortID pgtype.Int8 `json:"sort_id"` TaskID int64 `json:"task_id"` TaskInsertedAt pgtype.Timestamptz `json:"task_inserted_at"` TaskRetryCount int32 `json:"task_retry_count"` ExternalID pgtype.UUID `json:"external_id"` TenantID pgtype.UUID `json:"tenant_id"` WorkflowID pgtype.UUID `json:"workflow_id"` WorkflowVersionID pgtype.UUID `json:"workflow_version_id"` WorkflowRunID pgtype.UUID `json:"workflow_run_id"` StrategyID int64 `json:"strategy_id"` ParentStrategyID pgtype.Int8 `json:"parent_strategy_id"` Priority int32 `json:"priority"` Key string `json:"key"` IsFilled bool `json:"is_filled"` NextParentStrategyIds []int64 `json:"next_parent_strategy_ids"` NextStrategyIds []int64 `json:"next_strategy_ids"` NextKeys []string `json:"next_keys"` QueueToNotify string `json:"queue_to_notify"` ScheduleTimeoutAt pgtype.Timestamp `json:"schedule_timeout_at"` }
type V1ConcurrencyStrategy ¶
type V1ConcurrencyStrategy string
const ( V1ConcurrencyStrategyNONE V1ConcurrencyStrategy = "NONE" V1ConcurrencyStrategyGROUPROUNDROBIN V1ConcurrencyStrategy = "GROUP_ROUND_ROBIN" V1ConcurrencyStrategyCANCELINPROGRESS V1ConcurrencyStrategy = "CANCEL_IN_PROGRESS" V1ConcurrencyStrategyCANCELNEWEST V1ConcurrencyStrategy = "CANCEL_NEWEST" )
func (*V1ConcurrencyStrategy) Scan ¶
func (e *V1ConcurrencyStrategy) Scan(src interface{}) error
type V1Dag ¶
type V1Dag struct { ID int64 `json:"id"` InsertedAt pgtype.Timestamptz `json:"inserted_at"` TenantID pgtype.UUID `json:"tenant_id"` ExternalID pgtype.UUID `json:"external_id"` DisplayName string `json:"display_name"` WorkflowID pgtype.UUID `json:"workflow_id"` WorkflowVersionID pgtype.UUID `json:"workflow_version_id"` ParentTaskExternalID pgtype.UUID `json:"parent_task_external_id"` }
type V1DagData ¶
type V1DagData struct { DagID int64 `json:"dag_id"` DagInsertedAt pgtype.Timestamptz `json:"dag_inserted_at"` Input []byte `json:"input"` AdditionalMetadata []byte `json:"additional_metadata"` }
type V1DagToTask ¶
type V1DagToTask struct { DagID int64 `json:"dag_id"` DagInsertedAt pgtype.Timestamptz `json:"dag_inserted_at"` TaskID int64 `json:"task_id"` TaskInsertedAt pgtype.Timestamptz `json:"task_inserted_at"` }
type V1DagToTaskOlap ¶
type V1DagToTaskOlap struct { DagID int64 `json:"dag_id"` DagInsertedAt pgtype.Timestamptz `json:"dag_inserted_at"` TaskID int64 `json:"task_id"` TaskInsertedAt pgtype.Timestamptz `json:"task_inserted_at"` }
type V1DagsOlap ¶
type V1DagsOlap struct { ID int64 `json:"id"` InsertedAt pgtype.Timestamptz `json:"inserted_at"` TenantID pgtype.UUID `json:"tenant_id"` ExternalID pgtype.UUID `json:"external_id"` DisplayName string `json:"display_name"` WorkflowID pgtype.UUID `json:"workflow_id"` WorkflowVersionID pgtype.UUID `json:"workflow_version_id"` ReadableStatus V1ReadableStatusOlap `json:"readable_status"` Input []byte `json:"input"` AdditionalMetadata []byte `json:"additional_metadata"` ParentTaskExternalID pgtype.UUID `json:"parent_task_external_id"` TotalTasks int32 `json:"total_tasks"` }
type V1DurableSleep ¶
type V1EventLookupTableOlap ¶
type V1EventToRunOlap ¶
type V1EventToRunOlap struct { RunID int64 `json:"run_id"` RunInsertedAt pgtype.Timestamptz `json:"run_inserted_at"` EventID int64 `json:"event_id"` EventSeenAt pgtype.Timestamptz `json:"event_seen_at"` FilterID pgtype.UUID `json:"filter_id"` }
type V1EventType ¶
type V1EventType string
const ( V1EventTypeUSER V1EventType = "USER" V1EventTypeINTERNAL V1EventType = "INTERNAL" )
func (*V1EventType) Scan ¶
func (e *V1EventType) Scan(src interface{}) error
type V1EventTypeOlap ¶
type V1EventTypeOlap string
const ( V1EventTypeOlapRETRYING V1EventTypeOlap = "RETRYING" V1EventTypeOlapREASSIGNED V1EventTypeOlap = "REASSIGNED" V1EventTypeOlapRETRIEDBYUSER V1EventTypeOlap = "RETRIED_BY_USER" V1EventTypeOlapCREATED V1EventTypeOlap = "CREATED" V1EventTypeOlapQUEUED V1EventTypeOlap = "QUEUED" V1EventTypeOlapREQUEUEDNOWORKER V1EventTypeOlap = "REQUEUED_NO_WORKER" V1EventTypeOlapREQUEUEDRATELIMIT V1EventTypeOlap = "REQUEUED_RATE_LIMIT" V1EventTypeOlapASSIGNED V1EventTypeOlap = "ASSIGNED" V1EventTypeOlapACKNOWLEDGED V1EventTypeOlap = "ACKNOWLEDGED" V1EventTypeOlapSENTTOWORKER V1EventTypeOlap = "SENT_TO_WORKER" V1EventTypeOlapSLOTRELEASED V1EventTypeOlap = "SLOT_RELEASED" V1EventTypeOlapSTARTED V1EventTypeOlap = "STARTED" V1EventTypeOlapTIMEOUTREFRESHED V1EventTypeOlap = "TIMEOUT_REFRESHED" V1EventTypeOlapSCHEDULINGTIMEDOUT V1EventTypeOlap = "SCHEDULING_TIMED_OUT" V1EventTypeOlapFINISHED V1EventTypeOlap = "FINISHED" V1EventTypeOlapFAILED V1EventTypeOlap = "FAILED" V1EventTypeOlapCANCELLED V1EventTypeOlap = "CANCELLED" V1EventTypeOlapTIMEDOUT V1EventTypeOlap = "TIMED_OUT" V1EventTypeOlapRATELIMITERROR V1EventTypeOlap = "RATE_LIMIT_ERROR" V1EventTypeOlapSKIPPED V1EventTypeOlap = "SKIPPED" )
func (*V1EventTypeOlap) Scan ¶
func (e *V1EventTypeOlap) Scan(src interface{}) error
type V1EventsOlap ¶
type V1EventsOlap struct { TenantID pgtype.UUID `json:"tenant_id"` ID int64 `json:"id"` ExternalID pgtype.UUID `json:"external_id"` SeenAt pgtype.Timestamptz `json:"seen_at"` Key string `json:"key"` Payload []byte `json:"payload"` AdditionalMetadata []byte `json:"additional_metadata"` Scope pgtype.Text `json:"scope"` TriggeringWebhookName pgtype.Text `json:"triggering_webhook_name"` }
type V1Filter ¶
type V1Filter struct { ID pgtype.UUID `json:"id"` TenantID pgtype.UUID `json:"tenant_id"` WorkflowID pgtype.UUID `json:"workflow_id"` Scope string `json:"scope"` Expression string `json:"expression"` Payload []byte `json:"payload"` PayloadHash pgtype.Text `json:"payload_hash"` IsDeclarative bool `json:"is_declarative"` InsertedAt pgtype.Timestamptz `json:"inserted_at"` UpdatedAt pgtype.Timestamptz `json:"updated_at"` }
type V1IncomingWebhook ¶ added in v0.70.0
type V1IncomingWebhook struct { TenantID pgtype.UUID `json:"tenant_id"` Name string `json:"name"` SourceName V1IncomingWebhookSourceName `json:"source_name"` EventKeyExpression string `json:"event_key_expression"` AuthMethod V1IncomingWebhookAuthType `json:"auth_method"` AuthBasicUsername pgtype.Text `json:"auth__basic__username"` AuthBasicPassword []byte `json:"auth__basic__password"` AuthApiKeyHeaderName pgtype.Text `json:"auth__api_key__header_name"` AuthApiKeyKey []byte `json:"auth__api_key__key"` AuthHmacAlgorithm NullV1IncomingWebhookHmacAlgorithm `json:"auth__hmac__algorithm"` AuthHmacEncoding NullV1IncomingWebhookHmacEncoding `json:"auth__hmac__encoding"` AuthHmacSignatureHeaderName pgtype.Text `json:"auth__hmac__signature_header_name"` AuthHmacWebhookSigningSecret []byte `json:"auth__hmac__webhook_signing_secret"` InsertedAt pgtype.Timestamptz `json:"inserted_at"` UpdatedAt pgtype.Timestamptz `json:"updated_at"` }
type V1IncomingWebhookAuthType ¶ added in v0.70.0
type V1IncomingWebhookAuthType string
const ( V1IncomingWebhookAuthTypeBASIC V1IncomingWebhookAuthType = "BASIC" V1IncomingWebhookAuthTypeAPIKEY V1IncomingWebhookAuthType = "API_KEY" V1IncomingWebhookAuthTypeHMAC V1IncomingWebhookAuthType = "HMAC" )
func (*V1IncomingWebhookAuthType) Scan ¶ added in v0.70.0
func (e *V1IncomingWebhookAuthType) Scan(src interface{}) error
type V1IncomingWebhookHmacAlgorithm ¶ added in v0.70.0
type V1IncomingWebhookHmacAlgorithm string
const ( V1IncomingWebhookHmacAlgorithmSHA1 V1IncomingWebhookHmacAlgorithm = "SHA1" V1IncomingWebhookHmacAlgorithmSHA256 V1IncomingWebhookHmacAlgorithm = "SHA256" V1IncomingWebhookHmacAlgorithmSHA512 V1IncomingWebhookHmacAlgorithm = "SHA512" V1IncomingWebhookHmacAlgorithmMD5 V1IncomingWebhookHmacAlgorithm = "MD5" )
func (*V1IncomingWebhookHmacAlgorithm) Scan ¶ added in v0.70.0
func (e *V1IncomingWebhookHmacAlgorithm) Scan(src interface{}) error
type V1IncomingWebhookHmacEncoding ¶ added in v0.70.0
type V1IncomingWebhookHmacEncoding string
const ( V1IncomingWebhookHmacEncodingHEX V1IncomingWebhookHmacEncoding = "HEX" V1IncomingWebhookHmacEncodingBASE64 V1IncomingWebhookHmacEncoding = "BASE64" V1IncomingWebhookHmacEncodingBASE64URL V1IncomingWebhookHmacEncoding = "BASE64URL" )
func (*V1IncomingWebhookHmacEncoding) Scan ¶ added in v0.70.0
func (e *V1IncomingWebhookHmacEncoding) Scan(src interface{}) error
type V1IncomingWebhookSourceName ¶ added in v0.70.0
type V1IncomingWebhookSourceName string
const ( V1IncomingWebhookSourceNameGENERIC V1IncomingWebhookSourceName = "GENERIC" V1IncomingWebhookSourceNameGITHUB V1IncomingWebhookSourceName = "GITHUB" V1IncomingWebhookSourceNameSTRIPE V1IncomingWebhookSourceName = "STRIPE" V1IncomingWebhookSourceNameSLACK V1IncomingWebhookSourceName = "SLACK" )
func (*V1IncomingWebhookSourceName) Scan ¶ added in v0.70.0
func (e *V1IncomingWebhookSourceName) Scan(src interface{}) error
type V1IncomingWebhookValidationFailuresOlap ¶ added in v0.70.0
type V1IncomingWebhookValidationFailuresOlap struct { ID int64 `json:"id"` TenantID pgtype.UUID `json:"tenant_id"` IncomingWebhookName string `json:"incoming_webhook_name"` Error string `json:"error"` InsertedAt pgtype.Timestamptz `json:"inserted_at"` UpdatedAt pgtype.Timestamptz `json:"updated_at"` }
type V1LogLine ¶
type V1LogLine struct { ID int64 `json:"id"` CreatedAt pgtype.Timestamptz `json:"created_at"` TenantID pgtype.UUID `json:"tenant_id"` TaskID int64 `json:"task_id"` TaskInsertedAt pgtype.Timestamptz `json:"task_inserted_at"` Message string `json:"message"` Level V1LogLineLevel `json:"level"` Metadata []byte `json:"metadata"` RetryCount int32 `json:"retry_count"` }
type V1LogLineLevel ¶
type V1LogLineLevel string
const ( V1LogLineLevelDEBUG V1LogLineLevel = "DEBUG" V1LogLineLevelINFO V1LogLineLevel = "INFO" V1LogLineLevelWARN V1LogLineLevel = "WARN" V1LogLineLevelERROR V1LogLineLevel = "ERROR" )
func (*V1LogLineLevel) Scan ¶
func (e *V1LogLineLevel) Scan(src interface{}) error
type V1LookupTable ¶
type V1LookupTableOlap ¶
type V1Match ¶
type V1Match struct { ID int64 `json:"id"` TenantID pgtype.UUID `json:"tenant_id"` Kind V1MatchKind `json:"kind"` IsSatisfied bool `json:"is_satisfied"` ExistingData []byte `json:"existing_data"` SignalTaskID pgtype.Int8 `json:"signal_task_id"` SignalTaskInsertedAt pgtype.Timestamptz `json:"signal_task_inserted_at"` SignalExternalID pgtype.UUID `json:"signal_external_id"` SignalKey pgtype.Text `json:"signal_key"` TriggerDagID pgtype.Int8 `json:"trigger_dag_id"` TriggerDagInsertedAt pgtype.Timestamptz `json:"trigger_dag_inserted_at"` TriggerStepID pgtype.UUID `json:"trigger_step_id"` TriggerStepIndex pgtype.Int8 `json:"trigger_step_index"` TriggerExternalID pgtype.UUID `json:"trigger_external_id"` TriggerWorkflowRunID pgtype.UUID `json:"trigger_workflow_run_id"` TriggerParentTaskExternalID pgtype.UUID `json:"trigger_parent_task_external_id"` TriggerParentTaskID pgtype.Int8 `json:"trigger_parent_task_id"` TriggerParentTaskInsertedAt pgtype.Timestamptz `json:"trigger_parent_task_inserted_at"` TriggerChildIndex pgtype.Int8 `json:"trigger_child_index"` TriggerChildKey pgtype.Text `json:"trigger_child_key"` TriggerExistingTaskID pgtype.Int8 `json:"trigger_existing_task_id"` TriggerExistingTaskInsertedAt pgtype.Timestamptz `json:"trigger_existing_task_inserted_at"` TriggerPriority pgtype.Int4 `json:"trigger_priority"` }
type V1MatchCondition ¶
type V1MatchCondition struct { V1MatchID int64 `json:"v1_match_id"` ID int64 `json:"id"` TenantID pgtype.UUID `json:"tenant_id"` RegisteredAt pgtype.Timestamptz `json:"registered_at"` EventType V1EventType `json:"event_type"` EventKey string `json:"event_key"` EventResourceHint pgtype.Text `json:"event_resource_hint"` ReadableDataKey string `json:"readable_data_key"` IsSatisfied bool `json:"is_satisfied"` Action V1MatchConditionAction `json:"action"` OrGroupID pgtype.UUID `json:"or_group_id"` Expression pgtype.Text `json:"expression"` Data []byte `json:"data"` }
type V1MatchConditionAction ¶
type V1MatchConditionAction string
const ( V1MatchConditionActionCREATE V1MatchConditionAction = "CREATE" V1MatchConditionActionQUEUE V1MatchConditionAction = "QUEUE" V1MatchConditionActionCANCEL V1MatchConditionAction = "CANCEL" V1MatchConditionActionSKIP V1MatchConditionAction = "SKIP" V1MatchConditionActionCREATEMATCH V1MatchConditionAction = "CREATE_MATCH" )
func (*V1MatchConditionAction) Scan ¶
func (e *V1MatchConditionAction) Scan(src interface{}) error
type V1MatchKind ¶
type V1MatchKind string
const ( V1MatchKindTRIGGER V1MatchKind = "TRIGGER" V1MatchKindSIGNAL V1MatchKind = "SIGNAL" )
func (*V1MatchKind) Scan ¶
func (e *V1MatchKind) Scan(src interface{}) error
type V1QueueItem ¶
type V1QueueItem struct { ID int64 `json:"id"` TenantID pgtype.UUID `json:"tenant_id"` Queue string `json:"queue"` TaskID int64 `json:"task_id"` TaskInsertedAt pgtype.Timestamptz `json:"task_inserted_at"` ExternalID pgtype.UUID `json:"external_id"` ActionID string `json:"action_id"` StepID pgtype.UUID `json:"step_id"` WorkflowID pgtype.UUID `json:"workflow_id"` WorkflowRunID pgtype.UUID `json:"workflow_run_id"` ScheduleTimeoutAt pgtype.Timestamp `json:"schedule_timeout_at"` StepTimeout pgtype.Text `json:"step_timeout"` Priority int32 `json:"priority"` Sticky V1StickyStrategy `json:"sticky"` DesiredWorkerID pgtype.UUID `json:"desired_worker_id"` RetryCount int32 `json:"retry_count"` }
type V1RateLimitedQueueItems ¶ added in v0.71.2
type V1RateLimitedQueueItems struct { RequeueAfter pgtype.Timestamptz `json:"requeue_after"` TenantID pgtype.UUID `json:"tenant_id"` Queue string `json:"queue"` TaskID int64 `json:"task_id"` TaskInsertedAt pgtype.Timestamptz `json:"task_inserted_at"` ExternalID pgtype.UUID `json:"external_id"` ActionID string `json:"action_id"` StepID pgtype.UUID `json:"step_id"` WorkflowID pgtype.UUID `json:"workflow_id"` WorkflowRunID pgtype.UUID `json:"workflow_run_id"` ScheduleTimeoutAt pgtype.Timestamp `json:"schedule_timeout_at"` StepTimeout pgtype.Text `json:"step_timeout"` Priority int32 `json:"priority"` Sticky V1StickyStrategy `json:"sticky"` DesiredWorkerID pgtype.UUID `json:"desired_worker_id"` RetryCount int32 `json:"retry_count"` }
type V1ReadableStatusOlap ¶
type V1ReadableStatusOlap string
const ( V1ReadableStatusOlapQUEUED V1ReadableStatusOlap = "QUEUED" V1ReadableStatusOlapRUNNING V1ReadableStatusOlap = "RUNNING" V1ReadableStatusOlapCANCELLED V1ReadableStatusOlap = "CANCELLED" V1ReadableStatusOlapFAILED V1ReadableStatusOlap = "FAILED" V1ReadableStatusOlapCOMPLETED V1ReadableStatusOlap = "COMPLETED" )
func (*V1ReadableStatusOlap) Scan ¶
func (e *V1ReadableStatusOlap) Scan(src interface{}) error
type V1RetryQueueItem ¶
type V1RetryQueueItem struct { TaskID int64 `json:"task_id"` TaskInsertedAt pgtype.Timestamptz `json:"task_inserted_at"` TaskRetryCount int32 `json:"task_retry_count"` RetryAfter pgtype.Timestamptz `json:"retry_after"` TenantID pgtype.UUID `json:"tenant_id"` }
type V1RunsOlap ¶
type V1RunsOlap struct { TenantID pgtype.UUID `json:"tenant_id"` ID int64 `json:"id"` InsertedAt pgtype.Timestamptz `json:"inserted_at"` ExternalID pgtype.UUID `json:"external_id"` ReadableStatus V1ReadableStatusOlap `json:"readable_status"` Kind V1RunKind `json:"kind"` WorkflowID pgtype.UUID `json:"workflow_id"` WorkflowVersionID pgtype.UUID `json:"workflow_version_id"` AdditionalMetadata []byte `json:"additional_metadata"` ParentTaskExternalID pgtype.UUID `json:"parent_task_external_id"` }
type V1StatusKind ¶
type V1StatusKind string
const ( V1StatusKindTASK V1StatusKind = "TASK" V1StatusKindDAG V1StatusKind = "DAG" )
func (*V1StatusKind) Scan ¶
func (e *V1StatusKind) Scan(src interface{}) error
type V1StatusesOlap ¶
type V1StatusesOlap struct { ExternalID pgtype.UUID `json:"external_id"` InsertedAt pgtype.Timestamptz `json:"inserted_at"` TenantID pgtype.UUID `json:"tenant_id"` WorkflowID pgtype.UUID `json:"workflow_id"` Kind V1RunKind `json:"kind"` ReadableStatus V1ReadableStatusOlap `json:"readable_status"` }
type V1StepConcurrency ¶
type V1StepConcurrency struct { ID int64 `json:"id"` ParentStrategyID pgtype.Int8 `json:"parent_strategy_id"` WorkflowID pgtype.UUID `json:"workflow_id"` WorkflowVersionID pgtype.UUID `json:"workflow_version_id"` StepID pgtype.UUID `json:"step_id"` IsActive bool `json:"is_active"` Strategy V1ConcurrencyStrategy `json:"strategy"` Expression string `json:"expression"` TenantID pgtype.UUID `json:"tenant_id"` MaxConcurrency int32 `json:"max_concurrency"` }
type V1StepMatchCondition ¶
type V1StepMatchCondition struct { ID int64 `json:"id"` TenantID pgtype.UUID `json:"tenant_id"` StepID pgtype.UUID `json:"step_id"` ReadableDataKey string `json:"readable_data_key"` Action V1MatchConditionAction `json:"action"` OrGroupID pgtype.UUID `json:"or_group_id"` Expression pgtype.Text `json:"expression"` Kind V1StepMatchConditionKind `json:"kind"` SleepDuration pgtype.Text `json:"sleep_duration"` EventKey pgtype.Text `json:"event_key"` ParentReadableID pgtype.Text `json:"parent_readable_id"` }
type V1StepMatchConditionKind ¶
type V1StepMatchConditionKind string
const ( V1StepMatchConditionKindPARENTOVERRIDE V1StepMatchConditionKind = "PARENT_OVERRIDE" V1StepMatchConditionKindUSEREVENT V1StepMatchConditionKind = "USER_EVENT" V1StepMatchConditionKindSLEEP V1StepMatchConditionKind = "SLEEP" )
func (*V1StepMatchConditionKind) Scan ¶
func (e *V1StepMatchConditionKind) Scan(src interface{}) error
type V1StickyStrategy ¶
type V1StickyStrategy string
const ( V1StickyStrategyNONE V1StickyStrategy = "NONE" V1StickyStrategySOFT V1StickyStrategy = "SOFT" V1StickyStrategyHARD V1StickyStrategy = "HARD" )
func (*V1StickyStrategy) Scan ¶
func (e *V1StickyStrategy) Scan(src interface{}) error
type V1StickyStrategyOlap ¶
type V1StickyStrategyOlap string
const ( V1StickyStrategyOlapNONE V1StickyStrategyOlap = "NONE" V1StickyStrategyOlapSOFT V1StickyStrategyOlap = "SOFT" V1StickyStrategyOlapHARD V1StickyStrategyOlap = "HARD" )
func (*V1StickyStrategyOlap) Scan ¶
func (e *V1StickyStrategyOlap) Scan(src interface{}) error
type V1Task ¶
type V1Task struct { ID int64 `json:"id"` InsertedAt pgtype.Timestamptz `json:"inserted_at"` TenantID pgtype.UUID `json:"tenant_id"` Queue string `json:"queue"` ActionID string `json:"action_id"` StepID pgtype.UUID `json:"step_id"` StepReadableID string `json:"step_readable_id"` WorkflowID pgtype.UUID `json:"workflow_id"` WorkflowVersionID pgtype.UUID `json:"workflow_version_id"` WorkflowRunID pgtype.UUID `json:"workflow_run_id"` ScheduleTimeout string `json:"schedule_timeout"` StepTimeout pgtype.Text `json:"step_timeout"` Priority pgtype.Int4 `json:"priority"` Sticky V1StickyStrategy `json:"sticky"` DesiredWorkerID pgtype.UUID `json:"desired_worker_id"` ExternalID pgtype.UUID `json:"external_id"` DisplayName string `json:"display_name"` Input []byte `json:"input"` RetryCount int32 `json:"retry_count"` InternalRetryCount int32 `json:"internal_retry_count"` AppRetryCount int32 `json:"app_retry_count"` StepIndex int64 `json:"step_index"` AdditionalMetadata []byte `json:"additional_metadata"` DagID pgtype.Int8 `json:"dag_id"` DagInsertedAt pgtype.Timestamptz `json:"dag_inserted_at"` ParentTaskExternalID pgtype.UUID `json:"parent_task_external_id"` ParentTaskID pgtype.Int8 `json:"parent_task_id"` ParentTaskInsertedAt pgtype.Timestamptz `json:"parent_task_inserted_at"` ChildIndex pgtype.Int8 `json:"child_index"` ChildKey pgtype.Text `json:"child_key"` InitialState V1TaskInitialState `json:"initial_state"` InitialStateReason pgtype.Text `json:"initial_state_reason"` ConcurrencyParentStrategyIds []pgtype.Int8 `json:"concurrency_parent_strategy_ids"` ConcurrencyStrategyIds []int64 `json:"concurrency_strategy_ids"` ConcurrencyKeys []string `json:"concurrency_keys"` RetryBackoffFactor pgtype.Float8 `json:"retry_backoff_factor"` RetryMaxBackoff pgtype.Int4 `json:"retry_max_backoff"` }
type V1TaskEvent ¶
type V1TaskEvent struct { ID int64 `json:"id"` TenantID pgtype.UUID `json:"tenant_id"` TaskID int64 `json:"task_id"` TaskInsertedAt pgtype.Timestamptz `json:"task_inserted_at"` RetryCount int32 `json:"retry_count"` EventType V1TaskEventType `json:"event_type"` EventKey pgtype.Text `json:"event_key"` CreatedAt pgtype.Timestamp `json:"created_at"` Data []byte `json:"data"` }
type V1TaskEventType ¶
type V1TaskEventType string
const ( V1TaskEventTypeCOMPLETED V1TaskEventType = "COMPLETED" V1TaskEventTypeFAILED V1TaskEventType = "FAILED" V1TaskEventTypeCANCELLED V1TaskEventType = "CANCELLED" V1TaskEventTypeSIGNALCREATED V1TaskEventType = "SIGNAL_CREATED" V1TaskEventTypeSIGNALCOMPLETED V1TaskEventType = "SIGNAL_COMPLETED" )
func (*V1TaskEventType) Scan ¶
func (e *V1TaskEventType) Scan(src interface{}) error
type V1TaskEventsOlap ¶
type V1TaskEventsOlap struct { TenantID pgtype.UUID `json:"tenant_id"` ID int64 `json:"id"` InsertedAt pgtype.Timestamptz `json:"inserted_at"` TaskID int64 `json:"task_id"` TaskInsertedAt pgtype.Timestamptz `json:"task_inserted_at"` EventType V1EventTypeOlap `json:"event_type"` WorkflowID pgtype.UUID `json:"workflow_id"` EventTimestamp pgtype.Timestamptz `json:"event_timestamp"` ReadableStatus V1ReadableStatusOlap `json:"readable_status"` RetryCount int32 `json:"retry_count"` ErrorMessage pgtype.Text `json:"error_message"` Output []byte `json:"output"` WorkerID pgtype.UUID `json:"worker_id"` AdditionalEventData pgtype.Text `json:"additional__event_data"` AdditionalEventMessage pgtype.Text `json:"additional__event_message"` }
type V1TaskEventsOlapTmp ¶
type V1TaskEventsOlapTmp struct { TenantID pgtype.UUID `json:"tenant_id"` RequeueAfter pgtype.Timestamptz `json:"requeue_after"` RequeueRetries int32 `json:"requeue_retries"` ID int64 `json:"id"` TaskID int64 `json:"task_id"` TaskInsertedAt pgtype.Timestamptz `json:"task_inserted_at"` EventType V1EventTypeOlap `json:"event_type"` ReadableStatus V1ReadableStatusOlap `json:"readable_status"` RetryCount int32 `json:"retry_count"` WorkerID pgtype.UUID `json:"worker_id"` }
type V1TaskExpressionEval ¶
type V1TaskExpressionEval struct { Key string `json:"key"` TaskID int64 `json:"task_id"` TaskInsertedAt pgtype.Timestamptz `json:"task_inserted_at"` ValueStr pgtype.Text `json:"value_str"` ValueInt pgtype.Int4 `json:"value_int"` Kind StepExpressionKind `json:"kind"` }
type V1TaskInitialState ¶
type V1TaskInitialState string
const ( V1TaskInitialStateQUEUED V1TaskInitialState = "QUEUED" V1TaskInitialStateCANCELLED V1TaskInitialState = "CANCELLED" V1TaskInitialStateSKIPPED V1TaskInitialState = "SKIPPED" V1TaskInitialStateFAILED V1TaskInitialState = "FAILED" )
func (*V1TaskInitialState) Scan ¶
func (e *V1TaskInitialState) Scan(src interface{}) error
type V1TaskRuntime ¶
type V1TaskStatusUpdatesTmp ¶
type V1TaskStatusUpdatesTmp struct { TenantID pgtype.UUID `json:"tenant_id"` RequeueAfter pgtype.Timestamptz `json:"requeue_after"` RequeueRetries int32 `json:"requeue_retries"` ID int64 `json:"id"` DagID int64 `json:"dag_id"` DagInsertedAt pgtype.Timestamptz `json:"dag_inserted_at"` }
type V1TasksOlap ¶
type V1TasksOlap struct { TenantID pgtype.UUID `json:"tenant_id"` ID int64 `json:"id"` InsertedAt pgtype.Timestamptz `json:"inserted_at"` ExternalID pgtype.UUID `json:"external_id"` Queue string `json:"queue"` ActionID string `json:"action_id"` StepID pgtype.UUID `json:"step_id"` WorkflowID pgtype.UUID `json:"workflow_id"` WorkflowVersionID pgtype.UUID `json:"workflow_version_id"` WorkflowRunID pgtype.UUID `json:"workflow_run_id"` ScheduleTimeout string `json:"schedule_timeout"` StepTimeout pgtype.Text `json:"step_timeout"` Priority pgtype.Int4 `json:"priority"` Sticky V1StickyStrategyOlap `json:"sticky"` DesiredWorkerID pgtype.UUID `json:"desired_worker_id"` DisplayName string `json:"display_name"` Input []byte `json:"input"` AdditionalMetadata []byte `json:"additional_metadata"` ReadableStatus V1ReadableStatusOlap `json:"readable_status"` LatestRetryCount int32 `json:"latest_retry_count"` LatestWorkerID pgtype.UUID `json:"latest_worker_id"` DagID pgtype.Int8 `json:"dag_id"` DagInsertedAt pgtype.Timestamptz `json:"dag_inserted_at"` ParentTaskExternalID pgtype.UUID `json:"parent_task_external_id"` }
type V1WorkflowConcurrency ¶
type V1WorkflowConcurrency struct { ID int64 `json:"id"` WorkflowID pgtype.UUID `json:"workflow_id"` WorkflowVersionID pgtype.UUID `json:"workflow_version_id"` IsActive bool `json:"is_active"` Strategy V1ConcurrencyStrategy `json:"strategy"` ChildStrategyIds []int64 `json:"child_strategy_ids"` Expression string `json:"expression"` TenantID pgtype.UUID `json:"tenant_id"` MaxConcurrency int32 `json:"max_concurrency"` }
type V1WorkflowConcurrencySlot ¶
type V1WorkflowConcurrencySlot struct { SortID int64 `json:"sort_id"` TenantID pgtype.UUID `json:"tenant_id"` WorkflowID pgtype.UUID `json:"workflow_id"` WorkflowVersionID pgtype.UUID `json:"workflow_version_id"` WorkflowRunID pgtype.UUID `json:"workflow_run_id"` StrategyID int64 `json:"strategy_id"` CompletedChildStrategyIds []int64 `json:"completed_child_strategy_ids"` ChildStrategyIds []int64 `json:"child_strategy_ids"` Priority int32 `json:"priority"` Key string `json:"key"` IsFilled bool `json:"is_filled"` }
type VcsProvider ¶
type VcsProvider string
const (
VcsProviderGITHUB VcsProvider = "GITHUB"
)
func (*VcsProvider) Scan ¶
func (e *VcsProvider) Scan(src interface{}) error
type WebhookWorker ¶
type WebhookWorker struct { ID pgtype.UUID `json:"id"` CreatedAt pgtype.Timestamp `json:"createdAt"` UpdatedAt pgtype.Timestamp `json:"updatedAt"` Name string `json:"name"` Secret string `json:"secret"` Url string `json:"url"` TokenValue pgtype.Text `json:"tokenValue"` Deleted bool `json:"deleted"` TokenId pgtype.UUID `json:"tokenId"` TenantId pgtype.UUID `json:"tenantId"` }
type WebhookWorkerRequest ¶
type WebhookWorkerRequestMethod ¶
type WebhookWorkerRequestMethod string
const ( WebhookWorkerRequestMethodGET WebhookWorkerRequestMethod = "GET" WebhookWorkerRequestMethodPOST WebhookWorkerRequestMethod = "POST" WebhookWorkerRequestMethodPUT WebhookWorkerRequestMethod = "PUT" )
func (*WebhookWorkerRequestMethod) Scan ¶
func (e *WebhookWorkerRequestMethod) Scan(src interface{}) error
type WebhookWorkerWorkflow ¶
type Worker ¶
type Worker struct { ID pgtype.UUID `json:"id"` CreatedAt pgtype.Timestamp `json:"createdAt"` UpdatedAt pgtype.Timestamp `json:"updatedAt"` DeletedAt pgtype.Timestamp `json:"deletedAt"` TenantId pgtype.UUID `json:"tenantId"` LastHeartbeatAt pgtype.Timestamp `json:"lastHeartbeatAt"` Name string `json:"name"` DispatcherId pgtype.UUID `json:"dispatcherId"` MaxRuns int32 `json:"maxRuns"` IsActive bool `json:"isActive"` LastListenerEstablished pgtype.Timestamp `json:"lastListenerEstablished"` IsPaused bool `json:"isPaused"` Type WorkerType `json:"type"` WebhookId pgtype.UUID `json:"webhookId"` Language NullWorkerSDKS `json:"language"` LanguageVersion pgtype.Text `json:"languageVersion"` Os pgtype.Text `json:"os"` RuntimeExtra pgtype.Text `json:"runtimeExtra"` SdkVersion pgtype.Text `json:"sdkVersion"` }
type WorkerAssignEvent ¶
type WorkerLabel ¶
type WorkerLabelComparator ¶
type WorkerLabelComparator string
const ( WorkerLabelComparatorEQUAL WorkerLabelComparator = "EQUAL" WorkerLabelComparatorNOTEQUAL WorkerLabelComparator = "NOT_EQUAL" WorkerLabelComparatorGREATERTHAN WorkerLabelComparator = "GREATER_THAN" WorkerLabelComparatorGREATERTHANOREQUAL WorkerLabelComparator = "GREATER_THAN_OR_EQUAL" WorkerLabelComparatorLESSTHAN WorkerLabelComparator = "LESS_THAN" WorkerLabelComparatorLESSTHANOREQUAL WorkerLabelComparator = "LESS_THAN_OR_EQUAL" )
func (*WorkerLabelComparator) Scan ¶
func (e *WorkerLabelComparator) Scan(src interface{}) error
type WorkerSDKS ¶
type WorkerSDKS string
const ( WorkerSDKSUNKNOWN WorkerSDKS = "UNKNOWN" WorkerSDKSGO WorkerSDKS = "GO" WorkerSDKSPYTHON WorkerSDKS = "PYTHON" WorkerSDKSTYPESCRIPT WorkerSDKS = "TYPESCRIPT" )
func (*WorkerSDKS) Scan ¶
func (e *WorkerSDKS) Scan(src interface{}) error
type WorkerType ¶
type WorkerType string
const ( WorkerTypeWEBHOOK WorkerType = "WEBHOOK" WorkerTypeMANAGED WorkerType = "MANAGED" WorkerTypeSELFHOSTED WorkerType = "SELFHOSTED" )
func (*WorkerType) Scan ¶
func (e *WorkerType) Scan(src interface{}) error
type Workflow ¶
type Workflow struct { ID pgtype.UUID `json:"id"` CreatedAt pgtype.Timestamp `json:"createdAt"` UpdatedAt pgtype.Timestamp `json:"updatedAt"` DeletedAt pgtype.Timestamp `json:"deletedAt"` TenantId pgtype.UUID `json:"tenantId"` Name string `json:"name"` Description pgtype.Text `json:"description"` IsPaused pgtype.Bool `json:"isPaused"` }
type WorkflowConcurrency ¶
type WorkflowConcurrency struct { ID pgtype.UUID `json:"id"` CreatedAt pgtype.Timestamp `json:"createdAt"` UpdatedAt pgtype.Timestamp `json:"updatedAt"` WorkflowVersionId pgtype.UUID `json:"workflowVersionId"` GetConcurrencyGroupId pgtype.UUID `json:"getConcurrencyGroupId"` MaxRuns int32 `json:"maxRuns"` LimitStrategy ConcurrencyLimitStrategy `json:"limitStrategy"` ConcurrencyGroupExpression pgtype.Text `json:"concurrencyGroupExpression"` }
type WorkflowKind ¶
type WorkflowKind string
const ( WorkflowKindFUNCTION WorkflowKind = "FUNCTION" WorkflowKindDURABLE WorkflowKind = "DURABLE" WorkflowKindDAG WorkflowKind = "DAG" )
func (*WorkflowKind) Scan ¶
func (e *WorkflowKind) Scan(src interface{}) error
type WorkflowRun ¶
type WorkflowRun struct { CreatedAt pgtype.Timestamp `json:"createdAt"` UpdatedAt pgtype.Timestamp `json:"updatedAt"` DeletedAt pgtype.Timestamp `json:"deletedAt"` TenantId pgtype.UUID `json:"tenantId"` WorkflowVersionId pgtype.UUID `json:"workflowVersionId"` Status WorkflowRunStatus `json:"status"` Error pgtype.Text `json:"error"` StartedAt pgtype.Timestamp `json:"startedAt"` FinishedAt pgtype.Timestamp `json:"finishedAt"` ConcurrencyGroupId pgtype.Text `json:"concurrencyGroupId"` DisplayName pgtype.Text `json:"displayName"` ID pgtype.UUID `json:"id"` ChildIndex pgtype.Int4 `json:"childIndex"` ChildKey pgtype.Text `json:"childKey"` ParentId pgtype.UUID `json:"parentId"` ParentStepRunId pgtype.UUID `json:"parentStepRunId"` AdditionalMetadata []byte `json:"additionalMetadata"` Duration pgtype.Int8 `json:"duration"` Priority pgtype.Int4 `json:"priority"` InsertOrder pgtype.Int4 `json:"insertOrder"` }
type WorkflowRunDedupe ¶
type WorkflowRunDedupe struct { ID int64 `json:"id"` CreatedAt pgtype.Timestamp `json:"createdAt"` UpdatedAt pgtype.Timestamp `json:"updatedAt"` TenantId pgtype.UUID `json:"tenantId"` WorkflowId pgtype.UUID `json:"workflowId"` WorkflowRunId pgtype.UUID `json:"workflowRunId"` Value string `json:"value"` }
type WorkflowRunStatus ¶
type WorkflowRunStatus string
const ( WorkflowRunStatusPENDING WorkflowRunStatus = "PENDING" WorkflowRunStatusRUNNING WorkflowRunStatus = "RUNNING" WorkflowRunStatusSUCCEEDED WorkflowRunStatus = "SUCCEEDED" WorkflowRunStatusFAILED WorkflowRunStatus = "FAILED" WorkflowRunStatusQUEUED WorkflowRunStatus = "QUEUED" WorkflowRunStatusCANCELLING WorkflowRunStatus = "CANCELLING" WorkflowRunStatusCANCELLED WorkflowRunStatus = "CANCELLED" WorkflowRunStatusBACKOFF WorkflowRunStatus = "BACKOFF" )
func (*WorkflowRunStatus) Scan ¶
func (e *WorkflowRunStatus) Scan(src interface{}) error
type WorkflowRunStickyState ¶
type WorkflowRunStickyState struct { ID int64 `json:"id"` CreatedAt pgtype.Timestamp `json:"createdAt"` UpdatedAt pgtype.Timestamp `json:"updatedAt"` TenantId pgtype.UUID `json:"tenantId"` WorkflowRunId pgtype.UUID `json:"workflowRunId"` DesiredWorkerId pgtype.UUID `json:"desiredWorkerId"` Strategy StickyStrategy `json:"strategy"` }
type WorkflowRunTriggeredBy ¶
type WorkflowRunTriggeredBy struct { ID pgtype.UUID `json:"id"` CreatedAt pgtype.Timestamp `json:"createdAt"` UpdatedAt pgtype.Timestamp `json:"updatedAt"` DeletedAt pgtype.Timestamp `json:"deletedAt"` TenantId pgtype.UUID `json:"tenantId"` EventId pgtype.UUID `json:"eventId"` CronParentId pgtype.UUID `json:"cronParentId"` CronSchedule pgtype.Text `json:"cronSchedule"` ScheduledId pgtype.UUID `json:"scheduledId"` Input []byte `json:"input"` ParentId pgtype.UUID `json:"parentId"` CronName pgtype.Text `json:"cronName"` }
type WorkflowTag ¶
type WorkflowToWorkflowTag ¶
type WorkflowTriggerCronRef ¶
type WorkflowTriggerCronRef struct { ParentId pgtype.UUID `json:"parentId"` Cron string `json:"cron"` TickerId pgtype.UUID `json:"tickerId"` Input []byte `json:"input"` Enabled bool `json:"enabled"` AdditionalMetadata []byte `json:"additionalMetadata"` CreatedAt pgtype.Timestamp `json:"createdAt"` DeletedAt pgtype.Timestamp `json:"deletedAt"` UpdatedAt pgtype.Timestamp `json:"updatedAt"` Name pgtype.Text `json:"name"` ID pgtype.UUID `json:"id"` Method WorkflowTriggerCronRefMethods `json:"method"` Priority int32 `json:"priority"` }
type WorkflowTriggerCronRefMethods ¶
type WorkflowTriggerCronRefMethods string
const ( WorkflowTriggerCronRefMethodsDEFAULT WorkflowTriggerCronRefMethods = "DEFAULT" WorkflowTriggerCronRefMethodsAPI WorkflowTriggerCronRefMethods = "API" )
func (*WorkflowTriggerCronRefMethods) Scan ¶
func (e *WorkflowTriggerCronRefMethods) Scan(src interface{}) error
type WorkflowTriggerEventRef ¶
type WorkflowTriggerScheduledRef ¶
type WorkflowTriggerScheduledRef struct { ID pgtype.UUID `json:"id"` ParentId pgtype.UUID `json:"parentId"` TriggerAt pgtype.Timestamp `json:"triggerAt"` TickerId pgtype.UUID `json:"tickerId"` Input []byte `json:"input"` ChildIndex pgtype.Int4 `json:"childIndex"` ChildKey pgtype.Text `json:"childKey"` ParentStepRunId pgtype.UUID `json:"parentStepRunId"` ParentWorkflowRunId pgtype.UUID `json:"parentWorkflowRunId"` AdditionalMetadata []byte `json:"additionalMetadata"` CreatedAt pgtype.Timestamp `json:"createdAt"` DeletedAt pgtype.Timestamp `json:"deletedAt"` UpdatedAt pgtype.Timestamp `json:"updatedAt"` Method WorkflowTriggerScheduledRefMethods `json:"method"` Priority int32 `json:"priority"` }
type WorkflowTriggerScheduledRefMethods ¶
type WorkflowTriggerScheduledRefMethods string
const ( WorkflowTriggerScheduledRefMethodsDEFAULT WorkflowTriggerScheduledRefMethods = "DEFAULT" WorkflowTriggerScheduledRefMethodsAPI WorkflowTriggerScheduledRefMethods = "API" )
func (*WorkflowTriggerScheduledRefMethods) Scan ¶
func (e *WorkflowTriggerScheduledRefMethods) Scan(src interface{}) error
type WorkflowTriggers ¶
type WorkflowVersion ¶
type WorkflowVersion struct { ID pgtype.UUID `json:"id"` CreatedAt pgtype.Timestamp `json:"createdAt"` UpdatedAt pgtype.Timestamp `json:"updatedAt"` DeletedAt pgtype.Timestamp `json:"deletedAt"` Version pgtype.Text `json:"version"` Order int64 `json:"order"` WorkflowId pgtype.UUID `json:"workflowId"` Checksum string `json:"checksum"` ScheduleTimeout string `json:"scheduleTimeout"` OnFailureJobId pgtype.UUID `json:"onFailureJobId"` Sticky NullStickyStrategy `json:"sticky"` Kind WorkflowKind `json:"kind"` DefaultPriority pgtype.Int4 `json:"defaultPriority"` CreateWorkflowVersionOpts []byte `json:"createWorkflowVersionOpts"` }
Source Files
¶
- concurrency-overwrite.sql.go
- concurrency.sql.go
- copyfrom.go
- dags.sql.go
- db.go
- filters.sql.go
- lease.sql.go
- log_line.sql.go
- matches-overwrite.sql.go
- matches.sql.go
- models.go
- olap-overwrite.sql.go
- olap.sql.go
- queue.sql.go
- rate_limits.sql.go
- sleep.sql.go
- tasks-overwrite.go
- tasks.sql.go
- ticker.sql.go
- triggers.sql.go
- webhooks.sql.go
- workers.sql.go
- workflows.sql.go