Files
fn-serverless/vendor/github.com/funcy/functions_go/docs/Task.md
2017-06-30 11:22:56 -07:00

1.9 KiB

Task

Properties

Name Type Description Notes
Image string Name of Docker image to use. This is optional and can be used to override the image defined at the group level. [default to null]
Payload string Payload for the task. This is what you pass into each task to make it do something. [optional] [default to null]
GroupName string Group this task belongs to. [optional] [default to null]
Error_ string The error message, if status is 'error'. This is errors due to things outside the task itself. Errors from user code will be found in the log. [optional] [default to null]
Reason string Machine usable reason for task being in this state. Valid values for error status are `timeout killed
CreatedAt time.Time Time when task was submitted. Always in UTC. [optional] [default to null]
StartedAt time.Time Time when task started execution. Always in UTC. [optional] [default to null]
CompletedAt time.Time Time when task completed, whether it was successul or failed. Always in UTC. [optional] [default to null]
RetryOf string If this field is set, then this task is a retry of the ID in this field. [optional] [default to null]
RetryAt string If this field is set, then this task was retried by the task referenced in this field. [optional] [default to null]
EnvVars map[string]string Env vars for the task. Comes from the ones set on the Group. [optional] [default to null]

[Back to Model list] [Back to API list] [Back to README]