Documentation ¶
Index ¶
- func JobRunQueuedToTask(job *db.JobModel, jobRun *db.JobRunModel) *taskqueue.Task
- func StepRunQueuedToTask(job *db.JobModel, stepRun *db.StepRunModel) *taskqueue.Task
- func TenantToStepRunRequeueTask(tenant db.TenantModel) *taskqueue.Task
- type CancelCronTaskMetadata
- type CancelCronTaskPayload
- type CancelJobRunTimeoutTaskMetadata
- type CancelJobRunTimeoutTaskPayload
- type CancelStepRunTimeoutTaskMetadata
- type CancelStepRunTimeoutTaskPayload
- type EventTaskMetadata
- type EventTaskPayload
- type JobRunQueuedTaskMetadata
- type JobRunQueuedTaskPayload
- type JobRunTimedOutTaskMetadata
- type JobRunTimedOutTaskPayload
- type RemoveTickerTaskMetadata
- type RemoveTickerTaskPayload
- type ScheduleCronTaskMetadata
- type ScheduleCronTaskPayload
- type ScheduleJobRunTimeoutTaskMetadata
- type ScheduleJobRunTimeoutTaskPayload
- type ScheduleStepRunTimeoutTaskMetadata
- type ScheduleStepRunTimeoutTaskPayload
- type StepRunAssignedTaskMetadata
- type StepRunAssignedTaskPayload
- type StepRunCancelledTaskMetadata
- type StepRunCancelledTaskPayload
- type StepRunFailedTaskMetadata
- type StepRunFailedTaskPayload
- type StepRunFinishedTaskMetadata
- type StepRunFinishedTaskPayload
- type StepRunRequeueTaskMetadata
- type StepRunRequeueTaskPayload
- type StepRunStartedTaskMetadata
- type StepRunStartedTaskPayload
- type StepRunTaskMetadata
- type StepRunTaskPayload
- type StepRunTimedOutTaskMetadata
- type StepRunTimedOutTaskPayload
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JobRunQueuedToTask ¶
func StepRunQueuedToTask ¶
func TenantToStepRunRequeueTask ¶
func TenantToStepRunRequeueTask(tenant db.TenantModel) *taskqueue.Task
Types ¶
type CancelCronTaskMetadata ¶
type CancelCronTaskMetadata struct {
TenantId string `json:"tenant_id" validate:"required,uuid"`
}
type CancelCronTaskPayload ¶
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 EventTaskMetadata ¶
type EventTaskPayload ¶
type EventTaskPayload struct {
EventId string `json:"event_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 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 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 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"`
}
Click to show internal directories.
Click to hide internal directories.