Documentation ¶
Overview ¶
Package grpc provides the persistence for workspaces
Index ¶
- type AclBatcher
- type Handler
- func (h *Handler) CreateWorkspace(ctx context.Context, req *idm.CreateWorkspaceRequest, ...) error
- func (h *Handler) DeleteWorkspace(ctx context.Context, req *idm.DeleteWorkspaceRequest, ...) error
- func (h *Handler) SearchWorkspace(ctx context.Context, request *idm.SearchWorkspaceRequest, ...) error
- func (h *Handler) StreamWorkspace(ctx context.Context, streamer idm.WorkspaceService_StreamWorkspaceStream) error
- type WsCleaner
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AclBatcher ¶ added in v1.2.0
type AclBatcher struct {
// contains filtered or unexported fields
}
func NewAclBatcher ¶ added in v1.2.0
func NewAclBatcher(wsId string, done chan string, timeout time.Duration) *AclBatcher
func (*AclBatcher) Start ¶ added in v1.2.0
func (a *AclBatcher) Start()
type Handler ¶
type Handler struct{}
Handler definition
func (*Handler) CreateWorkspace ¶
func (h *Handler) CreateWorkspace(ctx context.Context, req *idm.CreateWorkspaceRequest, resp *idm.CreateWorkspaceResponse) error
CreateWorkspace in database
func (*Handler) DeleteWorkspace ¶
func (h *Handler) DeleteWorkspace(ctx context.Context, req *idm.DeleteWorkspaceRequest, response *idm.DeleteWorkspaceResponse) error
DeleteWorkspace from database
func (*Handler) SearchWorkspace ¶
func (h *Handler) SearchWorkspace(ctx context.Context, request *idm.SearchWorkspaceRequest, response idm.WorkspaceService_SearchWorkspaceStream) error
SearchWorkspace in database
func (*Handler) StreamWorkspace ¶
func (h *Handler) StreamWorkspace(ctx context.Context, streamer idm.WorkspaceService_StreamWorkspaceStream) error
StreamWorkspace from database
Click to show internal directories.
Click to hide internal directories.