Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authorizer ¶
type Authorizer struct { Context context.Context Logger *zerolog.Logger ServerOptions []grpc.ServerOption Configuration *config.Config ServiceBuilder *builder.ServiceFactory Manager *builder.ServiceManager Services map[string]ServiceTypes }
Authorizer is an authorizer service instance, responsible for managing the authorizer API, user directory instance and the OPA plugins.
func (*Authorizer) AddGRPCServerOptions ¶ added in v0.25.0
func (e *Authorizer) AddGRPCServerOptions(grpcOptions ...grpc.ServerOption)
func (*Authorizer) ConfigServices ¶ added in v0.25.6
func (e *Authorizer) ConfigServices() error
func (*Authorizer) GetDecisionLogger ¶ added in v0.25.6
func (e *Authorizer) GetDecisionLogger(cfg config.DecisionLogConfig) (decisionlog.DecisionLogger, error)
func (*Authorizer) Start ¶
func (e *Authorizer) Start() error
Start starts all services required by the engine.
type EdgeDir ¶ added in v0.25.6
type EdgeDir struct {
// contains filtered or unexported fields
}
func (*EdgeDir) AvailableServices ¶ added in v0.25.6
func (*EdgeDir) GetGRPCRegistrations ¶ added in v0.25.6
func (e *EdgeDir) GetGRPCRegistrations(services ...string) builder.GRPCRegistrations
func (*EdgeDir) GetGatewayRegistration ¶ added in v0.25.6
func (e *EdgeDir) GetGatewayRegistration(services ...string) builder.HandlerRegistrations
type ServiceTypes ¶ added in v0.25.6
type ServiceTypes interface { AvailableServices() []string GetGRPCRegistrations(services ...string) builder.GRPCRegistrations GetGatewayRegistration(services ...string) builder.HandlerRegistrations }
func NewEdgeDir ¶ added in v0.25.6
func NewEdgeDir(edge *directory.Directory) (ServiceTypes, error)
type Topaz ¶ added in v0.25.6
type Topaz struct { Resolver *resolvers.Resolvers AuthorizerServer *impl.AuthorizerServer // contains filtered or unexported fields }
func (*Topaz) AvailableServices ¶ added in v0.25.6
func (*Topaz) GetGRPCRegistrations ¶ added in v0.25.6
func (e *Topaz) GetGRPCRegistrations(services ...string) builder.GRPCRegistrations
func (*Topaz) GetGatewayRegistration ¶ added in v0.25.6
func (e *Topaz) GetGatewayRegistration(services ...string) builder.HandlerRegistrations
Click to show internal directories.
Click to hide internal directories.