rest

package
v3.0.4+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2022 License: AGPL-3.0 Imports: 29 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) 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)

Jump to

Keyboard shortcuts

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