Documentation ¶
Index ¶
Constants ¶
View Source
const TaskID = "task-id"
TaskID is a constant for task-id
Variables ¶
This section is empty.
Functions ¶
func NewService ¶
func NewService() *restful.WebService
NewService return definition of the metrics service.
Types ¶
type TaskREST ¶
type TaskREST struct {
// contains filtered or unexported fields
}
TaskREST is a REST wrapper around API.
func (*TaskREST) DeleteTask ¶
func (t *TaskREST) DeleteTask(req *restful.Request, resp *restful.Response)
DeleteTask deletes task.
func (*TaskREST) GetTask ¶
func (t *TaskREST) GetTask(req *restful.Request, resp *restful.Response)
GetTask returns task with the given id.
Click to show internal directories.
Click to hide internal directories.