rest

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 15, 2018 License: AGPL-3.0 Imports: 20 Imported by: 0

Documentation

Overview

Package rest provides a REST gateway to the job definition repository.

Index

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) 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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL