Documentation ¶
Index ¶
- type Handler
- func (h *Handler) BackgroundActionInfo(req *restful.Request, resp *restful.Response) error
- func (h *Handler) BatchUpdateMeta(req *restful.Request, resp *restful.Response) error
- func (h *Handler) ContextWorkspace(ws *rest.ContextWorkspace, k, v string) *rest.ContextWorkspace
- func (h *Handler) ControlBackgroundAction(req *restful.Request, resp *restful.Response) error
- func (h *Handler) Create(req *restful.Request, resp *restful.Response) error
- func (h *Handler) CreatePublicLink(req *restful.Request, resp *restful.Response) error
- func (h *Handler) CreateSelection(req *restful.Request, resp *restful.Response) error
- func (h *Handler) DeletePublicLink(req *restful.Request, resp *restful.Response) error
- func (h *Handler) Filter() func(string) string
- func (h *Handler) GetByUuid(req *restful.Request, resp *restful.Response) error
- func (h *Handler) GetPublicLink(req *restful.Request, resp *restful.Response) error
- func (h *Handler) ImageMeta(m *rest.ImageMeta, k, v string) *rest.ImageMeta
- func (h *Handler) ListNamespaceValues(req *restful.Request, resp *restful.Response) error
- func (h *Handler) ListNamespaces(req *restful.Request, resp *restful.Response) error
- func (h *Handler) ListVersions(req *restful.Request, resp *restful.Response) error
- func (h *Handler) Lookup(req *restful.Request, resp *restful.Response) error
- func (h *Handler) PatchNode(req *restful.Request, resp *restful.Response) error
- func (h *Handler) PerformAction(req *restful.Request, resp *restful.Response) error
- func (h *Handler) SearchMeta(req *restful.Request, resp *restful.Response) error
- func (h *Handler) SwaggerTags() []string
- func (h *Handler) Templates(req *restful.Request, resp *restful.Response) error
- func (h *Handler) Thumbnails(bucket, nodeId, jsonThumbs string) (ff []*rest.FilePreview)
- func (h *Handler) TreeNodeToNode(n *tree.Node) *rest.Node
- func (h *Handler) TreeNodesToNodes(nn []*tree.Node) (out []*rest.Node)
- func (h *Handler) UpdateNamespaceValues(req *restful.Request, resp *restful.Response) error
- func (h *Handler) UpdatePublicLink(req *restful.Request, resp *restful.Response) error
- func (h *Handler) UserBookmarks(req *restful.Request, resp *restful.Response) error
- func (h *Handler) UuidClient(external bool) nodes.Handler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct { SearchHandler *searcher.Handler TreeHandler *treeer.Handler TemplatesHandler *tpl.Handler UserMetaHandler *umeta.UserMetaHandler }
func NewHandler ¶
func NewHandler() *Handler
func (*Handler) BackgroundActionInfo ¶
BackgroundActionInfo answers to GET /node/action/{Name}/{JobUuid}
func (*Handler) BatchUpdateMeta ¶
BatchUpdateMeta PATCH /node/meta/batch Input rest.BatchUpdateMetaList, Output rest.BatchUpdateMetaList
func (*Handler) ContextWorkspace ¶
func (h *Handler) ContextWorkspace(ws *rest.ContextWorkspace, k, v string) *rest.ContextWorkspace
ContextWorkspace feeds a rest.ContextWorkspace struct with incoming metadata
func (*Handler) ControlBackgroundAction ¶
ControlBackgroundAction answers to PATCH /node/action/{Name}/{JobUuid}
func (*Handler) Create ¶
Create creates folders or files - Files are empty or hydrated from a template Api Endpoint: POST /node/create
func (*Handler) CreatePublicLink ¶
CreatePublicLink responds to POST /node/link/{Uuid}/link InputBody rest.PublicLinkRequest | Output rest.ShareLink
func (*Handler) CreateSelection ¶
CreateSelection forwards to userspace.PersistSelection
func (*Handler) DeletePublicLink ¶
DeletePublicLink responds to DELETE /node/link/{Uuid} Output rest.PublicLinkDeleteSuccess
func (*Handler) GetPublicLink ¶
GetPublicLink responds to GET /node/link/{LinkUuid} Output rest.ShareLink
func (*Handler) ListNamespaceValues ¶
ListNamespaceValues GET /node/meta/namespace/{Namespace} Input based on path parameter, output rest.NamespaceValuesResponse
func (*Handler) ListNamespaces ¶
ListNamespaces GET /node/meta/namespace Empty Input - Returns rest.UserMetaNamespaceCollection
func (*Handler) ListVersions ¶
ListVersions lists all versions of a node
func (*Handler) PerformAction ¶
PerformAction answers to POST /node/action/{Name}
func (*Handler) SearchMeta ¶
SearchMeta POST /node/meta Input idm.SearchUserMetaRequest / Output rest.UserMetaList
func (*Handler) SwaggerTags ¶
SwaggerTags list the names of the service tags declared in the swagger json implemented by this service
func (*Handler) Thumbnails ¶
func (h *Handler) Thumbnails(bucket, nodeId, jsonThumbs string) (ff []*rest.FilePreview)
Thumbnails feeds a rest.FilePreview struct with incoming metadata
func (*Handler) TreeNodeToNode ¶
TreeNodeToNode converts a tree.Node to rest.Node
func (*Handler) TreeNodesToNodes ¶
TreeNodesToNodes applies TreeNodeToNode to all incoming nodes
func (*Handler) UpdateNamespaceValues ¶
UpdateNamespaceValues PATCH /node/meta/namespace/{Namespace} Input rest.NamespaceValuesRequest, output rest.NamespaceValuesResponse
func (*Handler) UpdatePublicLink ¶
UpdatePublicLink responds to PATCH /node/link/{LinkUuid} Input rest.PublicLinkRequest | Output rest.ShareLink, Path Parameters {Uuid}
func (*Handler) UserBookmarks ¶
UserBookmarks GET /node/bookmarks Empty input - returns NodeCollection