Documentation ¶
Index ¶
- func NewHandler() idm.PolicyEngineServiceServer
- type Handler
- func (h *Handler) DeletePolicyGroup(ctx context.Context, request *idm.DeletePolicyGroupRequest) (*idm.DeletePolicyGroupResponse, error)
- func (h *Handler) IsAllowed(ctx context.Context, request *idm.PolicyEngineRequest) (*idm.PolicyEngineResponse, error)
- func (h *Handler) ListPolicyGroups(ctx context.Context, request *idm.ListPolicyGroupsRequest) (*idm.ListPolicyGroupsResponse, error)
- func (h *Handler) StorePolicyGroup(ctx context.Context, request *idm.StorePolicyGroupRequest) (*idm.StorePolicyGroupResponse, error)
- func (h *Handler) StreamPolicyGroups(request *idm.ListPolicyGroupsRequest, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHandler ¶
func NewHandler() idm.PolicyEngineServiceServer
Types ¶
type Handler ¶
type Handler struct {
idm.UnimplementedPolicyEngineServiceServer
}
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) StorePolicyGroup ¶
func (h *Handler) StorePolicyGroup(ctx context.Context, request *idm.StorePolicyGroupRequest) (*idm.StorePolicyGroupResponse, error)
func (*Handler) StreamPolicyGroups ¶
func (h *Handler) StreamPolicyGroups(request *idm.ListPolicyGroupsRequest, stream idm.PolicyEngineService_StreamPolicyGroupsServer) error
StreamPolicyGroups performs same listing as ListPolicyGroups but answer with a stream
Click to show internal directories.
Click to hide internal directories.