rest

package
v2.0.8+incompatible Latest Latest
Warning

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

Go to latest
Published: May 29, 2020 License: AGPL-3.0 Imports: 33 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package rest exposes a simple API used by admins to query the whole tree directly without going through routers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	rest_meta.Handler
}

func (*Handler) BulkStatNodes added in v1.2.0

func (h *Handler) BulkStatNodes(req *restful.Request, resp *restful.Response)

func (*Handler) CreateNodes added in v1.2.0

func (h *Handler) CreateNodes(req *restful.Request, resp *restful.Response)

func (*Handler) CreateSelection added in v1.2.1

func (h *Handler) CreateSelection(req *restful.Request, resp *restful.Response)

CreateSelection creates a temporary selection to be stored and used by a later action, currently only download.

func (*Handler) DeleteNodes added in v1.2.0

func (h *Handler) DeleteNodes(req *restful.Request, resp *restful.Response)

DeleteNodes either moves to recycle bin or definitively removes nodes.

func (*Handler) Filter

func (h *Handler) Filter() func(string) string

Filter returns a function to filter the swagger path

func (*Handler) HeadNode added in v1.2.0

func (h *Handler) HeadNode(req *restful.Request, resp *restful.Response)

func (*Handler) ListAdminTree

func (h *Handler) ListAdminTree(req *restful.Request, resp *restful.Response)

func (*Handler) RestoreNodes added in v1.2.0

func (h *Handler) RestoreNodes(req *restful.Request, resp *restful.Response)

RestoreNodes moves corresponding nodes to their initial location before deletion.

func (*Handler) StatAdminTree

func (h *Handler) StatAdminTree(req *restful.Request, resp *restful.Response)

func (*Handler) SwaggerTags

func (h *Handler) SwaggerTags() []string

SwaggerTags list the names of the service tags declared in the swagger json implemented by this service

Jump to

Keyboard shortcuts

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