Documentation ¶
Index ¶
- Constants
- func NewRegistration() serviceregistry.Registration
- type AuthorizationService
- func (as *AuthorizationService) GetDecisions(ctx context.Context, req *authorization.GetDecisionsRequest) (*authorization.GetDecisionsResponse, error)
- func (as *AuthorizationService) GetDecisionsByToken(ctx context.Context, req *authorization.GetDecisionsByTokenRequest) (*authorization.GetDecisionsByTokenResponse, error)
- func (as *AuthorizationService) GetEntitlements(ctx context.Context, req *authorization.GetEntitlementsRequest) (*authorization.GetEntitlementsResponse, error)
- func (as AuthorizationService) IsReady(ctx context.Context) error
- type Config
- type CustomRego
Constants ¶
View Source
const EntityIDPrefix string = "entity_idx_"
Variables ¶
This section is empty.
Functions ¶
func NewRegistration ¶
func NewRegistration() serviceregistry.Registration
Types ¶
type AuthorizationService ¶
type AuthorizationService struct { authorization.UnimplementedAuthorizationServiceServer // contains filtered or unexported fields }
func (*AuthorizationService) GetDecisions ¶
func (as *AuthorizationService) GetDecisions(ctx context.Context, req *authorization.GetDecisionsRequest) (*authorization.GetDecisionsResponse, error)
func (*AuthorizationService) GetDecisionsByToken ¶ added in v0.4.3
func (as *AuthorizationService) GetDecisionsByToken(ctx context.Context, req *authorization.GetDecisionsByTokenRequest) (*authorization.GetDecisionsByTokenResponse, error)
func (*AuthorizationService) GetEntitlements ¶
func (as *AuthorizationService) GetEntitlements(ctx context.Context, req *authorization.GetEntitlementsRequest) (*authorization.GetEntitlementsResponse, error)
type Config ¶ added in v0.4.7
type Config struct { // Custom Rego Policy To Load Rego CustomRego `mapstructure:"rego"` }
type CustomRego ¶ added in v0.4.10
Click to show internal directories.
Click to hide internal directories.