Documentation ¶
Overview ¶
Package rest exposes a simple API used by admins to query the whole tree directly without going through routers.
Index ¶
- type Handler
- func (h *Handler) BulkStatNodes(req *restful.Request, resp *restful.Response)
- func (h *Handler) CreateNodes(req *restful.Request, resp *restful.Response)
- func (h *Handler) DeleteNodes(req *restful.Request, resp *restful.Response)
- func (a *Handler) Filter() func(string) string
- func (h *Handler) HeadNode(req *restful.Request, resp *restful.Response)
- func (h *Handler) ListAdminTree(req *restful.Request, resp *restful.Response)
- func (h *Handler) RestoreNodes(req *restful.Request, resp *restful.Response)
- func (h *Handler) StatAdminTree(req *restful.Request, resp *restful.Response)
- func (a *Handler) SwaggerTags() []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type 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) DeleteNodes ¶ added in v1.2.0
func (h *Handler) DeleteNodes(req *restful.Request, resp *restful.Response)
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)
func (*Handler) StatAdminTree ¶
func (h *Handler) StatAdminTree(req *restful.Request, resp *restful.Response)
func (*Handler) SwaggerTags ¶
SwaggerTags list the names of the service tags declared in the swagger json implemented by this service
Click to show internal directories.
Click to hide internal directories.