Documentation ¶
Overview ¶
Package grpc provides a service for storing and CRUD-ing ACLs
Index ¶
- Variables
- func UpgradeTo120(ctx context.Context) error
- type Handler
- func (h *Handler) CreateACL(ctx context.Context, req *idm.CreateACLRequest) (*idm.CreateACLResponse, error)
- func (h *Handler) DeleteACL(ctx context.Context, req *idm.DeleteACLRequest) (*idm.DeleteACLResponse, error)
- func (h *Handler) ExpireACL(ctx context.Context, req *idm.ExpireACLRequest) (*idm.ExpireACLResponse, error)
- func (h *Handler) Name() string
- func (h *Handler) ReadNodeStream(stream tree.NodeProviderStreamer_ReadNodeStreamServer) error
- func (h *Handler) SearchACL(request *idm.SearchACLRequest, response idm.ACLService_SearchACLServer) error
- func (h *Handler) StreamACL(streamer idm.ACLService_StreamACLServer) error
- type WsRolesCleaner
Constants ¶
This section is empty.
Variables ¶
View Source
var ServiceName = common.ServiceGrpcNamespace_ + common.ServiceAcl
Functions ¶
func UpgradeTo120 ¶
UpgradeTo120 looks for workspace roots and CellNode roots and set a "recycle_root" flag on them.
Types ¶
type Handler ¶
type Handler struct { idm.UnimplementedACLServiceServer tree.UnimplementedNodeProviderStreamerServer // contains filtered or unexported fields }
Handler definition
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) SearchACL ¶
func (h *Handler) SearchACL(request *idm.SearchACLRequest, response idm.ACLService_SearchACLServer) error
SearchACL in database
type WsRolesCleaner ¶
type WsRolesCleaner struct {
Handler *Handler
}
func (*WsRolesCleaner) Handle ¶
func (c *WsRolesCleaner) Handle(ctx context.Context, msg *idm.ChangeEvent) error
Click to show internal directories.
Click to hide internal directories.