grpc

package
v4.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2022 License: AGPL-3.0 Imports: 13 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)

Jump to

Keyboard shortcuts

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