rest

package
v2.3.2+incompatible Latest Latest
Warning

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

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

Syslog retrieves the technical logs items matched by the query and export them in JSON, XLSX or CSV format

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