Documentation ¶
Index ¶
- func JobRunQueuedToTask(job *db.JobModel, jobRun *db.JobRunModel) *taskqueue.Task
- func StepRunQueuedToTask(job *db.JobModel, stepRun *db.StepRunModel) *taskqueue.Task
- func TenantToGroupKeyActionRequeueTask(tenant db.TenantModel) *taskqueue.Task
- func TenantToStepRunRequeueTask(tenant db.TenantModel) *taskqueue.Task
- func WorkflowRunQueuedToTask(workflowRun *db.WorkflowRunModel) *taskqueue.Task
- type CancelCronTaskMetadata
- type CancelCronTaskPayload
- type CancelGetGroupKeyRunTimeoutTaskMetadata
- type CancelGetGroupKeyRunTimeoutTaskPayload
- type CancelJobRunTimeoutTaskMetadata
- type CancelJobRunTimeoutTaskPayload
- type CancelStepRunTimeoutTaskMetadata
- type CancelStepRunTimeoutTaskPayload
- type CancelWorkflowTaskMetadata
- type CancelWorkflowTaskPayload
- 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 JobRunQueuedTaskMetadata
- type JobRunQueuedTaskPayload
- type JobRunTimedOutTaskMetadata
- type JobRunTimedOutTaskPayload
- type RemoveTickerTaskMetadata
- type RemoveTickerTaskPayload
- type ScheduleCronTaskMetadata
- type ScheduleCronTaskPayload
- type ScheduleGetGroupKeyRunTimeoutTaskMetadata
- type ScheduleGetGroupKeyRunTimeoutTaskPayload
- type ScheduleJobRunTimeoutTaskMetadata
- type ScheduleJobRunTimeoutTaskPayload
- type ScheduleStepRunTimeoutTaskMetadata
- type ScheduleStepRunTimeoutTaskPayload
- type ScheduleWorkflowTaskMetadata
- type ScheduleWorkflowTaskPayload
- type StepRunAssignedTaskMetadata
- type StepRunAssignedTaskPayload
- type StepRunCancelledTaskMetadata
- type StepRunCancelledTaskPayload
- type StepRunFailedTaskMetadata
- type StepRunFailedTaskPayload
- type StepRunFinishedTaskMetadata
- type StepRunFinishedTaskPayload
- type StepRunNotifyCancelTaskMetadata
- type StepRunNotifyCancelTaskPayload
- type StepRunRequeueTaskMetadata
- type StepRunRequeueTaskPayload
- type StepRunStartedTaskMetadata
- type StepRunStartedTaskPayload
- type StepRunTaskMetadata
- type StepRunTaskPayload
- type StepRunTimedOutTaskMetadata
- type StepRunTimedOutTaskPayload
- type WorkflowRunQueuedTaskMetadata
- type WorkflowRunQueuedTaskPayload
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JobRunQueuedToTask ¶
func StepRunQueuedToTask ¶
func TenantToGroupKeyActionRequeueTask ¶ added in v0.8.0
func TenantToGroupKeyActionRequeueTask(tenant db.TenantModel) *taskqueue.Task
func TenantToStepRunRequeueTask ¶
func TenantToStepRunRequeueTask(tenant db.TenantModel) *taskqueue.Task
func WorkflowRunQueuedToTask ¶ added in v0.8.0
func WorkflowRunQueuedToTask(workflowRun *db.WorkflowRunModel) *taskqueue.Task
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 CancelJobRunTimeoutTaskMetadata ¶
type CancelJobRunTimeoutTaskMetadata struct {
TenantId string `json:"tenant_id" validate:"required,uuid"`
}
type CancelJobRunTimeoutTaskPayload ¶
type CancelJobRunTimeoutTaskPayload struct {
JobRunId string `json:"job_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 EventTaskMetadata ¶
type EventTaskPayload ¶
type EventTaskPayload struct {
EventId string `json:"event_id" validate:"required,uuid"`
}
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 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 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 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 ScheduleJobRunTimeoutTaskMetadata ¶
type ScheduleJobRunTimeoutTaskMetadata struct {
TenantId string `json:"tenant_id" validate:"required,uuid"`
}
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 StepRunFailedTaskMetadata ¶
type StepRunFailedTaskMetadata struct {
TenantId string `json:"tenant_id" validate:"required,uuid"`
}
type StepRunFinishedTaskMetadata ¶
type StepRunFinishedTaskMetadata struct {
TenantId string `json:"tenant_id" validate:"required,uuid"`
}
type StepRunNotifyCancelTaskMetadata ¶ added in v0.8.0
type StepRunNotifyCancelTaskMetadata struct {
TenantId string `json:"tenant_id" validate:"required,uuid"`
}
type StepRunNotifyCancelTaskPayload ¶ added in v0.8.0
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 StepRunStartedTaskMetadata ¶
type StepRunStartedTaskMetadata struct {
TenantId string `json:"tenant_id" validate:"required,uuid"`
}
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 StepRunTimedOutTaskMetadata ¶
type StepRunTimedOutTaskMetadata struct {
TenantId string `json:"tenant_id" validate:"required,uuid"`
}
type WorkflowRunQueuedTaskMetadata ¶ added in v0.8.0
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.