adsgrpc

package
v0.0.0-...-1643d90 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2020 License: UPL-1.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GRPCService

type GRPCService struct {
	// contains filtered or unexported fields
}

GRPCService is the ADS GRPC implementation

func NewGRPCService

func NewGRPCService(evaluator eval.InternalEvaluator) (*GRPCService, error)

NewGRPCService constructs a new ADS GRPC service instance

func (*GRPCService) Diagnose

func (*GRPCService) Discover

func (impl *GRPCService) Discover(ctx context.Context, in *pb.ContextRequest) (*pb.IsAllowedResponse, error)

func (*GRPCService) GetAllGrantedRoles

func (impl *GRPCService) GetAllGrantedRoles(ctx context.Context, in *pb.ContextRequest) (*pb.AllRoleResponse, error)

func (*GRPCService) GetAllPermissions

func (impl *GRPCService) GetAllPermissions(ctx context.Context, in *pb.ContextRequest) (*pb.AllPermissionResponse, error)

func (*GRPCService) IsAllowed

func (impl *GRPCService) IsAllowed(ctx context.Context, in *pb.ContextRequest) (*pb.IsAllowedResponse, error)

Directories

Path Synopsis
Package pb is a generated protocol buffer package.
Package pb is a generated protocol buffer package.

Jump to

Keyboard shortcuts

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