workflows
workflows.SubmitSubtask
Submit a subtask to the task runner.
This function is intended to be used in tasks.
Parameters
A subtask to submit
Options for the subtask
Options
WithDependencies(dependencies ...FutureTask)
Set dependencies for the task
Set the cluster slug of the cluster where the task will be executed.
Set the maximum number of retries for the subtask in case it fails
Returns
A future task that can be used to set dependencies between tasks.