grpc

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 15, 2018 License: AGPL-3.0 Imports: 14 Imported by: 9

Documentation

Overview

Package grpc provides a service for storing and CRUD-ing ACLs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
}

Handler definition

func (*Handler) CreateACL

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

CreateACL in database

func (*Handler) DeleteACL

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

DeleteACL from database

func (*Handler) ReadNodeStream

Implements ReadNodeStream to be a meta provider

func (*Handler) SearchACL

func (h *Handler) SearchACL(ctx context.Context, request *idm.SearchACLRequest, response idm.ACLService_SearchACLStream) error

SearchACL in database

func (*Handler) StreamACL

func (h *Handler) StreamACL(ctx context.Context, streamer idm.ACLService_StreamACLStream) error

StreamACL from database

type NodesCleaner

type NodesCleaner struct {
	Handler *Handler
}

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

Jump to

Keyboard shortcuts

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