grpc

package
v5.0.0-...-2679821 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2025 License: AGPL-3.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UpgradeTo120

func UpgradeTo120(ctx context.Context) error

UpgradeTo120 looks for workspace roots and CellNode roots and set a "recycle_root" flag on them.

Types

type Handler

Handler definition

func NewHandler

func NewHandler(_ context.Context) *Handler

func (*Handler) CreateACL

func (h *Handler) CreateACL(ctx context.Context, req *idm.CreateACLRequest) (*idm.CreateACLResponse, error)

CreateACL in database

func (*Handler) DeleteACL

func (h *Handler) DeleteACL(ctx context.Context, req *idm.DeleteACLRequest) (*idm.DeleteACLResponse, error)

DeleteACL from database

func (*Handler) ExpireACL

func (h *Handler) ExpireACL(ctx context.Context, req *idm.ExpireACLRequest) (*idm.ExpireACLResponse, error)

ExpireACL in database

func (*Handler) ReadNodeStream

func (h *Handler) ReadNodeStream(stream tree.NodeProviderStreamer_ReadNodeStreamServer) error

ReadNodeStream implements method to be a MetaProvider

func (*Handler) RestoreACL

func (h *Handler) RestoreACL(ctx context.Context, req *idm.RestoreACLRequest) (*idm.RestoreACLResponse, error)

RestoreACL in database

func (*Handler) SearchACL

func (h *Handler) SearchACL(request *idm.SearchACLRequest, response idm.ACLService_SearchACLServer) error

SearchACL in database

func (*Handler) StreamACL

func (h *Handler) StreamACL(streamer idm.ACLService_StreamACLServer) error

StreamACL from database

type NodesCleaner

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

func NewNodesCleaner

func NewNodesCleaner(ctx context.Context, h *Handler) *NodesCleaner

func (*NodesCleaner) Handle

func (c *NodesCleaner) Handle(ctx context.Context, msg *tree.NodeChangeEvent) error

type WsRolesCleaner

type WsRolesCleaner struct {
	Handler *Handler
}

func (*WsRolesCleaner) Handle

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

Directories

Path Synopsis
Package service provides a GRPC service for storing and CRUD-ing ACLs
Package service provides a GRPC service for storing and CRUD-ing ACLs

Jump to

Keyboard shortcuts

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