Documentation ¶
Overview ¶
Package grpc provides persistence layer for user-defined metadata
Index ¶
- Variables
- type Cleaner
- type Handler
- func (h *Handler) ListUserMetaNamespace(request *idm.ListUserMetaNamespaceRequest, ...) error
- func (h *Handler) ModifyLogin(ctx context.Context, req *service.ModifyLoginRequest) (*service.ModifyLoginResponse, error)
- func (h *Handler) Name() string
- func (h *Handler) ReadNodeStream(stream tree.NodeProviderStreamer_ReadNodeStreamServer) error
- func (h *Handler) SearchUserMeta(request *idm.SearchUserMetaRequest, ...) error
- func (h *Handler) Stop()
- func (h *Handler) UpdateUserMeta(ctx context.Context, request *idm.UpdateUserMetaRequest) (*idm.UpdateUserMetaResponse, error)
- func (h *Handler) UpdateUserMetaNamespace(ctx context.Context, request *idm.UpdateUserMetaNamespaceRequest) (*idm.UpdateUserMetaNamespaceResponse, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Name = common.ServiceGrpcNamespace_ + common.ServiceUserMeta
)
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct { idm.UnimplementedUserMetaServiceServer tree.UnimplementedNodeProviderStreamerServer service.UnimplementedLoginModifierServer // contains filtered or unexported fields }
Handler definition.
func (*Handler) ListUserMetaNamespace ¶
func (h *Handler) ListUserMetaNamespace(request *idm.ListUserMetaNamespaceRequest, stream idm.UserMetaService_ListUserMetaNamespaceServer) error
ListUserMetaNamespace List all namespaces from underlying DAO.
func (*Handler) ModifyLogin ¶ added in v4.2.6
func (h *Handler) ModifyLogin(ctx context.Context, req *service.ModifyLoginRequest) (*service.ModifyLoginResponse, error)
func (*Handler) ReadNodeStream ¶
func (h *Handler) ReadNodeStream(stream tree.NodeProviderStreamer_ReadNodeStreamServer) error
ReadNodeStream Implements ReadNodeStream to be a meta provider.
func (*Handler) SearchUserMeta ¶
func (h *Handler) SearchUserMeta(request *idm.SearchUserMetaRequest, stream idm.UserMetaService_SearchUserMetaServer) error
SearchUserMeta retrieves meta based on various criteria.
func (*Handler) UpdateUserMeta ¶
func (h *Handler) UpdateUserMeta(ctx context.Context, request *idm.UpdateUserMetaRequest) (*idm.UpdateUserMetaResponse, error)
UpdateUserMeta adds, updates or deletes user meta.
func (*Handler) UpdateUserMetaNamespace ¶
func (h *Handler) UpdateUserMetaNamespace(ctx context.Context, request *idm.UpdateUserMetaNamespaceRequest) (*idm.UpdateUserMetaNamespaceResponse, error)
UpdateUserMetaNamespace Update/Delete a namespace.
Click to show internal directories.
Click to hide internal directories.