Documentation ¶
Overview ¶
Package grpc provides persistence layer for user-defined metadata
Index ¶
- type Cleaner
- type Handler
- func (h *Handler) ListUserMetaNamespace(ctx context.Context, request *idm.ListUserMetaNamespaceRequest, ...) error
- func (h *Handler) ReadNodeStream(ctx context.Context, stream tree.NodeProviderStreamer_ReadNodeStreamStream) error
- func (h *Handler) SearchUserMeta(ctx context.Context, request *idm.SearchUserMetaRequest, ...) error
- func (h *Handler) UpdateUserMeta(ctx context.Context, request *idm.UpdateUserMetaRequest, ...) error
- func (h *Handler) UpdateUserMetaNamespace(ctx context.Context, request *idm.UpdateUserMetaNamespaceRequest, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cleaner ¶
type Cleaner struct { resources.PoliciesCleaner // contains filtered or unexported fields }
Cleaner cleans roles on user deletion
type Handler ¶
type Handler struct{}
Handler definition.
func (*Handler) ListUserMetaNamespace ¶
func (h *Handler) ListUserMetaNamespace(ctx context.Context, request *idm.ListUserMetaNamespaceRequest, stream idm.UserMetaService_ListUserMetaNamespaceStream) error
List all namespaces from underlying DAO.
func (*Handler) ReadNodeStream ¶
func (h *Handler) ReadNodeStream(ctx context.Context, stream tree.NodeProviderStreamer_ReadNodeStreamStream) error
Implements ReadNodeStream to be a meta provider.
func (*Handler) SearchUserMeta ¶
func (h *Handler) SearchUserMeta(ctx context.Context, request *idm.SearchUserMetaRequest, stream idm.UserMetaService_SearchUserMetaStream) error
SearchUserMeta retrieves meta based on various criteria.
func (*Handler) UpdateUserMeta ¶
func (h *Handler) UpdateUserMeta(ctx context.Context, request *idm.UpdateUserMetaRequest, response *idm.UpdateUserMetaResponse) error
UpdateUserMeta adds, updates or deletes user meta.
func (*Handler) UpdateUserMetaNamespace ¶
func (h *Handler) UpdateUserMetaNamespace(ctx context.Context, request *idm.UpdateUserMetaNamespaceRequest, response *idm.UpdateUserMetaNamespaceResponse) error
Update/Delete a namespace.
Click to show internal directories.
Click to hide internal directories.