github.com/semaphoreui/semaphore/api/tasks
No package summary is available.
Package
Files: 1. Third party imports: 1. Imports from organisation: 0. Tests: 0. Benchmarks: 0.
Constants
Types
taskLocation
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| type |
|
No comment on field. |
taskRes
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| TaskID |
|
No comment on field. |
| ProjectID |
|
No comment on field. |
| Username |
|
No comment on field. |
| RunnerID |
|
No comment on field. |
| Status |
|
No comment on field. |
| Location |
|
No comment on field. |
| RunnerName |
|
No comment on field. |
| ProjectName |
|
No comment on field. |
Functions
func DeleteTask
Uses: context.Get, db.Task, helpers.WriteErrorStatus, helpers.WriteJSON, http.StatusInternalServerError, http.StatusNoContent, task2.TaskPool.
func GetTasks
Uses: context.Get, helpers.WriteJSON, http.StatusOK, task2.TaskPool.
func TaskMiddleware
Uses: context.Set, helpers.GetIntParam, helpers.WriteErrorStatus, http.HandlerFunc, http.Request, http.ResponseWriter, http.StatusBadRequest.