Documentation ¶
Overview ¶
Package rest provides a REST gateway to the job definition repository.
Index ¶
- type JobsHandler
- func (s *JobsHandler) Filter() func(string) string
- func (s *JobsHandler) ListTasksLogs(req *restful.Request, rsp *restful.Response)
- func (s *JobsHandler) SwaggerTags() []string
- func (s *JobsHandler) UserControlJob(req *restful.Request, rsp *restful.Response)
- func (s *JobsHandler) UserCreateJob(req *restful.Request, rsp *restful.Response)
- func (s *JobsHandler) UserDeleteTasks(req *restful.Request, rsp *restful.Response)
- func (s *JobsHandler) UserListJobs(req *restful.Request, rsp *restful.Response)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JobsHandler ¶
type JobsHandler struct{}
JobsHandler implements methods accessed via the REST gateway to the job definition repository
func (*JobsHandler) Filter ¶
func (s *JobsHandler) Filter() func(string) string
Filter returns a function to filter the swagger path
func (*JobsHandler) ListTasksLogs ¶ added in v1.4.0
func (s *JobsHandler) ListTasksLogs(req *restful.Request, rsp *restful.Response)
ListTasksLogs retrieves the logs attached to a specific task
func (*JobsHandler) SwaggerTags ¶
func (s *JobsHandler) SwaggerTags() []string
SwaggerTags list the names of the service tags declared in the swagger json implemented by this service
func (*JobsHandler) UserControlJob ¶
func (s *JobsHandler) UserControlJob(req *restful.Request, rsp *restful.Response)
func (*JobsHandler) UserCreateJob ¶
func (s *JobsHandler) UserCreateJob(req *restful.Request, rsp *restful.Response)
func (*JobsHandler) UserDeleteTasks ¶
func (s *JobsHandler) UserDeleteTasks(req *restful.Request, rsp *restful.Response)
func (*JobsHandler) UserListJobs ¶
func (s *JobsHandler) UserListJobs(req *restful.Request, rsp *restful.Response)
Click to show internal directories.
Click to hide internal directories.