grpc

package
v4.4.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Overview

Package grpc is the policy engine service

Index

Constants

Variables

This section is empty.

Functions

Types

type Handler

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

func (*Handler) DeletePolicyGroup

func (h *Handler) DeletePolicyGroup(ctx context.Context, request *idm.DeletePolicyGroupRequest) (*idm.DeletePolicyGroupResponse, error)

func (*Handler) IsAllowed

func (h *Handler) IsAllowed(ctx context.Context, request *idm.PolicyEngineRequest) (*idm.PolicyEngineResponse, error)

func (*Handler) ListPolicyGroups

func (h *Handler) ListPolicyGroups(ctx context.Context, request *idm.ListPolicyGroupsRequest) (*idm.ListPolicyGroupsResponse, error)

func (*Handler) Name

func (h *Handler) Name() string

func (*Handler) StorePolicyGroup

func (h *Handler) StorePolicyGroup(ctx context.Context, request *idm.StorePolicyGroupRequest) (*idm.StorePolicyGroupResponse, error)

func (*Handler) StreamPolicyGroups added in v4.1.4

StreamPolicyGroups performs same listing as ListPolicyGroups but answer with a stream

Jump to

Keyboard shortcuts

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