grpc

package
v5.0.0-...-3817779 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2025 License: AGPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AclBatcher

type AclBatcher struct {
	// contains filtered or unexported fields
}

func NewAclBatcher

func NewAclBatcher(ctx context.Context, wsId string, done chan contextualWsID, timeout time.Duration) *AclBatcher

func (*AclBatcher) Start

func (a *AclBatcher) Start()

type Handler

Handler definition

func NewHandler

func NewHandler() *Handler

func (*Handler) CreateWorkspace

CreateWorkspace in database

func (*Handler) DeleteWorkspace

DeleteWorkspace from database

func (*Handler) ModifyLogin

func (*Handler) SearchWorkspace

func (h *Handler) SearchWorkspace(request *idm.SearchWorkspaceRequest, response idm.WorkspaceService_SearchWorkspaceServer) error

SearchWorkspace in database

func (*Handler) StreamWorkspace

func (h *Handler) StreamWorkspace(streamer idm.WorkspaceService_StreamWorkspaceServer) error

StreamWorkspace from database

type WsCleaner

type WsCleaner struct {
	Handler idm.WorkspaceServiceServer
	// contains filtered or unexported fields
}

WsCleaner subscribe to ACL:Delete events to clean workspaces that do not have any ACLs anymore

func (*WsCleaner) Handle

func (c *WsCleaner) Handle(ctx context.Context, msg *idm.ChangeEvent) error

Directories

Path Synopsis
Package service provides the GRPC persistence for workspaces
Package service provides the GRPC persistence for workspaces

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL