Go API Documentation

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

string

No comment on field.

taskRes

This type doesn't have documentation.

Field name Field type Comment
TaskID

int

No comment on field.
ProjectID

int

No comment on field.
Username

string

No comment on field.
RunnerID

int

No comment on field.
Status

task_logger.TaskStatus

No comment on field.
Location

taskLocation

No comment on field.
RunnerName

string

No comment on field.
ProjectName

string

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.