Documentation
¶
Index ¶
- type APIToken
- type AcquireOrExtendLeasesParams
- type Action
- type ActionToWorker
- type AddMessageParams
- type AddStepParentsParams
- type AddWorkflowTagParams
- type BulkAddMessageParams
- type BulkDeleteScheduledWorkflowsParams
- type BulkUpdateRateLimitsParams
- type BulkUpdateScheduledWorkflowsParams
- type CheckWorkerParams
- type CleanupMessageQueueItemsParams
- type ConcurrencyLimitStrategy
- type ControllerPartition
- type CountCronWorkflowsParams
- type CountRateLimitsParams
- type CountRoundRobinGroupKeysParams
- type CountScheduledWorkflowsParams
- type CountWorkflowRunsRoundRobinParams
- type CountWorkflowsParams
- type CreateAPITokenParams
- type CreateJobParams
- type CreateSNSIntegrationParams
- type CreateSchedulesParams
- type CreateStepExpressionsParams
- type CreateStepParams
- type CreateStepRateLimitParams
- type CreateStepRunExpressionEvalIntsParams
- type CreateStepRunExpressionEvalStrsParams
- type CreateTenantAlertGroupParams
- type CreateTenantInviteParams
- type CreateTenantMemberParams
- type CreateTenantParams
- type CreateUserOAuthParams
- type CreateUserParams
- type CreateUserPasswordParams
- type CreateUserSessionParams
- type CreateWorkerParams
- type CreateWorkflowConcurrencyParams
- type CreateWorkflowParams
- type CreateWorkflowRunTriggeredByParams
- type CreateWorkflowRunTriggeredBysParams
- type CreateWorkflowTriggerCronRefForWorkflowParams
- type CreateWorkflowTriggerCronRefParams
- type CreateWorkflowTriggerEventRefParams
- type CreateWorkflowTriggerScheduledRefForWorkflowParams
- type CreateWorkflowTriggerScheduledRefParams
- type CreateWorkflowTriggersParams
- type CreateWorkflowVersionParams
- type DBTX
- type DeleteAPITokenParams
- type DeleteOldWorkerAssignEventsParams
- type DeleteOldWorkersParams
- type DeleteSNSIntegrationParams
- type DeleteSlackWebhookParams
- type DeleteTenantAlertGroupParams
- type Dispatcher
- type Event
- type EventKey
- type GetDesiredLabelsRow
- type GetExistingInviteParams
- type GetGroupKeyRun
- type GetLatestWorkflowVersionForWorkflowsParams
- type GetLeasesToAcquireParams
- type GetMinMaxExpiredMessageQueueItemsRow
- type GetSNSIntegrationParams
- type GetScheduledWorkflowMetaByIdsParams
- type GetScheduledWorkflowMetaByIdsRow
- type GetStepsForJobsParams
- type GetStepsForJobsRow
- type GetTenantMemberByEmailParams
- type GetTenantMemberByUserIDParams
- type GetTenantResourceLimitParams
- type GetTenantResourceLimitRow
- type GetTenantTotalQueueMetricsParams
- type GetTenantTotalQueueMetricsRow
- type GetTenantWorkflowQueueMetricsParams
- type GetTenantWorkflowQueueMetricsRow
- type GetWorkerActionsByWorkerIdParams
- type GetWorkerActionsByWorkerIdRow
- type GetWorkerByIdRow
- type GetWorkerByWebhookIdParams
- type GetWorkerDispatcherActionsParams
- type GetWorkerDispatcherActionsRow
- type GetWorkerForEngineParams
- type GetWorkerForEngineRow
- type GetWorkerLabelsRow
- type GetWorkerWorkflowsByWorkerIdParams
- type GetWorkflowByIdRow
- type GetWorkflowByNameParams
- type GetWorkflowRunShapeRow
- type GetWorkflowRunTriggerParams
- type GetWorkflowVersionByIdRow
- type GetWorkflowVersionForEngineParams
- type GetWorkflowVersionForEngineRow
- type GetWorkflowWorkerCountParams
- type GetWorkflowWorkerCountRow
- type GetWorkflowsByNamesParams
- type HandleWorkflowUnpausedParams
- type HasActiveWorkersForActionIdParams
- type InternalQueue
- type InternalQueueItem
- type InviteLinkStatus
- type Job
- type JobKind
- type JobRun
- type JobRunLookupData
- type JobRunStatus
- type Lease
- type LeaseKind
- type LimitResource
- type LinkActionsToWorkerParams
- type LinkOnFailureJobParams
- type LinkServicesToWorkerParams
- type ListActiveDispatchersRow
- type ListActiveTickersRow
- type ListCronWorkflowsParams
- type ListCronWorkflowsRow
- type ListDispatcherIdsForWorkersParams
- type ListDispatcherIdsForWorkersRow
- type ListDispatchersRow
- type ListInvitesByTenantIdParams
- type ListManyWorkerLabelsRow
- type ListNewlyStaleTickersRow
- type ListRateLimitsForStepsParams
- type ListRateLimitsForTenantNoMutateParams
- type ListRateLimitsForTenantNoMutateRow
- type ListRateLimitsForTenantWithMutateRow
- type ListRecentAssignedEventsForWorkerParams
- type ListRecentAssignedEventsForWorkerRow
- type ListScheduledWorkflowsParams
- type ListScheduledWorkflowsRow
- type ListSemaphoreSlotsWithStateForWorkerParams
- type ListSemaphoreSlotsWithStateForWorkerRow
- type ListStaleDispatchersRow
- type ListStepsForJobRow
- type ListTenantInvitesByEmailRow
- type ListTenantsByControllerPartitionIdParams
- type ListTenantsBySchedulerPartitionIdParams
- type ListTenantsByTenantWorkerPartitionIdParams
- type ListTickersParams
- type ListWorkerLabelsRow
- type ListWorkersWithSlotCountParams
- type ListWorkersWithSlotCountRow
- type ListWorkflowsForEventParams
- type ListWorkflowsLatestRunsParams
- type ListWorkflowsLatestRunsRow
- type ListWorkflowsParams
- type ListWorkflowsRow
- type LogLine
- type LogLineLevel
- type MessageQueue
- type MessageQueueItem
- type MessageQueueItemStatus
- type MeterTenantResourceParams
- type MoveCronTriggerToNewWorkflowTriggersParams
- 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 NullTenantEnvironment
- type NullTenantMajorEngineVersion
- type NullTenantMemberRole
- type NullTenantResourceLimitAlertType
- type NullVcsProvider
- type NullWebhookWorkerRequestMethod
- type NullWorkerLabelComparator
- type NullWorkerSDKS
- type NullWorkerType
- type NullWorkflowKind
- type NullWorkflowRunStatus
- type NullWorkflowTriggerCronRefMethods
- type NullWorkflowTriggerScheduledRefMethods
- type PollCronSchedulesRow
- type PollExpiringTokensRow
- type PollScheduledWorkflowsRow
- type PollTenantAlertsRow
- type PollUnresolvedFailedStepRunsRow
- type PopulateTenantMembersRow
- type Queries
- func (q *Queries) AcquireOrExtendLeases(ctx context.Context, db DBTX, arg AcquireOrExtendLeasesParams) ([]*Lease, error)
- func (q *Queries) AddMessage(ctx context.Context, db DBTX, arg AddMessageParams) error
- func (q *Queries) AddStepParents(ctx context.Context, db DBTX, arg AddStepParentsParams) error
- func (q *Queries) AddWorkflowTag(ctx context.Context, db DBTX, arg AddWorkflowTagParams) error
- func (q *Queries) BulkAckMessages(ctx context.Context, db DBTX, ids []int64) error
- func (q *Queries) BulkAddMessage(ctx context.Context, db DBTX, arg []BulkAddMessageParams) (int64, error)
- func (q *Queries) BulkDeleteScheduledWorkflows(ctx context.Context, db DBTX, arg BulkDeleteScheduledWorkflowsParams) ([]pgtype.UUID, error)
- func (q *Queries) BulkUpdateRateLimits(ctx context.Context, db DBTX, arg BulkUpdateRateLimitsParams) ([]*RateLimit, error)
- func (q *Queries) BulkUpdateScheduledWorkflows(ctx context.Context, db DBTX, arg BulkUpdateScheduledWorkflowsParams) ([]pgtype.UUID, error)
- func (q *Queries) CheckWorker(ctx context.Context, db DBTX, arg CheckWorkerParams) (pgtype.UUID, error)
- func (q *Queries) CleanupMessageQueue(ctx context.Context, db DBTX) error
- func (q *Queries) CleanupMessageQueueItems(ctx context.Context, db DBTX, arg CleanupMessageQueueItemsParams) error
- func (q *Queries) ControllerPartitionHeartbeat(ctx context.Context, db DBTX, controllerpartitionid string) (*ControllerPartition, error)
- func (q *Queries) CountActiveInvites(ctx context.Context, db DBTX, tenantid pgtype.UUID) (int64, error)
- func (q *Queries) CountCronWorkflows(ctx context.Context, db DBTX, arg CountCronWorkflowsParams) (int64, error)
- func (q *Queries) CountRateLimits(ctx context.Context, db DBTX, arg CountRateLimitsParams) (int64, error)
- func (q *Queries) CountRoundRobinGroupKeys(ctx context.Context, db DBTX, arg CountRoundRobinGroupKeysParams) (int64, error)
- func (q *Queries) CountScheduledWorkflows(ctx context.Context, db DBTX, arg CountScheduledWorkflowsParams) (int64, error)
- func (q *Queries) CountTenantWorkerSlots(ctx context.Context, db DBTX, tenantid pgtype.UUID) (int32, error)
- func (q *Queries) CountTenantWorkers(ctx context.Context, db DBTX, tenantid pgtype.UUID) (int64, error)
- func (q *Queries) CountWorkflowRunsRoundRobin(ctx context.Context, db DBTX, arg CountWorkflowRunsRoundRobinParams) (int64, error)
- func (q *Queries) CountWorkflows(ctx context.Context, db DBTX, arg CountWorkflowsParams) (int64, error)
- func (q *Queries) CreateAPIToken(ctx context.Context, db DBTX, arg CreateAPITokenParams) (*APIToken, error)
- func (q *Queries) CreateControllerPartition(ctx context.Context, db DBTX, name pgtype.Text) (*ControllerPartition, error)
- func (q *Queries) CreateDispatcher(ctx context.Context, db DBTX, id pgtype.UUID) (*Dispatcher, error)
- func (q *Queries) CreateJob(ctx context.Context, db DBTX, arg CreateJobParams) (*Job, error)
- func (q *Queries) CreateSNSIntegration(ctx context.Context, db DBTX, arg CreateSNSIntegrationParams) (*SNSIntegration, error)
- func (q *Queries) CreateSchedulerPartition(ctx context.Context, db DBTX, name pgtype.Text) (*SchedulerPartition, error)
- func (q *Queries) CreateSchedules(ctx context.Context, db DBTX, arg CreateSchedulesParams) ([]*WorkflowTriggerScheduledRef, error)
- func (q *Queries) CreateStep(ctx context.Context, db DBTX, arg CreateStepParams) (*Step, error)
- func (q *Queries) CreateStepExpressions(ctx context.Context, db DBTX, arg CreateStepExpressionsParams) error
- func (q *Queries) CreateStepRateLimit(ctx context.Context, db DBTX, arg CreateStepRateLimitParams) (*StepRateLimit, error)
- func (q *Queries) CreateStepRunExpressionEvalInts(ctx context.Context, db DBTX, arg CreateStepRunExpressionEvalIntsParams) error
- func (q *Queries) CreateStepRunExpressionEvalStrs(ctx context.Context, db DBTX, arg CreateStepRunExpressionEvalStrsParams) error
- func (q *Queries) CreateTenant(ctx context.Context, db DBTX, arg CreateTenantParams) (*Tenant, error)
- func (q *Queries) CreateTenantAlertGroup(ctx context.Context, db DBTX, arg CreateTenantAlertGroupParams) (*TenantAlertEmailGroup, error)
- func (q *Queries) CreateTenantAlertingSettings(ctx context.Context, db DBTX, tenantid pgtype.UUID) (*TenantAlertingSettings, error)
- func (q *Queries) CreateTenantInvite(ctx context.Context, db DBTX, arg CreateTenantInviteParams) (*TenantInviteLink, error)
- func (q *Queries) CreateTenantMember(ctx context.Context, db DBTX, arg CreateTenantMemberParams) (*TenantMember, error)
- func (q *Queries) CreateTenantWorkerPartition(ctx context.Context, db DBTX, name pgtype.Text) (*TenantWorkerPartition, error)
- func (q *Queries) CreateTicker(ctx context.Context, db DBTX, id pgtype.UUID) (*Ticker, error)
- func (q *Queries) CreateUser(ctx context.Context, db DBTX, arg CreateUserParams) (*User, error)
- func (q *Queries) CreateUserOAuth(ctx context.Context, db DBTX, arg CreateUserOAuthParams) (*UserOAuth, error)
- func (q *Queries) CreateUserPassword(ctx context.Context, db DBTX, arg CreateUserPasswordParams) (*UserPassword, error)
- func (q *Queries) CreateUserSession(ctx context.Context, db DBTX, arg CreateUserSessionParams) (*UserSession, error)
- func (q *Queries) CreateWorker(ctx context.Context, db DBTX, arg CreateWorkerParams) (*Worker, 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) CreateWorkflowRunTriggeredBy(ctx context.Context, db DBTX, arg CreateWorkflowRunTriggeredByParams) (*WorkflowRunTriggeredBy, error)
- func (q *Queries) CreateWorkflowRunTriggeredBys(ctx context.Context, db DBTX, arg []CreateWorkflowRunTriggeredBysParams) (int64, error)
- func (q *Queries) CreateWorkflowTriggerCronRef(ctx context.Context, db DBTX, arg CreateWorkflowTriggerCronRefParams) (*WorkflowTriggerCronRef, error)
- func (q *Queries) CreateWorkflowTriggerCronRefForWorkflow(ctx context.Context, db DBTX, ...) (*WorkflowTriggerCronRef, error)
- func (q *Queries) CreateWorkflowTriggerEventRef(ctx context.Context, db DBTX, arg CreateWorkflowTriggerEventRefParams) (*WorkflowTriggerEventRef, error)
- func (q *Queries) CreateWorkflowTriggerScheduledRef(ctx context.Context, db DBTX, arg CreateWorkflowTriggerScheduledRefParams) (*WorkflowTriggerScheduledRef, error)
- func (q *Queries) CreateWorkflowTriggerScheduledRefForWorkflow(ctx context.Context, db DBTX, ...) (*WorkflowTriggerScheduledRef, 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) DeactivateTicker(ctx context.Context, db DBTX, id pgtype.UUID) (*Ticker, error)
- func (q *Queries) DeleteAPIToken(ctx context.Context, db DBTX, arg DeleteAPITokenParams) error
- func (q *Queries) DeleteControllerPartition(ctx context.Context, db DBTX, id string) (*ControllerPartition, error)
- func (q *Queries) DeleteDispatcher(ctx context.Context, db DBTX, id pgtype.UUID) (*Dispatcher, error)
- func (q *Queries) DeleteExpiredMessages(ctx context.Context, db DBTX) error
- func (q *Queries) DeleteOldWorkerAssignEvents(ctx context.Context, db DBTX, arg DeleteOldWorkerAssignEventsParams) (bool, error)
- func (q *Queries) DeleteOldWorkers(ctx context.Context, db DBTX, arg DeleteOldWorkersParams) (bool, error)
- func (q *Queries) DeleteSNSIntegration(ctx context.Context, db DBTX, arg DeleteSNSIntegrationParams) error
- func (q *Queries) DeleteScheduledWorkflow(ctx context.Context, db DBTX, scheduleid pgtype.UUID) error
- func (q *Queries) DeleteSchedulerPartition(ctx context.Context, db DBTX, id string) (*SchedulerPartition, error)
- func (q *Queries) DeleteSlackWebhook(ctx context.Context, db DBTX, arg DeleteSlackWebhookParams) error
- func (q *Queries) DeleteTenantAlertGroup(ctx context.Context, db DBTX, arg DeleteTenantAlertGroupParams) error
- func (q *Queries) DeleteTenantInvite(ctx context.Context, db DBTX, id pgtype.UUID) error
- func (q *Queries) DeleteTenantMember(ctx context.Context, db DBTX, id pgtype.UUID) error
- func (q *Queries) DeleteTenantWorkerPartition(ctx context.Context, db DBTX, id string) (*TenantWorkerPartition, error)
- func (q *Queries) DeleteUserSession(ctx context.Context, db DBTX, id pgtype.UUID) (*UserSession, error)
- func (q *Queries) DeleteWorker(ctx context.Context, db DBTX, id pgtype.UUID) (*Worker, error)
- func (q *Queries) DeleteWorkflowTriggerCronRef(ctx context.Context, db DBTX, id pgtype.UUID) error
- func (q *Queries) GetAPITokenById(ctx context.Context, db DBTX, id pgtype.UUID) (*APIToken, error)
- func (q *Queries) GetDesiredLabels(ctx context.Context, db DBTX, stepids []pgtype.UUID) ([]*GetDesiredLabelsRow, error)
- func (q *Queries) GetEmailGroups(ctx context.Context, db DBTX, tenantid pgtype.UUID) ([]*TenantAlertEmailGroup, error)
- func (q *Queries) GetExistingInvite(ctx context.Context, db DBTX, arg GetExistingInviteParams) (*TenantInviteLink, error)
- func (q *Queries) GetInternalTenantForController(ctx context.Context, db DBTX, controllerpartitionid string) (*Tenant, error)
- func (q *Queries) GetInviteById(ctx context.Context, db DBTX, id pgtype.UUID) (*TenantInviteLink, 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) GetMemberEmailGroup(ctx context.Context, db DBTX, tenantid pgtype.UUID) ([]string, error)
- func (q *Queries) GetMinMaxExpiredMessageQueueItems(ctx context.Context, db DBTX) (*GetMinMaxExpiredMessageQueueItemsRow, error)
- func (q *Queries) GetSNSIntegration(ctx context.Context, db DBTX, arg GetSNSIntegrationParams) (*SNSIntegration, error)
- func (q *Queries) GetSNSIntegrationById(ctx context.Context, db DBTX, id pgtype.UUID) (*SNSIntegration, error)
- func (q *Queries) GetScheduledWorkflowMetaByIds(ctx context.Context, db DBTX, arg GetScheduledWorkflowMetaByIdsParams) ([]*GetScheduledWorkflowMetaByIdsRow, error)
- func (q *Queries) GetSecurityCheckIdent(ctx context.Context, db DBTX) (pgtype.UUID, error)
- func (q *Queries) GetSlackWebhookById(ctx context.Context, db DBTX, id pgtype.UUID) (*SlackAppWebhook, error)
- func (q *Queries) GetSlackWebhooks(ctx context.Context, db DBTX, tenantid pgtype.UUID) ([]*SlackAppWebhook, error)
- func (q *Queries) GetStepDesiredWorkerLabels(ctx context.Context, db DBTX, stepid pgtype.UUID) ([]byte, error)
- func (q *Queries) GetStepExpressions(ctx context.Context, db DBTX, stepid pgtype.UUID) ([]*StepExpression, error)
- func (q *Queries) GetStepsForJobs(ctx context.Context, db DBTX, arg GetStepsForJobsParams) ([]*GetStepsForJobsRow, error)
- func (q *Queries) GetTenantAlertGroupById(ctx context.Context, db DBTX, id pgtype.UUID) (*TenantAlertEmailGroup, error)
- func (q *Queries) GetTenantAlertingSettings(ctx context.Context, db DBTX, tenantid pgtype.UUID) (*TenantAlertingSettings, error)
- func (q *Queries) GetTenantByID(ctx context.Context, db DBTX, id pgtype.UUID) (*Tenant, error)
- func (q *Queries) GetTenantBySlug(ctx context.Context, db DBTX, slug string) (*Tenant, error)
- func (q *Queries) GetTenantMemberByEmail(ctx context.Context, db DBTX, arg GetTenantMemberByEmailParams) (*TenantMember, error)
- func (q *Queries) GetTenantMemberByID(ctx context.Context, db DBTX, id pgtype.UUID) (*TenantMember, error)
- func (q *Queries) GetTenantMemberByUserID(ctx context.Context, db DBTX, arg GetTenantMemberByUserIDParams) (*TenantMember, error)
- func (q *Queries) GetTenantResourceLimit(ctx context.Context, db DBTX, arg GetTenantResourceLimitParams) (*GetTenantResourceLimitRow, error)
- func (q *Queries) GetTenantTotalQueueMetrics(ctx context.Context, db DBTX, arg GetTenantTotalQueueMetricsParams) (*GetTenantTotalQueueMetricsRow, error)
- func (q *Queries) GetTenantWorkflowQueueMetrics(ctx context.Context, db DBTX, arg GetTenantWorkflowQueueMetricsParams) ([]*GetTenantWorkflowQueueMetricsRow, error)
- func (q *Queries) GetUserByEmail(ctx context.Context, db DBTX, email string) (*User, error)
- func (q *Queries) GetUserByID(ctx context.Context, db DBTX, id pgtype.UUID) (*User, error)
- func (q *Queries) GetUserPassword(ctx context.Context, db DBTX, userid pgtype.UUID) (*UserPassword, error)
- func (q *Queries) GetUserSession(ctx context.Context, db DBTX, id pgtype.UUID) (*UserSession, error)
- func (q *Queries) GetWorkerActionsByWorkerId(ctx context.Context, db DBTX, arg GetWorkerActionsByWorkerIdParams) ([]*GetWorkerActionsByWorkerIdRow, error)
- func (q *Queries) GetWorkerById(ctx context.Context, db DBTX, id pgtype.UUID) (*GetWorkerByIdRow, error)
- func (q *Queries) GetWorkerByWebhookId(ctx context.Context, db DBTX, arg GetWorkerByWebhookIdParams) (*Worker, error)
- func (q *Queries) GetWorkerDispatcherActions(ctx context.Context, db DBTX, arg GetWorkerDispatcherActionsParams) ([]*GetWorkerDispatcherActionsRow, error)
- func (q *Queries) GetWorkerForEngine(ctx context.Context, db DBTX, arg GetWorkerForEngineParams) (*GetWorkerForEngineRow, error)
- func (q *Queries) GetWorkerLabels(ctx context.Context, db DBTX, workerid pgtype.UUID) ([]*GetWorkerLabelsRow, error)
- func (q *Queries) GetWorkerWorkflowsByWorkerId(ctx context.Context, db DBTX, arg GetWorkerWorkflowsByWorkerIdParams) ([]*Workflow, error)
- func (q *Queries) GetWorkflowById(ctx context.Context, db DBTX, id pgtype.UUID) (*GetWorkflowByIdRow, error)
- func (q *Queries) GetWorkflowByName(ctx context.Context, db DBTX, arg GetWorkflowByNameParams) (*Workflow, error)
- func (q *Queries) GetWorkflowLatestVersion(ctx context.Context, db DBTX, workflowid pgtype.UUID) (pgtype.UUID, error)
- func (q *Queries) GetWorkflowRunShape(ctx context.Context, db DBTX, workflowversionid pgtype.UUID) ([]*GetWorkflowRunShapeRow, error)
- func (q *Queries) GetWorkflowRunTrigger(ctx context.Context, db DBTX, arg GetWorkflowRunTriggerParams) (*WorkflowRunTriggeredBy, error)
- func (q *Queries) GetWorkflowVersionById(ctx context.Context, db DBTX, id pgtype.UUID) (*GetWorkflowVersionByIdRow, error)
- func (q *Queries) GetWorkflowVersionCronTriggerRefs(ctx context.Context, db DBTX, workflowversionid pgtype.UUID) ([]*WorkflowTriggerCronRef, error)
- func (q *Queries) GetWorkflowVersionEventTriggerRefs(ctx context.Context, db DBTX, workflowversionid pgtype.UUID) ([]*WorkflowTriggerEventRef, error)
- func (q *Queries) GetWorkflowVersionForEngine(ctx context.Context, db DBTX, arg GetWorkflowVersionForEngineParams) ([]*GetWorkflowVersionForEngineRow, error)
- func (q *Queries) GetWorkflowVersionScheduleTriggerRefs(ctx context.Context, db DBTX, workflowversionid pgtype.UUID) ([]*WorkflowTriggerScheduledRef, error)
- func (q *Queries) GetWorkflowWorkerCount(ctx context.Context, db DBTX, arg GetWorkflowWorkerCountParams) (*GetWorkflowWorkerCountRow, error)
- func (q *Queries) GetWorkflowsByNames(ctx context.Context, db DBTX, arg GetWorkflowsByNamesParams) ([]*Workflow, error)
- func (q *Queries) HandleWorkflowUnpaused(ctx context.Context, db DBTX, arg HandleWorkflowUnpausedParams) error
- func (q *Queries) HasActiveWorkersForActionId(ctx context.Context, db DBTX, arg HasActiveWorkersForActionIdParams) (int64, error)
- func (q *Queries) Health(ctx context.Context, db DBTX) ([]pgtype.UUID, error)
- func (q *Queries) LinkActionsToWorker(ctx context.Context, db DBTX, arg LinkActionsToWorkerParams) error
- func (q *Queries) LinkOnFailureJob(ctx context.Context, db DBTX, arg LinkOnFailureJobParams) (*WorkflowVersion, error)
- func (q *Queries) LinkServicesToWorker(ctx context.Context, db DBTX, arg LinkServicesToWorkerParams) error
- func (q *Queries) ListAPITokensByTenant(ctx context.Context, db DBTX, tenantid pgtype.UUID) ([]*APIToken, error)
- func (q *Queries) ListActiveDispatchers(ctx context.Context, db DBTX) ([]*ListActiveDispatchersRow, error)
- func (q *Queries) ListActiveTickers(ctx context.Context, db DBTX) ([]*ListActiveTickersRow, error)
- func (q *Queries) ListCronWorkflows(ctx context.Context, db DBTX, arg ListCronWorkflowsParams) ([]*ListCronWorkflowsRow, error)
- func (q *Queries) ListDispatcherIdsForWorkers(ctx context.Context, db DBTX, arg ListDispatcherIdsForWorkersParams) ([]*ListDispatcherIdsForWorkersRow, error)
- func (q *Queries) ListDispatchers(ctx context.Context, db DBTX) ([]*ListDispatchersRow, error)
- func (q *Queries) ListInvitesByTenantId(ctx context.Context, db DBTX, arg ListInvitesByTenantIdParams) ([]*TenantInviteLink, error)
- func (q *Queries) ListManyWorkerLabels(ctx context.Context, db DBTX, workerids []pgtype.UUID) ([]*ListManyWorkerLabelsRow, error)
- func (q *Queries) ListNewlyStaleTickers(ctx context.Context, db DBTX) ([]*ListNewlyStaleTickersRow, error)
- func (q *Queries) ListPausedWorkflows(ctx context.Context, db DBTX, tenantid pgtype.UUID) ([]pgtype.UUID, 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) ListRecentAssignedEventsForWorker(ctx context.Context, db DBTX, arg ListRecentAssignedEventsForWorkerParams) ([]*ListRecentAssignedEventsForWorkerRow, error)
- func (q *Queries) ListSNSIntegrations(ctx context.Context, db DBTX, tenantid pgtype.UUID) ([]*SNSIntegration, error)
- func (q *Queries) ListScheduledWorkflows(ctx context.Context, db DBTX, arg ListScheduledWorkflowsParams) ([]*ListScheduledWorkflowsRow, error)
- func (q *Queries) ListSemaphoreSlotsWithStateForWorker(ctx context.Context, db DBTX, arg ListSemaphoreSlotsWithStateForWorkerParams) ([]*ListSemaphoreSlotsWithStateForWorkerRow, error)
- func (q *Queries) ListSlackWebhooks(ctx context.Context, db DBTX, tenantid pgtype.UUID) ([]*SlackAppWebhook, error)
- func (q *Queries) ListStaleDispatchers(ctx context.Context, db DBTX) ([]*ListStaleDispatchersRow, error)
- func (q *Queries) ListStepRunExpressionEvals(ctx context.Context, db DBTX, steprunids []pgtype.UUID) ([]*StepRunExpressionEval, error)
- func (q *Queries) ListStepsForJob(ctx context.Context, db DBTX, jobrunid pgtype.UUID) ([]*ListStepsForJobRow, error)
- func (q *Queries) ListTenantAlertGroups(ctx context.Context, db DBTX, tenantid pgtype.UUID) ([]*TenantAlertEmailGroup, error)
- func (q *Queries) ListTenantInvitesByEmail(ctx context.Context, db DBTX, inviteeemail string) ([]*ListTenantInvitesByEmailRow, error)
- func (q *Queries) ListTenantMembers(ctx context.Context, db DBTX, tenantid pgtype.UUID) ([]*TenantMember, error)
- func (q *Queries) ListTenantMemberships(ctx context.Context, db DBTX, userid pgtype.UUID) ([]*TenantMember, error)
- func (q *Queries) ListTenantResourceLimits(ctx context.Context, db DBTX, tenantid pgtype.UUID) ([]*TenantResourceLimit, error)
- func (q *Queries) ListTenants(ctx context.Context, db DBTX) ([]*Tenant, error)
- func (q *Queries) ListTenantsByControllerPartitionId(ctx context.Context, db DBTX, arg ListTenantsByControllerPartitionIdParams) ([]*Tenant, error)
- func (q *Queries) ListTenantsBySchedulerPartitionId(ctx context.Context, db DBTX, arg ListTenantsBySchedulerPartitionIdParams) ([]*Tenant, error)
- func (q *Queries) ListTenantsByTenantWorkerPartitionId(ctx context.Context, db DBTX, arg ListTenantsByTenantWorkerPartitionIdParams) ([]*Tenant, error)
- func (q *Queries) ListTickers(ctx context.Context, db DBTX, arg ListTickersParams) ([]*Ticker, error)
- func (q *Queries) ListWorkerLabels(ctx context.Context, db DBTX, workerid pgtype.UUID) ([]*ListWorkerLabelsRow, error)
- func (q *Queries) ListWorkersWithSlotCount(ctx context.Context, db DBTX, arg ListWorkersWithSlotCountParams) ([]*ListWorkersWithSlotCountRow, error)
- func (q *Queries) ListWorkflows(ctx context.Context, db DBTX, arg ListWorkflowsParams) ([]*ListWorkflowsRow, error)
- func (q *Queries) ListWorkflowsForEvent(ctx context.Context, db DBTX, arg ListWorkflowsForEventParams) ([]pgtype.UUID, error)
- func (q *Queries) ListWorkflowsLatestRuns(ctx context.Context, db DBTX, arg ListWorkflowsLatestRunsParams) ([]*ListWorkflowsLatestRunsRow, error)
- func (q *Queries) LockWorkflowVersion(ctx context.Context, db DBTX, workflowid pgtype.UUID) (pgtype.UUID, error)
- func (q *Queries) MeterTenantResource(ctx context.Context, db DBTX, arg MeterTenantResourceParams) (*TenantResourceLimit, error)
- func (q *Queries) MoveCronTriggerToNewWorkflowTriggers(ctx context.Context, db DBTX, arg MoveCronTriggerToNewWorkflowTriggersParams) error
- func (q *Queries) MoveScheduledTriggerToNewWorkflowTriggers(ctx context.Context, db DBTX, ...) error
- func (q *Queries) PollCronSchedules(ctx context.Context, db DBTX, tickerid pgtype.UUID) ([]*PollCronSchedulesRow, error)
- func (q *Queries) PollExpiringTokens(ctx context.Context, db DBTX) ([]*PollExpiringTokensRow, error)
- func (q *Queries) PollGetGroupKeyRuns(ctx context.Context, db DBTX, tickerid pgtype.UUID) ([]*GetGroupKeyRun, error)
- func (q *Queries) PollScheduledWorkflows(ctx context.Context, db DBTX, tickerid pgtype.UUID) ([]*PollScheduledWorkflowsRow, error)
- func (q *Queries) PollTenantAlerts(ctx context.Context, db DBTX, tickerid pgtype.UUID) ([]*PollTenantAlertsRow, error)
- func (q *Queries) PollTenantResourceLimitAlerts(ctx context.Context, db DBTX) ([]*TenantResourceLimitAlert, error)
- func (q *Queries) PollUnresolvedFailedStepRuns(ctx context.Context, db DBTX) ([]*PollUnresolvedFailedStepRunsRow, error)
- func (q *Queries) PopulateTenantMembers(ctx context.Context, db DBTX, ids []pgtype.UUID) ([]*PopulateTenantMembersRow, error)
- func (q *Queries) ReadMessages(ctx context.Context, db DBTX, arg ReadMessagesParams) ([]*ReadMessagesRow, error)
- func (q *Queries) RebalanceAllControllerPartitions(ctx context.Context, db DBTX) error
- func (q *Queries) RebalanceAllSchedulerPartitions(ctx context.Context, db DBTX) error
- func (q *Queries) RebalanceAllTenantWorkerPartitions(ctx context.Context, db DBTX) error
- func (q *Queries) RebalanceInactiveControllerPartitions(ctx context.Context, db DBTX) error
- func (q *Queries) RebalanceInactiveSchedulerPartitions(ctx context.Context, db DBTX) error
- func (q *Queries) RebalanceInactiveTenantWorkerPartitions(ctx context.Context, db DBTX) error
- func (q *Queries) ReleaseLeases(ctx context.Context, db DBTX, leaseids []int64) ([]*Lease, error)
- func (q *Queries) ResolveAllLimitsIfWindowPassed(ctx context.Context, db DBTX) ([]*ResolveAllLimitsIfWindowPassedRow, error)
- func (q *Queries) RevokeAPIToken(ctx context.Context, db DBTX, id pgtype.UUID) error
- func (q *Queries) SchedulerPartitionHeartbeat(ctx context.Context, db DBTX, schedulerpartitionid string) (*SchedulerPartition, error)
- func (q *Queries) SelectOrInsertTenantResourceLimit(ctx context.Context, db DBTX, arg SelectOrInsertTenantResourceLimitParams) (*SelectOrInsertTenantResourceLimitRow, error)
- func (q *Queries) SetDispatchersInactive(ctx context.Context, db DBTX, ids []pgtype.UUID) ([]*SetDispatchersInactiveRow, error)
- func (q *Queries) SetTickersInactive(ctx context.Context, db DBTX, ids []pgtype.UUID) ([]*SetTickersInactiveRow, error)
- func (q *Queries) SoftDeleteWorkflow(ctx context.Context, db DBTX, id pgtype.UUID) (*Workflow, error)
- func (q *Queries) UpdateCronTrigger(ctx context.Context, db DBTX, arg UpdateCronTriggerParams) error
- func (q *Queries) UpdateDispatcher(ctx context.Context, db DBTX, arg UpdateDispatcherParams) (*Dispatcher, error)
- func (q *Queries) UpdateMessageQueueActive(ctx context.Context, db DBTX, name string) error
- func (q *Queries) UpdateScheduledWorkflow(ctx context.Context, db DBTX, arg UpdateScheduledWorkflowParams) error
- func (q *Queries) UpdateTenant(ctx context.Context, db DBTX, arg UpdateTenantParams) (*Tenant, error)
- func (q *Queries) UpdateTenantAlertGroup(ctx context.Context, db DBTX, arg UpdateTenantAlertGroupParams) (*TenantAlertEmailGroup, error)
- func (q *Queries) UpdateTenantAlertingSettings(ctx context.Context, db DBTX, arg UpdateTenantAlertingSettingsParams) (*TenantAlertingSettings, error)
- func (q *Queries) UpdateTenantInvite(ctx context.Context, db DBTX, arg UpdateTenantInviteParams) (*TenantInviteLink, error)
- func (q *Queries) UpdateTenantMember(ctx context.Context, db DBTX, arg UpdateTenantMemberParams) (*TenantMember, error)
- func (q *Queries) UpdateTicker(ctx context.Context, db DBTX, arg UpdateTickerParams) (*Ticker, error)
- func (q *Queries) UpdateUser(ctx context.Context, db DBTX, arg UpdateUserParams) (*User, error)
- func (q *Queries) UpdateUserPassword(ctx context.Context, db DBTX, arg UpdateUserPasswordParams) (*UserPassword, error)
- func (q *Queries) UpdateUserSession(ctx context.Context, db DBTX, arg UpdateUserSessionParams) (*UserSession, error)
- func (q *Queries) UpdateWorker(ctx context.Context, db DBTX, arg UpdateWorkerParams) (*Worker, error)
- func (q *Queries) UpdateWorkerActiveStatus(ctx context.Context, db DBTX, arg UpdateWorkerActiveStatusParams) (*Worker, error)
- func (q *Queries) UpdateWorkerHeartbeat(ctx context.Context, db DBTX, arg UpdateWorkerHeartbeatParams) (*Worker, error)
- func (q *Queries) UpdateWorkersByWebhookId(ctx context.Context, db DBTX, arg UpdateWorkersByWebhookIdParams) ([]*Worker, error)
- func (q *Queries) UpdateWorkflow(ctx context.Context, db DBTX, arg UpdateWorkflowParams) (*Workflow, 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) UpsertMessageQueue(ctx context.Context, db DBTX, arg UpsertMessageQueueParams) (*MessageQueue, error)
- func (q *Queries) UpsertRateLimit(ctx context.Context, db DBTX, arg UpsertRateLimitParams) (*RateLimit, error)
- func (q *Queries) UpsertRateLimitsBulk(ctx context.Context, db DBTX, arg UpsertRateLimitsBulkParams) error
- func (q *Queries) UpsertService(ctx context.Context, db DBTX, arg UpsertServiceParams) (*Service, error)
- func (q *Queries) UpsertSlackWebhook(ctx context.Context, db DBTX, arg UpsertSlackWebhookParams) (*SlackAppWebhook, error)
- func (q *Queries) UpsertTenantAlertingSettings(ctx context.Context, db DBTX, arg UpsertTenantAlertingSettingsParams) (*TenantAlertingSettings, error)
- func (q *Queries) UpsertTenantResourceLimit(ctx context.Context, db DBTX, arg UpsertTenantResourceLimitParams) (*TenantResourceLimit, error)
- func (q *Queries) UpsertUserOAuth(ctx context.Context, db DBTX, arg UpsertUserOAuthParams) (*UserOAuth, error)
- func (q *Queries) UpsertWorkerLabel(ctx context.Context, db DBTX, arg UpsertWorkerLabelParams) (*WorkerLabel, error)
- func (q *Queries) UpsertWorkflowTag(ctx context.Context, db DBTX, arg UpsertWorkflowTagParams) error
- func (q *Queries) WorkerPartitionHeartbeat(ctx context.Context, db DBTX, workerpartitionid string) (*TenantWorkerPartition, error)
- type Queue
- type QueueItem
- type RateLimit
- type ReadMessagesParams
- type ReadMessagesRow
- type ResolveAllLimitsIfWindowPassedRow
- type RetryQueueItem
- type SNSIntegration
- type SchedulerPartition
- type SecurityCheckIdent
- type SelectOrInsertTenantResourceLimitParams
- type SelectOrInsertTenantResourceLimitRow
- type SemaphoreQueueItem
- type Service
- type ServiceToWorker
- type SetDispatchersInactiveRow
- type SetTickersInactiveRow
- 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 StreamEvent
- type Tenant
- type TenantAlertEmailGroup
- type TenantAlertingSettings
- type TenantEnvironment
- type TenantInviteLink
- type TenantMajorEngineVersion
- type TenantMember
- type TenantMemberRole
- type TenantResourceLimit
- type TenantResourceLimitAlert
- type TenantResourceLimitAlertType
- type TenantVcsProvider
- type TenantWorkerPartition
- type Ticker
- type TimeoutQueueItem
- type UpdateCronTriggerParams
- type UpdateDispatcherParams
- type UpdateScheduledWorkflowParams
- type UpdateTenantAlertGroupParams
- type UpdateTenantAlertingSettingsParams
- type UpdateTenantInviteParams
- type UpdateTenantMemberParams
- type UpdateTenantParams
- type UpdateTickerParams
- type UpdateUserParams
- type UpdateUserPasswordParams
- type UpdateUserSessionParams
- type UpdateWorkerActiveStatusParams
- type UpdateWorkerHeartbeatParams
- type UpdateWorkerParams
- type UpdateWorkersByWebhookIdParams
- type UpdateWorkflowParams
- type UpsertActionParams
- type UpsertDesiredWorkerLabelParams
- type UpsertMessageQueueParams
- type UpsertRateLimitParams
- type UpsertRateLimitsBulkParams
- type UpsertServiceParams
- type UpsertSlackWebhookParams
- type UpsertTenantAlertingSettingsParams
- type UpsertTenantResourceLimitParams
- type UpsertUserOAuthParams
- type UpsertWorkerLabelParams
- type UpsertWorkflowTagParams
- type User
- type UserOAuth
- type UserPassword
- type UserSession
- 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 AddMessageParams ¶
type AddStepParentsParams ¶
type AddWorkflowTagParams ¶
type BulkAddMessageParams ¶
type BulkDeleteScheduledWorkflowsParams ¶ added in v0.73.106
type BulkUpdateScheduledWorkflowsParams ¶ added in v0.73.106
type CheckWorkerParams ¶
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 CountCronWorkflowsParams ¶
type CountCronWorkflowsParams struct {
Tenantid pgtype.UUID `json:"tenantid"`
Crontriggerid pgtype.UUID `json:"crontriggerid"`
Workflowid pgtype.UUID `json:"workflowid"`
AdditionalMetadata []byte `json:"additionalMetadata"`
CronName pgtype.Text `json:"cronName"`
WorkflowName pgtype.Text `json:"workflowName"`
}
type CountRateLimitsParams ¶
type CountRoundRobinGroupKeysParams ¶
type CountRoundRobinGroupKeysParams struct {
Tenantid pgtype.UUID `json:"tenantid"`
Status NullWorkflowRunStatus `json:"status"`
Workflowid pgtype.UUID `json:"workflowid"`
}
type CountScheduledWorkflowsParams ¶
type CountScheduledWorkflowsParams struct {
Tenantid pgtype.UUID `json:"tenantid"`
Scheduleid pgtype.UUID `json:"scheduleid"`
Workflowid pgtype.UUID `json:"workflowid"`
Parentworkflowrunid pgtype.UUID `json:"parentworkflowrunid"`
Parentsteprunid pgtype.UUID `json:"parentsteprunid"`
AdditionalMetadata []byte `json:"additionalMetadata"`
Statuses []string `json:"statuses"`
Includescheduled bool `json:"includescheduled"`
}
type CountWorkflowsParams ¶
type CreateAPITokenParams ¶
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"`
Timeout string `json:"timeout"`
Kind NullJobKind `json:"kind"`
}
type CreateSchedulesParams ¶
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 CreateTenantMemberParams ¶
type CreateTenantMemberParams struct {
Tenantid pgtype.UUID `json:"tenantid"`
Userid pgtype.UUID `json:"userid"`
Role TenantMemberRole `json:"role"`
}
type CreateTenantParams ¶
type CreateTenantParams struct {
ID pgtype.UUID `json:"id"`
Name string `json:"name"`
Slug string `json:"slug"`
DataRetentionPeriod pgtype.Text `json:"dataRetentionPeriod"`
Version NullTenantMajorEngineVersion `json:"version"`
OnboardingData []byte `json:"onboardingData"`
Environment NullTenantEnvironment `json:"environment"`
}
type CreateUserOAuthParams ¶
type CreateUserParams ¶
type CreateUserSessionParams ¶
type CreateWorkerParams ¶
type CreateWorkerParams struct {
Tenantid pgtype.UUID `json:"tenantid"`
Name string `json:"name"`
Dispatcherid pgtype.UUID `json:"dispatcherid"`
MaxRuns pgtype.Int4 `json:"maxRuns"`
WebhookId pgtype.UUID `json:"webhookId"`
Type NullWorkerType `json:"type"`
SdkVersion pgtype.Text `json:"sdkVersion"`
Language NullWorkerSDKS `json:"language"`
LanguageVersion pgtype.Text `json:"languageVersion"`
Os pgtype.Text `json:"os"`
RuntimeExtra pgtype.Text `json:"runtimeExtra"`
}
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 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 CreateWorkflowRunTriggeredByParams ¶
type CreateWorkflowRunTriggeredByParams struct {
Tenantid pgtype.UUID `json:"tenantid"`
Workflowrunid pgtype.UUID `json:"workflowrunid"`
EventId pgtype.UUID `json:"eventId"`
CronParentId pgtype.UUID `json:"cronParentId"`
CronSchedule pgtype.Text `json:"cronSchedule"`
CronName pgtype.Text `json:"cronName"`
ScheduledId pgtype.UUID `json:"scheduledId"`
}
type CreateWorkflowRunTriggeredBysParams ¶
type CreateWorkflowRunTriggeredBysParams struct {
ID pgtype.UUID `json:"id"`
TenantId pgtype.UUID `json:"tenantId"`
ParentId pgtype.UUID `json:"parentId"`
EventId pgtype.UUID `json:"eventId"`
CronParentId pgtype.UUID `json:"cronParentId"`
CronSchedule pgtype.Text `json:"cronSchedule"`
CronName pgtype.Text `json:"cronName"`
ScheduledId pgtype.UUID `json:"scheduledId"`
}
type CreateWorkflowTriggerCronRefForWorkflowParams ¶
type CreateWorkflowTriggerCronRefForWorkflowParams struct {
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"`
Workflowid pgtype.UUID `json:"workflowid"`
}
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 CreateWorkflowTriggerScheduledRefForWorkflowParams ¶
type CreateWorkflowTriggerScheduledRefForWorkflowParams struct {
Scheduledtrigger pgtype.Timestamp `json:"scheduledtrigger"`
Input []byte `json:"input"`
Additionalmetadata []byte `json:"additionalmetadata"`
Method NullWorkflowTriggerScheduledRefMethods `json:"method"`
Priority pgtype.Int4 `json:"priority"`
Workflowid pgtype.UUID `json:"workflowid"`
}
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"`
ScheduleTimeout pgtype.Text `json:"scheduleTimeout"`
Sticky NullStickyStrategy `json:"sticky"`
Kind NullWorkflowKind `json:"kind"`
DefaultPriority pgtype.Int4 `json:"defaultPriority"`
}
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 DeleteAPITokenParams ¶
type DeleteOldWorkersParams ¶
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 GetDesiredLabelsRow ¶
type GetExistingInviteParams ¶
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 GetSNSIntegrationParams ¶
type GetScheduledWorkflowMetaByIdsParams ¶ added in v0.73.106
type GetScheduledWorkflowMetaByIdsRow ¶ added in v0.73.106
type GetScheduledWorkflowMetaByIdsRow struct {
ID pgtype.UUID `json:"id"`
Method WorkflowTriggerScheduledRefMethods `json:"method"`
HasTriggeredRun bool `json:"hasTriggeredRun"`
}
type GetStepsForJobsParams ¶
type GetStepsForJobsRow ¶
type GetTenantResourceLimitParams ¶
type GetTenantResourceLimitParams struct {
Tenantid pgtype.UUID `json:"tenantid"`
Resource NullLimitResource `json:"resource"`
}
type GetTenantResourceLimitRow ¶
type GetTenantResourceLimitRow 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 GetWorkerByIdRow ¶
type GetWorkerForEngineRow ¶
type GetWorkerForEngineRow struct {
ID pgtype.UUID `json:"id"`
TenantId pgtype.UUID `json:"tenantId"`
DispatcherId pgtype.UUID `json:"dispatcherId"`
DispatcherLastHeartbeatAt pgtype.Timestamp `json:"dispatcherLastHeartbeatAt"`
IsActive bool `json:"isActive"`
LastListenerEstablished pgtype.Timestamp `json:"lastListenerEstablished"`
}
type GetWorkerLabelsRow ¶
type GetWorkerWorkflowsByWorkerIdParams ¶ added in v0.73.25
type GetWorkflowByIdRow ¶
type GetWorkflowByNameParams ¶
type GetWorkflowRunShapeRow ¶
type GetWorkflowVersionByIdRow ¶
type GetWorkflowVersionByIdRow struct {
WorkflowVersion WorkflowVersion `json:"workflow_version"`
Workflow Workflow `json:"workflow"`
ConcurrencyId pgtype.UUID `json:"concurrencyId"`
ConcurrencyMaxRuns pgtype.Int4 `json:"concurrencyMaxRuns"`
ConcurrencyGroupId pgtype.UUID `json:"concurrencyGroupId"`
ConcurrencyLimitStrategy NullConcurrencyLimitStrategy `json:"concurrencyLimitStrategy"`
}
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 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 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 ListActiveDispatchersRow ¶
type ListActiveDispatchersRow struct {
Dispatcher Dispatcher `json:"dispatcher"`
}
type ListActiveTickersRow ¶
type ListActiveTickersRow struct {
Ticker Ticker `json:"ticker"`
}
type ListCronWorkflowsParams ¶
type ListCronWorkflowsParams struct {
Tenantid pgtype.UUID `json:"tenantid"`
Crontriggerid pgtype.UUID `json:"crontriggerid"`
Workflowid pgtype.UUID `json:"workflowid"`
AdditionalMetadata []byte `json:"additionalMetadata"`
CronName pgtype.Text `json:"cronName"`
WorkflowName pgtype.Text `json:"workflowName"`
Orderby interface{} `json:"orderby"`
Offset interface{} `json:"offset"`
Limit interface{} `json:"limit"`
}
type ListCronWorkflowsRow ¶
type ListCronWorkflowsRow struct {
WorkflowVersionId pgtype.UUID `json:"workflowVersionId"`
WorkflowName string `json:"workflowName"`
WorkflowId pgtype.UUID `json:"workflowId"`
TenantId pgtype.UUID `json:"tenantId"`
TriggerId pgtype.UUID `json:"triggerId"`
CronId pgtype.UUID `json:"cronId"`
ID pgtype.UUID `json:"id"`
CreatedAt pgtype.Timestamp `json:"createdAt"`
UpdatedAt pgtype.Timestamp `json:"updatedAt"`
DeletedAt pgtype.Timestamp `json:"deletedAt"`
WorkflowVersionId_2 pgtype.UUID `json:"workflowVersionId_2"`
TenantId_2 pgtype.UUID `json:"tenantId_2"`
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_2 pgtype.Timestamp `json:"createdAt_2"`
DeletedAt_2 pgtype.Timestamp `json:"deletedAt_2"`
UpdatedAt_2 pgtype.Timestamp `json:"updatedAt_2"`
Name pgtype.Text `json:"name"`
ID_2 pgtype.UUID `json:"id_2"`
Method WorkflowTriggerCronRefMethods `json:"method"`
Priority int32 `json:"priority"`
}
type ListDispatchersRow ¶
type ListDispatchersRow struct {
Dispatcher Dispatcher `json:"dispatcher"`
}
type ListInvitesByTenantIdParams ¶
type ListInvitesByTenantIdParams struct {
Tenantid pgtype.UUID `json:"tenantid"`
Status NullInviteLinkStatus `json:"status"`
Expired pgtype.Bool `json:"expired"`
}
type ListManyWorkerLabelsRow ¶
type ListNewlyStaleTickersRow ¶
type ListNewlyStaleTickersRow struct {
Ticker Ticker `json:"ticker"`
}
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 ListScheduledWorkflowsParams ¶
type ListScheduledWorkflowsParams struct {
Tenantid pgtype.UUID `json:"tenantid"`
Scheduleid pgtype.UUID `json:"scheduleid"`
Workflowid pgtype.UUID `json:"workflowid"`
Parentworkflowrunid pgtype.UUID `json:"parentworkflowrunid"`
Parentsteprunid pgtype.UUID `json:"parentsteprunid"`
AdditionalMetadata []byte `json:"additionalMetadata"`
Statuses []string `json:"statuses"`
Includescheduled bool `json:"includescheduled"`
Orderby interface{} `json:"orderby"`
Offset interface{} `json:"offset"`
Limit interface{} `json:"limit"`
}
type ListScheduledWorkflowsRow ¶
type ListScheduledWorkflowsRow struct {
Name string `json:"name"`
WorkflowId pgtype.UUID `json:"workflowId"`
WorkflowVersionId pgtype.UUID `json:"workflowVersionId"`
TenantId pgtype.UUID `json:"tenantId"`
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"`
WorkflowRunCreatedAt pgtype.Timestamp `json:"workflowRunCreatedAt"`
WorkflowRunStatus NullWorkflowRunStatus `json:"workflowRunStatus"`
WorkflowRunId pgtype.UUID `json:"workflowRunId"`
WorkflowRunName pgtype.Text `json:"workflowRunName"`
}
type ListSemaphoreSlotsWithStateForWorkerRow ¶
type ListSemaphoreSlotsWithStateForWorkerRow struct {
StepRunId pgtype.UUID `json:"stepRunId"`
Status StepRunStatus `json:"status"`
ActionId string `json:"actionId"`
TimeoutAt pgtype.Timestamp `json:"timeoutAt"`
StartedAt pgtype.Timestamp `json:"startedAt"`
WorkflowRunId pgtype.UUID `json:"workflowRunId"`
}
type ListStaleDispatchersRow ¶
type ListStaleDispatchersRow struct {
Dispatcher Dispatcher `json:"dispatcher"`
}
type ListStepsForJobRow ¶
type ListTenantInvitesByEmailRow ¶
type ListTenantInvitesByEmailRow 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"`
TenantName string `json:"tenantName"`
}
type ListTenantsByControllerPartitionIdParams ¶
type ListTenantsByControllerPartitionIdParams struct {
ControllerPartitionId string `json:"controllerPartitionId"`
Majorversion TenantMajorEngineVersion `json:"majorversion"`
}
type ListTenantsBySchedulerPartitionIdParams ¶
type ListTenantsBySchedulerPartitionIdParams struct {
SchedulerPartitionId string `json:"schedulerPartitionId"`
Majorversion TenantMajorEngineVersion `json:"majorversion"`
}
type ListTenantsByTenantWorkerPartitionIdParams ¶
type ListTenantsByTenantWorkerPartitionIdParams struct {
WorkerPartitionId string `json:"workerPartitionId"`
Majorversion TenantMajorEngineVersion `json:"majorversion"`
}
type ListTickersParams ¶
type ListWorkerLabelsRow ¶
type ListWorkflowsLatestRunsRow ¶
type ListWorkflowsLatestRunsRow struct {
WorkflowRun WorkflowRun `json:"workflow_run"`
WorkflowId pgtype.UUID `json:"workflowId"`
}
type ListWorkflowsParams ¶
type ListWorkflowsRow ¶
type ListWorkflowsRow struct {
Workflow Workflow `json:"workflow"`
}
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 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 MeterTenantResourceParams ¶
type MeterTenantResourceParams struct {
Numresources int32 `json:"numresources"`
Tenantid pgtype.UUID `json:"tenantid"`
Resource NullLimitResource `json:"resource"`
}
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 NullTenantEnvironment ¶ added in v0.71.8
type NullTenantEnvironment struct {
TenantEnvironment TenantEnvironment `json:"TenantEnvironment"`
Valid bool `json:"valid"` // Valid is true if TenantEnvironment is not NULL
}
func (*NullTenantEnvironment) Scan ¶ added in v0.71.8
func (ns *NullTenantEnvironment) 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 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 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 PollCronSchedulesRow ¶
type PollCronSchedulesRow 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"`
WorkflowVersionId pgtype.UUID `json:"workflowVersionId"`
TenantId pgtype.UUID `json:"tenantId"`
}
type PollExpiringTokensRow ¶
type PollScheduledWorkflowsRow ¶
type PollScheduledWorkflowsRow 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"`
WorkflowVersionId pgtype.UUID `json:"workflowVersionId"`
TenantId pgtype.UUID `json:"tenantId"`
}
type PollTenantAlertsRow ¶
type PollTenantAlertsRow 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"`
PrevLastAlertedAt pgtype.Timestamp `json:"prevLastAlertedAt"`
}
type PopulateTenantMembersRow ¶
type PopulateTenantMembersRow struct {
ID pgtype.UUID `json:"id"`
CreatedAt pgtype.Timestamp `json:"createdAt"`
UpdatedAt pgtype.Timestamp `json:"updatedAt"`
TenantId pgtype.UUID `json:"tenantId"`
UserId pgtype.UUID `json:"userId"`
Role TenantMemberRole `json:"role"`
Email string `json:"email"`
Name pgtype.Text `json:"name"`
TenantId_2 pgtype.UUID `json:"tenantId_2"`
TenantCreatedAt pgtype.Timestamp `json:"tenantCreatedAt"`
TenantUpdatedAt pgtype.Timestamp `json:"tenantUpdatedAt"`
TenantName string `json:"tenantName"`
TenantSlug string `json:"tenantSlug"`
AlertMemberEmails bool `json:"alertMemberEmails"`
AnalyticsOptOut bool `json:"analyticsOptOut"`
TenantVersion TenantMajorEngineVersion `json:"tenantVersion"`
TenantEnvironment NullTenantEnvironment `json:"tenantEnvironment"`
}
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) AddMessage ¶
func (*Queries) AddStepParents ¶
func (*Queries) AddWorkflowTag ¶
func (*Queries) BulkAckMessages ¶
func (*Queries) BulkAddMessage ¶
func (*Queries) BulkDeleteScheduledWorkflows ¶ added in v0.73.106
func (*Queries) BulkUpdateRateLimits ¶
func (*Queries) BulkUpdateScheduledWorkflows ¶ added in v0.73.106
func (*Queries) CheckWorker ¶
func (*Queries) CleanupMessageQueue ¶
func (*Queries) CleanupMessageQueueItems ¶
func (*Queries) ControllerPartitionHeartbeat ¶
func (*Queries) CountActiveInvites ¶
func (*Queries) CountCronWorkflows ¶
func (q *Queries) CountCronWorkflows(ctx context.Context, db DBTX, arg CountCronWorkflowsParams) (int64, error)
Get all of the latest workflow versions for the tenant
func (*Queries) CountRateLimits ¶
func (*Queries) CountRoundRobinGroupKeys ¶
func (*Queries) CountScheduledWorkflows ¶
func (*Queries) CountTenantWorkerSlots ¶
func (*Queries) CountTenantWorkers ¶
func (*Queries) CountWorkflowRunsRoundRobin ¶
func (*Queries) CountWorkflows ¶
func (*Queries) CreateAPIToken ¶
func (*Queries) CreateControllerPartition ¶
func (*Queries) CreateDispatcher ¶
func (*Queries) CreateSNSIntegration ¶
func (q *Queries) CreateSNSIntegration(ctx context.Context, db DBTX, arg CreateSNSIntegrationParams) (*SNSIntegration, error)
func (*Queries) CreateSchedulerPartition ¶
func (*Queries) CreateSchedules ¶
func (q *Queries) CreateSchedules(ctx context.Context, db DBTX, arg CreateSchedulesParams) ([]*WorkflowTriggerScheduledRef, error)
func (*Queries) CreateStep ¶
func (*Queries) CreateStepExpressions ¶
func (*Queries) CreateStepRateLimit ¶
func (q *Queries) CreateStepRateLimit(ctx context.Context, db DBTX, arg CreateStepRateLimitParams) (*StepRateLimit, error)
func (*Queries) CreateStepRunExpressionEvalInts ¶
func (*Queries) CreateStepRunExpressionEvalStrs ¶
func (*Queries) CreateTenant ¶
func (*Queries) CreateTenantAlertGroup ¶
func (q *Queries) CreateTenantAlertGroup(ctx context.Context, db DBTX, arg CreateTenantAlertGroupParams) (*TenantAlertEmailGroup, error)
func (*Queries) CreateTenantAlertingSettings ¶
func (*Queries) CreateTenantInvite ¶
func (q *Queries) CreateTenantInvite(ctx context.Context, db DBTX, arg CreateTenantInviteParams) (*TenantInviteLink, error)
func (*Queries) CreateTenantMember ¶
func (q *Queries) CreateTenantMember(ctx context.Context, db DBTX, arg CreateTenantMemberParams) (*TenantMember, error)
func (*Queries) CreateTenantWorkerPartition ¶
func (*Queries) CreateTicker ¶
func (*Queries) CreateUser ¶
func (*Queries) CreateUserOAuth ¶
func (*Queries) CreateUserPassword ¶
func (q *Queries) CreateUserPassword(ctx context.Context, db DBTX, arg CreateUserPasswordParams) (*UserPassword, error)
func (*Queries) CreateUserSession ¶
func (q *Queries) CreateUserSession(ctx context.Context, db DBTX, arg CreateUserSessionParams) (*UserSession, error)
func (*Queries) CreateWorker ¶
func (*Queries) CreateWorkflow ¶
func (*Queries) CreateWorkflowConcurrency ¶
func (q *Queries) CreateWorkflowConcurrency(ctx context.Context, db DBTX, arg CreateWorkflowConcurrencyParams) (*WorkflowConcurrency, error)
func (*Queries) CreateWorkflowRunTriggeredBy ¶
func (q *Queries) CreateWorkflowRunTriggeredBy(ctx context.Context, db DBTX, arg CreateWorkflowRunTriggeredByParams) (*WorkflowRunTriggeredBy, error)
func (*Queries) CreateWorkflowRunTriggeredBys ¶
func (*Queries) CreateWorkflowTriggerCronRef ¶
func (q *Queries) CreateWorkflowTriggerCronRef(ctx context.Context, db DBTX, arg CreateWorkflowTriggerCronRefParams) (*WorkflowTriggerCronRef, error)
func (*Queries) CreateWorkflowTriggerCronRefForWorkflow ¶
func (q *Queries) CreateWorkflowTriggerCronRefForWorkflow(ctx context.Context, db DBTX, arg CreateWorkflowTriggerCronRefForWorkflowParams) (*WorkflowTriggerCronRef, error)
func (*Queries) CreateWorkflowTriggerEventRef ¶
func (q *Queries) CreateWorkflowTriggerEventRef(ctx context.Context, db DBTX, arg CreateWorkflowTriggerEventRefParams) (*WorkflowTriggerEventRef, error)
func (*Queries) CreateWorkflowTriggerScheduledRef ¶
func (q *Queries) CreateWorkflowTriggerScheduledRef(ctx context.Context, db DBTX, arg CreateWorkflowTriggerScheduledRefParams) (*WorkflowTriggerScheduledRef, error)
func (*Queries) CreateWorkflowTriggerScheduledRefForWorkflow ¶
func (q *Queries) CreateWorkflowTriggerScheduledRefForWorkflow(ctx context.Context, db DBTX, arg CreateWorkflowTriggerScheduledRefForWorkflowParams) (*WorkflowTriggerScheduledRef, 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) DeactivateTicker ¶
func (*Queries) DeleteAPIToken ¶
func (*Queries) DeleteControllerPartition ¶
func (*Queries) DeleteDispatcher ¶
func (*Queries) DeleteExpiredMessages ¶
func (*Queries) DeleteOldWorkerAssignEvents ¶
func (q *Queries) DeleteOldWorkerAssignEvents(ctx context.Context, db DBTX, arg DeleteOldWorkerAssignEventsParams) (bool, error)
delete worker assign events outside of the first <maxRuns> events for a worker
func (*Queries) DeleteOldWorkers ¶
func (*Queries) DeleteSNSIntegration ¶
func (*Queries) DeleteScheduledWorkflow ¶
func (*Queries) DeleteSchedulerPartition ¶
func (*Queries) DeleteSlackWebhook ¶
func (*Queries) DeleteTenantAlertGroup ¶
func (*Queries) DeleteTenantInvite ¶
func (*Queries) DeleteTenantMember ¶
func (*Queries) DeleteTenantWorkerPartition ¶
func (*Queries) DeleteUserSession ¶
func (*Queries) DeleteWorker ¶
func (*Queries) DeleteWorkflowTriggerCronRef ¶
func (*Queries) GetAPITokenById ¶
func (*Queries) GetDesiredLabels ¶
func (*Queries) GetEmailGroups ¶
func (*Queries) GetExistingInvite ¶
func (q *Queries) GetExistingInvite(ctx context.Context, db DBTX, arg GetExistingInviteParams) (*TenantInviteLink, error)
func (*Queries) GetInternalTenantForController ¶
func (*Queries) GetInviteById ¶
func (*Queries) GetLatestWorkflowVersionForWorkflows ¶
func (*Queries) GetLeasesToAcquire ¶
func (*Queries) GetMemberEmailGroup ¶
func (*Queries) GetMinMaxExpiredMessageQueueItems ¶
func (*Queries) GetSNSIntegration ¶
func (q *Queries) GetSNSIntegration(ctx context.Context, db DBTX, arg GetSNSIntegrationParams) (*SNSIntegration, error)
func (*Queries) GetSNSIntegrationById ¶
func (*Queries) GetScheduledWorkflowMetaByIds ¶ added in v0.73.106
func (q *Queries) GetScheduledWorkflowMetaByIds(ctx context.Context, db DBTX, arg GetScheduledWorkflowMetaByIdsParams) ([]*GetScheduledWorkflowMetaByIdsRow, error)
func (*Queries) GetSecurityCheckIdent ¶
func (*Queries) GetSlackWebhookById ¶
func (*Queries) GetSlackWebhooks ¶
func (*Queries) GetStepDesiredWorkerLabels ¶
func (*Queries) GetStepExpressions ¶
func (*Queries) GetStepsForJobs ¶
func (q *Queries) GetStepsForJobs(ctx context.Context, db DBTX, arg GetStepsForJobsParams) ([]*GetStepsForJobsRow, error)
func (*Queries) GetTenantAlertGroupById ¶
func (*Queries) GetTenantAlertingSettings ¶
func (*Queries) GetTenantByID ¶
func (*Queries) GetTenantBySlug ¶
func (*Queries) GetTenantMemberByEmail ¶
func (q *Queries) GetTenantMemberByEmail(ctx context.Context, db DBTX, arg GetTenantMemberByEmailParams) (*TenantMember, error)
func (*Queries) GetTenantMemberByID ¶
func (*Queries) GetTenantMemberByUserID ¶
func (q *Queries) GetTenantMemberByUserID(ctx context.Context, db DBTX, arg GetTenantMemberByUserIDParams) (*TenantMember, error)
func (*Queries) GetTenantResourceLimit ¶
func (q *Queries) GetTenantResourceLimit(ctx context.Context, db DBTX, arg GetTenantResourceLimitParams) (*GetTenantResourceLimitRow, error)
func (*Queries) GetTenantTotalQueueMetrics ¶
func (q *Queries) GetTenantTotalQueueMetrics(ctx context.Context, db DBTX, arg GetTenantTotalQueueMetricsParams) (*GetTenantTotalQueueMetricsRow, error)
func (*Queries) GetTenantWorkflowQueueMetrics ¶
func (q *Queries) GetTenantWorkflowQueueMetrics(ctx context.Context, db DBTX, arg GetTenantWorkflowQueueMetricsParams) ([]*GetTenantWorkflowQueueMetricsRow, error)
func (*Queries) GetUserByEmail ¶
func (*Queries) GetUserByID ¶
func (*Queries) GetUserPassword ¶
func (*Queries) GetUserSession ¶
func (*Queries) GetWorkerActionsByWorkerId ¶
func (q *Queries) GetWorkerActionsByWorkerId(ctx context.Context, db DBTX, arg GetWorkerActionsByWorkerIdParams) ([]*GetWorkerActionsByWorkerIdRow, error)
func (*Queries) GetWorkerById ¶
func (*Queries) GetWorkerByWebhookId ¶
func (*Queries) GetWorkerDispatcherActions ¶
func (q *Queries) GetWorkerDispatcherActions(ctx context.Context, db DBTX, arg GetWorkerDispatcherActionsParams) ([]*GetWorkerDispatcherActionsRow, error)
func (*Queries) GetWorkerForEngine ¶
func (q *Queries) GetWorkerForEngine(ctx context.Context, db DBTX, arg GetWorkerForEngineParams) (*GetWorkerForEngineRow, error)
func (*Queries) GetWorkerLabels ¶
func (*Queries) GetWorkerWorkflowsByWorkerId ¶ added in v0.73.25
func (*Queries) GetWorkflowById ¶
func (*Queries) GetWorkflowByName ¶
func (*Queries) GetWorkflowLatestVersion ¶
func (*Queries) GetWorkflowRunShape ¶
func (*Queries) GetWorkflowRunTrigger ¶
func (q *Queries) GetWorkflowRunTrigger(ctx context.Context, db DBTX, arg GetWorkflowRunTriggerParams) (*WorkflowRunTriggeredBy, error)
func (*Queries) GetWorkflowVersionById ¶
func (*Queries) GetWorkflowVersionCronTriggerRefs ¶
func (*Queries) GetWorkflowVersionEventTriggerRefs ¶
func (*Queries) GetWorkflowVersionForEngine ¶
func (q *Queries) GetWorkflowVersionForEngine(ctx context.Context, db DBTX, arg GetWorkflowVersionForEngineParams) ([]*GetWorkflowVersionForEngineRow, error)
func (*Queries) GetWorkflowVersionScheduleTriggerRefs ¶
func (*Queries) GetWorkflowWorkerCount ¶
func (q *Queries) GetWorkflowWorkerCount(ctx context.Context, db DBTX, arg GetWorkflowWorkerCountParams) (*GetWorkflowWorkerCountRow, error)
func (*Queries) GetWorkflowsByNames ¶
func (*Queries) HandleWorkflowUnpaused ¶
func (q *Queries) HandleWorkflowUnpaused(ctx context.Context, db DBTX, arg HandleWorkflowUnpausedParams) error
We update all the queue items to have a higher priority so we can unpause them
func (*Queries) HasActiveWorkersForActionId ¶
func (*Queries) LinkActionsToWorker ¶
func (*Queries) LinkOnFailureJob ¶
func (q *Queries) LinkOnFailureJob(ctx context.Context, db DBTX, arg LinkOnFailureJobParams) (*WorkflowVersion, error)
func (*Queries) LinkServicesToWorker ¶
func (*Queries) ListAPITokensByTenant ¶
func (*Queries) ListActiveDispatchers ¶
func (*Queries) ListActiveTickers ¶
func (*Queries) ListCronWorkflows ¶
func (q *Queries) ListCronWorkflows(ctx context.Context, db DBTX, arg ListCronWorkflowsParams) ([]*ListCronWorkflowsRow, error)
Get all of the latest workflow versions for the tenant
func (*Queries) ListDispatcherIdsForWorkers ¶
func (q *Queries) ListDispatcherIdsForWorkers(ctx context.Context, db DBTX, arg ListDispatcherIdsForWorkersParams) ([]*ListDispatcherIdsForWorkersRow, error)
func (*Queries) ListDispatchers ¶
func (*Queries) ListInvitesByTenantId ¶
func (q *Queries) ListInvitesByTenantId(ctx context.Context, db DBTX, arg ListInvitesByTenantIdParams) ([]*TenantInviteLink, error)
func (*Queries) ListManyWorkerLabels ¶
func (*Queries) ListNewlyStaleTickers ¶
func (*Queries) ListPausedWorkflows ¶
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) ListRecentAssignedEventsForWorker ¶
func (q *Queries) ListRecentAssignedEventsForWorker(ctx context.Context, db DBTX, arg ListRecentAssignedEventsForWorkerParams) ([]*ListRecentAssignedEventsForWorkerRow, error)
func (*Queries) ListSNSIntegrations ¶
func (*Queries) ListScheduledWorkflows ¶
func (q *Queries) ListScheduledWorkflows(ctx context.Context, db DBTX, arg ListScheduledWorkflowsParams) ([]*ListScheduledWorkflowsRow, error)
func (*Queries) ListSemaphoreSlotsWithStateForWorker ¶
func (q *Queries) ListSemaphoreSlotsWithStateForWorker(ctx context.Context, db DBTX, arg ListSemaphoreSlotsWithStateForWorkerParams) ([]*ListSemaphoreSlotsWithStateForWorkerRow, error)
func (*Queries) ListSlackWebhooks ¶
func (*Queries) ListStaleDispatchers ¶
func (*Queries) ListStepRunExpressionEvals ¶
func (*Queries) ListStepsForJob ¶
func (*Queries) ListTenantAlertGroups ¶
func (*Queries) ListTenantInvitesByEmail ¶
func (*Queries) ListTenantMembers ¶
func (*Queries) ListTenantMemberships ¶
func (*Queries) ListTenantResourceLimits ¶
func (*Queries) ListTenants ¶
func (*Queries) ListTenantsByControllerPartitionId ¶
func (*Queries) ListTenantsBySchedulerPartitionId ¶
func (*Queries) ListTenantsByTenantWorkerPartitionId ¶
func (*Queries) ListTickers ¶
func (*Queries) ListWorkerLabels ¶
func (*Queries) ListWorkersWithSlotCount ¶
func (q *Queries) ListWorkersWithSlotCount(ctx context.Context, db DBTX, arg ListWorkersWithSlotCountParams) ([]*ListWorkersWithSlotCountRow, error)
func (*Queries) ListWorkflows ¶
func (q *Queries) ListWorkflows(ctx context.Context, db DBTX, arg ListWorkflowsParams) ([]*ListWorkflowsRow, error)
func (*Queries) ListWorkflowsForEvent ¶
func (q *Queries) ListWorkflowsForEvent(ctx context.Context, db DBTX, arg ListWorkflowsForEventParams) ([]pgtype.UUID, error)
Get all of the latest workflow versions for the tenant select the workflow versions that have the event trigger
func (*Queries) ListWorkflowsLatestRuns ¶
func (q *Queries) ListWorkflowsLatestRuns(ctx context.Context, db DBTX, arg ListWorkflowsLatestRunsParams) ([]*ListWorkflowsLatestRunsRow, error)
func (*Queries) LockWorkflowVersion ¶
func (*Queries) MeterTenantResource ¶
func (q *Queries) MeterTenantResource(ctx context.Context, db DBTX, arg MeterTenantResourceParams) (*TenantResourceLimit, error)
func (*Queries) MoveCronTriggerToNewWorkflowTriggers ¶
func (*Queries) MoveScheduledTriggerToNewWorkflowTriggers ¶
func (*Queries) PollCronSchedules ¶
func (*Queries) PollExpiringTokens ¶
func (*Queries) PollGetGroupKeyRuns ¶
func (*Queries) PollScheduledWorkflows ¶
func (q *Queries) PollScheduledWorkflows(ctx context.Context, db DBTX, tickerid pgtype.UUID) ([]*PollScheduledWorkflowsRow, error)
Finds workflows that are either past their execution time or will be in the next 5 seconds and assigns them to a ticker, or finds workflows that were assigned to a ticker that is no longer active
func (*Queries) PollTenantAlerts ¶
func (q *Queries) PollTenantAlerts(ctx context.Context, db DBTX, tickerid pgtype.UUID) ([]*PollTenantAlertsRow, error)
Finds tenant alerts which haven't alerted since their frequency and assigns them to a ticker
func (*Queries) PollTenantResourceLimitAlerts ¶
func (*Queries) PollUnresolvedFailedStepRuns ¶
func (*Queries) PopulateTenantMembers ¶
func (*Queries) ReadMessages ¶
func (q *Queries) ReadMessages(ctx context.Context, db DBTX, arg ReadMessagesParams) ([]*ReadMessagesRow, error)
func (*Queries) RebalanceAllControllerPartitions ¶
func (*Queries) RebalanceAllSchedulerPartitions ¶
func (*Queries) RebalanceAllTenantWorkerPartitions ¶
func (*Queries) RebalanceInactiveControllerPartitions ¶
func (*Queries) RebalanceInactiveSchedulerPartitions ¶
func (*Queries) RebalanceInactiveTenantWorkerPartitions ¶
func (*Queries) ReleaseLeases ¶
Releases a set of leases by their IDs. Returns the released leases.
func (*Queries) ResolveAllLimitsIfWindowPassed ¶
func (*Queries) RevokeAPIToken ¶
func (*Queries) SchedulerPartitionHeartbeat ¶
func (*Queries) SelectOrInsertTenantResourceLimit ¶
func (q *Queries) SelectOrInsertTenantResourceLimit(ctx context.Context, db DBTX, arg SelectOrInsertTenantResourceLimitParams) (*SelectOrInsertTenantResourceLimitRow, error)
func (*Queries) SetDispatchersInactive ¶
func (*Queries) SetTickersInactive ¶
func (*Queries) SoftDeleteWorkflow ¶
func (*Queries) UpdateCronTrigger ¶ added in v0.73.35
func (*Queries) UpdateDispatcher ¶
func (q *Queries) UpdateDispatcher(ctx context.Context, db DBTX, arg UpdateDispatcherParams) (*Dispatcher, error)
func (*Queries) UpdateMessageQueueActive ¶
func (*Queries) UpdateScheduledWorkflow ¶
func (*Queries) UpdateTenant ¶
func (*Queries) UpdateTenantAlertGroup ¶
func (q *Queries) UpdateTenantAlertGroup(ctx context.Context, db DBTX, arg UpdateTenantAlertGroupParams) (*TenantAlertEmailGroup, error)
func (*Queries) UpdateTenantAlertingSettings ¶
func (q *Queries) UpdateTenantAlertingSettings(ctx context.Context, db DBTX, arg UpdateTenantAlertingSettingsParams) (*TenantAlertingSettings, error)
func (*Queries) UpdateTenantInvite ¶
func (q *Queries) UpdateTenantInvite(ctx context.Context, db DBTX, arg UpdateTenantInviteParams) (*TenantInviteLink, error)
func (*Queries) UpdateTenantMember ¶
func (q *Queries) UpdateTenantMember(ctx context.Context, db DBTX, arg UpdateTenantMemberParams) (*TenantMember, error)
func (*Queries) UpdateTicker ¶
func (*Queries) UpdateUser ¶
func (*Queries) UpdateUserPassword ¶
func (q *Queries) UpdateUserPassword(ctx context.Context, db DBTX, arg UpdateUserPasswordParams) (*UserPassword, error)
func (*Queries) UpdateUserSession ¶
func (q *Queries) UpdateUserSession(ctx context.Context, db DBTX, arg UpdateUserSessionParams) (*UserSession, error)
func (*Queries) UpdateWorker ¶
func (*Queries) UpdateWorkerActiveStatus ¶
func (*Queries) UpdateWorkerHeartbeat ¶
func (*Queries) UpdateWorkersByWebhookId ¶
func (*Queries) UpdateWorkflow ¶
func (*Queries) UpsertAction ¶
func (*Queries) UpsertDesiredWorkerLabel ¶
func (q *Queries) UpsertDesiredWorkerLabel(ctx context.Context, db DBTX, arg UpsertDesiredWorkerLabelParams) (*StepDesiredWorkerLabel, error)
func (*Queries) UpsertMessageQueue ¶
func (q *Queries) UpsertMessageQueue(ctx context.Context, db DBTX, arg UpsertMessageQueueParams) (*MessageQueue, error)
func (*Queries) UpsertRateLimit ¶
func (*Queries) UpsertRateLimitsBulk ¶
func (*Queries) UpsertService ¶
func (*Queries) UpsertSlackWebhook ¶
func (q *Queries) UpsertSlackWebhook(ctx context.Context, db DBTX, arg UpsertSlackWebhookParams) (*SlackAppWebhook, error)
func (*Queries) UpsertTenantAlertingSettings ¶
func (q *Queries) UpsertTenantAlertingSettings(ctx context.Context, db DBTX, arg UpsertTenantAlertingSettingsParams) (*TenantAlertingSettings, error)
func (*Queries) UpsertTenantResourceLimit ¶
func (q *Queries) UpsertTenantResourceLimit(ctx context.Context, db DBTX, arg UpsertTenantResourceLimitParams) (*TenantResourceLimit, error)
func (*Queries) UpsertUserOAuth ¶
func (*Queries) UpsertWorkerLabel ¶
func (q *Queries) UpsertWorkerLabel(ctx context.Context, db DBTX, arg UpsertWorkerLabelParams) (*WorkerLabel, error)
func (*Queries) UpsertWorkflowTag ¶
func (*Queries) WorkerPartitionHeartbeat ¶
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 ReadMessagesParams ¶
type ReadMessagesRow ¶
type ResolveAllLimitsIfWindowPassedRow ¶
type ResolveAllLimitsIfWindowPassedRow 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 RetryQueueItem ¶
type SNSIntegration ¶
type SchedulerPartition ¶
type SecurityCheckIdent ¶
type SelectOrInsertTenantResourceLimitParams ¶
type SelectOrInsertTenantResourceLimitParams struct {
Tenantid pgtype.UUID `json:"tenantid"`
Resource NullLimitResource `json:"resource"`
LimitValue pgtype.Int4 `json:"limitValue"`
AlarmValue pgtype.Int4 `json:"alarmValue"`
Window pgtype.Text `json:"window"`
CustomValueMeter pgtype.Bool `json:"customValueMeter"`
}
type SelectOrInsertTenantResourceLimitRow ¶
type SelectOrInsertTenantResourceLimitRow 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 SemaphoreQueueItem ¶
type ServiceToWorker ¶
type SetDispatchersInactiveRow ¶
type SetDispatchersInactiveRow struct {
Dispatcher Dispatcher `json:"dispatcher"`
}
type SetTickersInactiveRow ¶
type SetTickersInactiveRow struct {
Ticker Ticker `json:"ticker"`
}
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 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"`
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"`
OnboardingData []byte `json:"onboardingData"`
Environment NullTenantEnvironment `json:"environment"`
}
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 TenantEnvironment ¶ added in v0.71.8
type TenantEnvironment string
const ( TenantEnvironmentLocal TenantEnvironment = "local" TenantEnvironmentDevelopment TenantEnvironment = "development" TenantEnvironmentProduction TenantEnvironment = "production" )
func (*TenantEnvironment) Scan ¶ added in v0.71.8
func (e *TenantEnvironment) Scan(src interface{}) error
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 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 UpdateCronTriggerParams ¶ added in v0.73.35
type UpdateDispatcherParams ¶
type UpdateTenantInviteParams ¶
type UpdateTenantInviteParams struct {
Status NullInviteLinkStatus `json:"status"`
Role NullTenantMemberRole `json:"role"`
ID pgtype.UUID `json:"id"`
}
type UpdateTenantMemberParams ¶
type UpdateTenantMemberParams struct {
Role NullTenantMemberRole `json:"role"`
ID pgtype.UUID `json:"id"`
}
type UpdateTenantParams ¶
type UpdateTickerParams ¶
type UpdateUserParams ¶
type UpdateUserSessionParams ¶
type UpdateWorkerParams ¶
type UpdateWorkflowParams ¶
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 UpsertRateLimitParams ¶
type UpsertServiceParams ¶
type UpsertTenantAlertingSettingsParams ¶
type UpsertTenantAlertingSettingsParams struct {
Tenantid pgtype.UUID `json:"tenantid"`
MaxFrequency pgtype.Text `json:"maxFrequency"`
EnableExpiringTokenAlerts pgtype.Bool `json:"enableExpiringTokenAlerts"`
EnableWorkflowRunFailureAlerts pgtype.Bool `json:"enableWorkflowRunFailureAlerts"`
EnableTenantResourceLimitAlerts pgtype.Bool `json:"enableTenantResourceLimitAlerts"`
}
type UpsertTenantResourceLimitParams ¶
type UpsertTenantResourceLimitParams struct {
Tenantid pgtype.UUID `json:"tenantid"`
Resource NullLimitResource `json:"resource"`
LimitValue pgtype.Int4 `json:"limitValue"`
AlarmValue pgtype.Int4 `json:"alarmValue"`
Window pgtype.Text `json:"window"`
CustomValueMeter pgtype.Bool `json:"customValueMeter"`
}
type UpsertUserOAuthParams ¶
type UpsertWorkerLabelParams ¶
type UpsertWorkflowTagParams ¶
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 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
¶
- api_tokens.sql.go
- copyfrom.go
- db.go
- dispatchers.sql.go
- health.sql.go
- lease.sql.go
- models.go
- mq.sql.go
- rate_limits.sql.go
- security_check.sql.go
- slack.sql.go
- sns.sql.go
- step_runs.sql.go
- tenant_invites.sql.go
- tenant_limits.sql.go
- tenants.sql.go
- tickers.sql.go
- users.sql.go
- workers.sql.go
- workflow_runs.sql.go
- workflows.sql.go