Documentation ¶
Overview ¶
Package rest provides a REST API for querying the tree metadata.
It is currently used as the main access point for listing folders in the frontend, as S3 listings cannot carry nodes metadata in one single request.
Index ¶
- type Handler
- func (h *Handler) DeleteMeta(req *restful.Request, resp *restful.Response)
- func (h *Handler) EnrichMetaFromProviders(ctx context.Context, ...)
- func (h *Handler) Filter() func(string) string
- func (h *Handler) GetBulkMeta(req *restful.Request, resp *restful.Response)
- func (h *Handler) GetMeta(req *restful.Request, resp *restful.Response)
- func (h *Handler) GetMetaProviderStreamers() []tree.NodeProviderStreamerClient
- func (h *Handler) SetMeta(req *restful.Request, resp *restful.Response)
- func (h *Handler) SwaggerTags() []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func (*Handler) DeleteMeta ¶
func (h *Handler) DeleteMeta(req *restful.Request, resp *restful.Response)
func (*Handler) EnrichMetaFromProviders ¶
func (*Handler) GetBulkMeta ¶
func (h *Handler) GetBulkMeta(req *restful.Request, resp *restful.Response)
func (*Handler) GetMetaProviderStreamers ¶
func (h *Handler) GetMetaProviderStreamers() []tree.NodeProviderStreamerClient
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.