Documentation ¶
Index ¶
- func CheckTenantQueueToTask(tenantId string) *msgqueue.Message
- func JobRunCancelledToTask(tenantId, jobRunId string, reason *string) *msgqueue.Message
- func JobRunQueuedToTask(tenantId, jobRunId string) *msgqueue.Message
- func StepRunCancelToTask(stepRun *dbsqlc.GetStepRunForEngineRow, reason string) *msgqueue.Message
- func StepRunQueuedToTask(stepRun *dbsqlc.GetStepRunForEngineRow) *msgqueue.Message
- func StepRunReplayToTask(stepRun *dbsqlc.GetStepRunForEngineRow, inputData []byte) *msgqueue.Message
- func StepRunRetryToTask(stepRun *dbsqlc.GetStepRunForEngineRow, inputData []byte) *msgqueue.Message
- func TenantToGroupKeyActionRequeueTask(tenant db.TenantModel) *msgqueue.Message
- func WorkflowRunFinishedToTask(tenantId, workflowRunId, status string) *msgqueue.Message
- func WorkflowRunQueuedToTask(tenantId, workflowRunId string) *msgqueue.Message
- func WorkflowRunReplayToTask(tenantId, workflowRunId string) *msgqueue.Message
- type CancelCronTaskMetadata
- type CancelCronTaskPayload
- type CancelGetGroupKeyRunTimeoutTaskMetadata
- type CancelGetGroupKeyRunTimeoutTaskPayload
- type CancelStepRunTimeoutTaskMetadata
- type CancelStepRunTimeoutTaskPayload
- type CancelWorkflowTaskMetadata
- type CancelWorkflowTaskPayload
- type CheckTenantQueueMetadata
- type EventTaskMetadata
- type EventTaskPayload
- type GetGroupKeyRunFailedTaskMetadata
- type GetGroupKeyRunFailedTaskPayload
- type GetGroupKeyRunFinishedTaskMetadata
- type GetGroupKeyRunFinishedTaskPayload
- type GetGroupKeyRunStartedTaskMetadata
- type GetGroupKeyRunStartedTaskPayload
- type GetGroupKeyRunTimedOutTaskMetadata
- type GetGroupKeyRunTimedOutTaskPayload
- type GroupKeyActionAssignedTaskMetadata
- type GroupKeyActionAssignedTaskPayload
- type GroupKeyActionRequeueTaskMetadata
- type GroupKeyActionRequeueTaskPayload
- type JobRunCancelledTaskMetadata
- type JobRunCancelledTaskPayload
- type JobRunQueuedTaskMetadata
- type JobRunQueuedTaskPayload
- type JobRunTimedOutTaskMetadata
- type JobRunTimedOutTaskPayload
- type RemoveTickerTaskMetadata
- type RemoveTickerTaskPayload
- type ReplayWorkflowRunTaskMetadata
- type ReplayWorkflowRunTaskPayload
- type ScheduleCronTaskMetadata
- type ScheduleCronTaskPayload
- type ScheduleGetGroupKeyRunTimeoutTaskMetadata
- type ScheduleGetGroupKeyRunTimeoutTaskPayload
- type ScheduleStepRunTimeoutTaskMetadata
- type ScheduleStepRunTimeoutTaskPayload
- type ScheduleWorkflowTaskMetadata
- type ScheduleWorkflowTaskPayload
- type StepRunAssignedTaskMetadata
- type StepRunAssignedTaskPayload
- type StepRunCancelTaskMetadata
- type StepRunCancelTaskPayload
- type StepRunCancelledTaskMetadata
- type StepRunCancelledTaskPayload
- type StepRunFailedTaskMetadata
- type StepRunFailedTaskPayload
- type StepRunFinishedTaskMetadata
- type StepRunFinishedTaskPayload
- type StepRunReplayTaskMetadata
- type StepRunReplayTaskPayload
- type StepRunRequeueTaskMetadata
- type StepRunRequeueTaskPayload
- type StepRunRetryTaskMetadata
- type StepRunRetryTaskPayload
- type StepRunStartedTaskMetadata
- type StepRunStartedTaskPayload
- type StepRunStreamEventTaskMetadata
- type StepRunStreamEventTaskPayload
- type StepRunTaskMetadata
- type StepRunTaskPayload
- type StepRunTimedOutTaskMetadata
- type StepRunTimedOutTaskPayload
- type WorkflowRunFinishedTask
- type WorkflowRunFinishedTaskMetadata
- type WorkflowRunQueuedTaskMetadata
- type WorkflowRunQueuedTaskPayload
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckTenantQueueToTask ¶ added in v0.42.0
func JobRunCancelledToTask ¶ added in v0.25.0
func JobRunQueuedToTask ¶
func StepRunCancelToTask ¶ added in v0.19.0
func StepRunCancelToTask(stepRun *dbsqlc.GetStepRunForEngineRow, reason string) *msgqueue.Message
func StepRunQueuedToTask ¶
func StepRunQueuedToTask(stepRun *dbsqlc.GetStepRunForEngineRow) *msgqueue.Message
func StepRunReplayToTask ¶ added in v0.28.1
func StepRunReplayToTask(stepRun *dbsqlc.GetStepRunForEngineRow, inputData []byte) *msgqueue.Message
func StepRunRetryToTask ¶ added in v0.11.0
func StepRunRetryToTask(stepRun *dbsqlc.GetStepRunForEngineRow, inputData []byte) *msgqueue.Message
func TenantToGroupKeyActionRequeueTask ¶ added in v0.8.0
func TenantToGroupKeyActionRequeueTask(tenant db.TenantModel) *msgqueue.Message
func WorkflowRunFinishedToTask ¶ added in v0.10.2
func WorkflowRunQueuedToTask ¶ added in v0.8.0
func WorkflowRunReplayToTask ¶ added in v0.39.0
Types ¶
type CancelCronTaskMetadata ¶
type CancelCronTaskMetadata struct {
TenantId string `json:"tenant_id" validate:"required,uuid"`
}
type CancelCronTaskPayload ¶
type CancelGetGroupKeyRunTimeoutTaskMetadata ¶ added in v0.8.0
type CancelGetGroupKeyRunTimeoutTaskMetadata struct {
TenantId string `json:"tenant_id" validate:"required,uuid"`
}
type CancelGetGroupKeyRunTimeoutTaskPayload ¶ added in v0.8.0
type CancelGetGroupKeyRunTimeoutTaskPayload struct {
GetGroupKeyRunId string `json:"get_group_key_run_id" validate:"required,uuid"`
}
type CancelStepRunTimeoutTaskMetadata ¶
type CancelStepRunTimeoutTaskMetadata struct {
TenantId string `json:"tenant_id" validate:"required,uuid"`
}
type CancelStepRunTimeoutTaskPayload ¶
type CancelStepRunTimeoutTaskPayload struct {
StepRunId string `json:"step_run_id" validate:"required,uuid"`
}
type CancelWorkflowTaskMetadata ¶
type CancelWorkflowTaskMetadata struct {
TenantId string `json:"tenant_id" validate:"required,uuid"`
}
type CheckTenantQueueMetadata ¶ added in v0.42.0
type CheckTenantQueueMetadata struct {
TenantId string `json:"tenant_id" validate:"required,uuid"`
}
type EventTaskMetadata ¶
type EventTaskPayload ¶
type GetGroupKeyRunFailedTaskMetadata ¶ added in v0.8.0
type GetGroupKeyRunFailedTaskMetadata struct {
TenantId string `json:"tenant_id" validate:"required,uuid"`
}
type GetGroupKeyRunFailedTaskPayload ¶ added in v0.8.0
type GetGroupKeyRunFinishedTaskMetadata ¶ added in v0.8.0
type GetGroupKeyRunFinishedTaskMetadata struct {
TenantId string `json:"tenant_id" validate:"required,uuid"`
}
type GetGroupKeyRunFinishedTaskPayload ¶ added in v0.8.0
type GetGroupKeyRunStartedTaskMetadata ¶ added in v0.8.0
type GetGroupKeyRunStartedTaskMetadata struct {
TenantId string `json:"tenant_id" validate:"required,uuid"`
}
type GetGroupKeyRunStartedTaskPayload ¶ added in v0.8.0
type GetGroupKeyRunTimedOutTaskMetadata ¶ added in v0.8.0
type GetGroupKeyRunTimedOutTaskMetadata struct {
TenantId string `json:"tenant_id" validate:"required,uuid"`
}
type GetGroupKeyRunTimedOutTaskPayload ¶ added in v0.8.0
type GetGroupKeyRunTimedOutTaskPayload struct {
GetGroupKeyRunId string `json:"get_group_key_run_id" validate:"required,uuid"`
}
type GroupKeyActionAssignedTaskMetadata ¶ added in v0.8.0
type GroupKeyActionAssignedTaskPayload ¶ added in v0.8.0
type GroupKeyActionRequeueTaskMetadata ¶ added in v0.8.0
type GroupKeyActionRequeueTaskMetadata struct {
TenantId string `json:"tenant_id" validate:"required,uuid"`
}
type GroupKeyActionRequeueTaskPayload ¶ added in v0.8.0
type GroupKeyActionRequeueTaskPayload struct {
TenantId string `json:"tenant_id" validate:"required,uuid"`
}
type JobRunCancelledTaskMetadata ¶ added in v0.25.0
type JobRunCancelledTaskMetadata struct {
TenantId string `json:"tenant_id" validate:"required,uuid"`
}
type JobRunCancelledTaskPayload ¶ added in v0.25.0
type JobRunQueuedTaskMetadata ¶
type JobRunQueuedTaskMetadata struct {
TenantId string `json:"tenant_id" validate:"required,uuid"`
}
type JobRunQueuedTaskPayload ¶
type JobRunQueuedTaskPayload struct {
JobRunId string `json:"job_run_id" validate:"required,uuid"`
}
type JobRunTimedOutTaskMetadata ¶
type JobRunTimedOutTaskMetadata struct {
TenantId string `json:"tenant_id" validate:"required,uuid"`
}
type JobRunTimedOutTaskPayload ¶
type JobRunTimedOutTaskPayload struct {
JobRunId string `json:"job_run_id" validate:"required,uuid"`
}
type RemoveTickerTaskMetadata ¶
type RemoveTickerTaskMetadata struct{}
type RemoveTickerTaskPayload ¶
type RemoveTickerTaskPayload struct {
TickerId string `json:"ticker_id" validate:"required,uuid"`
}
type ReplayWorkflowRunTaskMetadata ¶ added in v0.39.0
type ReplayWorkflowRunTaskMetadata struct {
TenantId string `json:"tenant_id" validate:"required,uuid"`
}
type ReplayWorkflowRunTaskPayload ¶ added in v0.39.0
type ReplayWorkflowRunTaskPayload struct {
WorkflowRunId string `json:"workflow_run_id" validate:"required,uuid"`
}
type ScheduleCronTaskMetadata ¶
type ScheduleCronTaskMetadata struct {
TenantId string `json:"tenant_id" validate:"required,uuid"`
}
type ScheduleCronTaskPayload ¶
type ScheduleGetGroupKeyRunTimeoutTaskMetadata ¶ added in v0.8.0
type ScheduleGetGroupKeyRunTimeoutTaskMetadata struct {
TenantId string `json:"tenant_id" validate:"required,uuid"`
}
type ScheduleGetGroupKeyRunTimeoutTaskPayload ¶ added in v0.8.0
type ScheduleStepRunTimeoutTaskMetadata ¶
type ScheduleStepRunTimeoutTaskMetadata struct {
TenantId string `json:"tenant_id" validate:"required,uuid"`
}
type ScheduleWorkflowTaskMetadata ¶
type ScheduleWorkflowTaskMetadata struct {
TenantId string `json:"tenant_id" validate:"required,uuid"`
}
type StepRunCancelTaskMetadata ¶ added in v0.42.0
type StepRunCancelTaskMetadata struct {
TenantId string `json:"tenant_id" validate:"required,uuid"`
}
type StepRunCancelTaskPayload ¶ added in v0.42.0
type StepRunCancelledTaskPayload ¶
type StepRunCancelledTaskPayload struct { WorkflowRunId string `json:"workflow_run_id" validate:"required,uuid"` StepRunId string `json:"step_run_id" validate:"required,uuid"` WorkerId string `json:"worker_id" validate:"required,uuid"` CancelledReason string `json:"cancelled_reason" validate:"required"` StepRetries *int32 `json:"step_retries,omitempty"` RetryCount *int32 `json:"retry_count,omitempty"` }
type StepRunFailedTaskMetadata ¶
type StepRunFailedTaskMetadata struct {
TenantId string `json:"tenant_id" validate:"required,uuid"`
}
type StepRunFailedTaskPayload ¶
type StepRunFailedTaskPayload struct { WorkflowRunId string `json:"workflow_run_id" validate:"required,uuid"` StepRunId string `json:"step_run_id" validate:"required,uuid"` FailedAt string `json:"failed_at" validate:"required"` Error string `json:"error" validate:"required"` StepRetries *int32 `json:"step_retries,omitempty"` RetryCount *int32 `json:"retry_count,omitempty"` }
type StepRunFinishedTaskMetadata ¶
type StepRunFinishedTaskMetadata struct {
TenantId string `json:"tenant_id" validate:"required,uuid"`
}
type StepRunFinishedTaskPayload ¶
type StepRunFinishedTaskPayload struct { WorkflowRunId string `json:"workflow_run_id" validate:"required,uuid"` StepRunId string `json:"step_run_id" validate:"required,uuid"` FinishedAt string `json:"finished_at" validate:"required"` StepOutputData string `json:"step_output_data"` StepRetries *int32 `json:"step_retries,omitempty"` RetryCount *int32 `json:"retry_count,omitempty"` }
type StepRunReplayTaskMetadata ¶ added in v0.28.1
type StepRunReplayTaskMetadata struct {
TenantId string `json:"tenant_id" validate:"required,uuid"`
}
type StepRunReplayTaskPayload ¶ added in v0.28.1
type StepRunReplayTaskPayload struct { WorkflowRunId string `json:"workflow_run_id" validate:"required,uuid"` StepRunId string `json:"step_run_id" validate:"required,uuid"` JobRunId string `json:"job_run_id" validate:"required,uuid"` // optional - if not provided, the step run will be retried with the same input InputData string `json:"input_data,omitempty"` StepRetries *int32 `json:"step_retries,omitempty"` RetryCount *int32 `json:"retry_count,omitempty"` }
type StepRunRequeueTaskMetadata ¶
type StepRunRequeueTaskMetadata struct {
TenantId string `json:"tenant_id" validate:"required,uuid"`
}
type StepRunRequeueTaskPayload ¶
type StepRunRequeueTaskPayload struct {
TenantId string `json:"tenant_id" validate:"required,uuid"`
}
type StepRunRetryTaskMetadata ¶ added in v0.11.0
type StepRunRetryTaskMetadata struct {
TenantId string `json:"tenant_id" validate:"required,uuid"`
}
type StepRunRetryTaskPayload ¶ added in v0.11.0
type StepRunRetryTaskPayload struct { WorkflowRunId string `json:"workflow_run_id" validate:"required,uuid"` StepRunId string `json:"step_run_id" validate:"required,uuid"` JobRunId string `json:"job_run_id" validate:"required,uuid"` // optional - if not provided, the step run will be retried with the same input InputData string `json:"input_data,omitempty"` StepRetries *int32 `json:"step_retries,omitempty"` RetryCount *int32 `json:"retry_count,omitempty"` }
type StepRunStartedTaskMetadata ¶
type StepRunStartedTaskMetadata struct {
TenantId string `json:"tenant_id" validate:"required,uuid"`
}
type StepRunStartedTaskPayload ¶
type StepRunStartedTaskPayload struct { WorkflowRunId string `json:"workflow_run_id" validate:"required,uuid"` StepRunId string `json:"step_run_id" validate:"required,uuid"` StartedAt string `json:"started_at" validate:"required"` StepRetries *int32 `json:"step_retries,omitempty"` RetryCount *int32 `json:"retry_count,omitempty"` }
type StepRunStreamEventTaskMetadata ¶ added in v0.19.0
type StepRunStreamEventTaskPayload ¶ added in v0.19.0
type StepRunStreamEventTaskPayload struct { WorkflowRunId string `json:"workflow_run_id" validate:"required,uuid"` StepRunId string `json:"step_run_id" validate:"required,uuid"` CreatedAt string `json:"created_at" validate:"required"` StreamEventId string `json:"stream_event_id"` StepRetries *int32 `json:"step_retries,omitempty"` RetryCount *int32 `json:"retry_count,omitempty"` }
type StepRunTaskMetadata ¶
type StepRunTaskMetadata struct { TenantId string `json:"tenant_id" validate:"required,uuid"` StepId string `json:"step_id" validate:"required,uuid"` ActionId string `json:"action_id" validate:"required,actionId"` JobId string `json:"job_id" validate:"required,uuid"` JobName string `json:"job_name" validate:"required,hatchetName"` WorkflowVersionId string `json:"workflow_version_id" validate:"required,uuid"` }
type StepRunTaskPayload ¶
type StepRunTaskPayload struct { WorkflowRunId string `json:"workflow_run_id" validate:"required,uuid"` StepRunId string `json:"step_run_id" validate:"required,uuid"` JobRunId string `json:"job_run_id" validate:"required,uuid"` StepRetries *int32 `json:"step_retries,omitempty"` RetryCount *int32 `json:"retry_count,omitempty"` }
type StepRunTimedOutTaskMetadata ¶
type StepRunTimedOutTaskMetadata struct {
TenantId string `json:"tenant_id" validate:"required,uuid"`
}
type WorkflowRunFinishedTask ¶ added in v0.10.2
type WorkflowRunFinishedTaskMetadata ¶ added in v0.10.2
type WorkflowRunFinishedTaskMetadata struct {
TenantId string `json:"tenant_id" validate:"required,uuid"`
}
type WorkflowRunQueuedTaskMetadata ¶ added in v0.8.0
type WorkflowRunQueuedTaskMetadata struct {
TenantId string `json:"tenant_id" validate:"required,uuid"`
}
type WorkflowRunQueuedTaskPayload ¶ added in v0.8.0
type WorkflowRunQueuedTaskPayload struct {
WorkflowRunId string `json:"workflow_run_id" validate:"required,uuid"`
}
Click to show internal directories.
Click to hide internal directories.