Task
Tasks models the TaskDetails from the task_definition.proto
Attributes
| Attribute | Type | Description |
|---|---|---|
| Environment | string | The environment associated with the task, extracted from its name. |
| FunctionName | string | The name of the function associated with the task, extracted from its name. |
| CreatedAt | time.Time | The timestamp indicating when the task was created. |
| UpdatedAt | time.Time | The timestamp indicating when the task was last updated. |
| DeployedBy | string | The identifier of the entity that deployed the task. |
| TriggerName | sql.NullString | The name of the trigger associated with the task, which can be null. |
| TotalTriggers | uint32 | The total number of triggers associated with the task. |
| ActiveTriggers | uint32 | The number of active triggers associated with the task. |
| TriggerAutomationSpec | []byte | The specification for trigger automation as a byte array. |
| TriggerTypes | pgtype.Bits | The types of triggers associated with the task, represented as a bitfield. |
| EnvDescription | sql.NullString | A description of the environment, which can be null. |
| ShortDescription | sql.NullString | A short description of the task, which can be null. |
| TaskSpec | []byte | The specification of the task as a byte array. |