app

package
v0.0.0-...-549d4bb Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2026 License: Apache-2.0 Imports: 32 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetServiceStatus

func SetServiceStatus(log *zerolog.Logger, service string, servingStatus grpc_health_v1.HealthCheckResponse_ServingStatus)

Types

type Authorizer

type Authorizer struct {
	Resolver         *resolvers.Resolvers
	AuthorizerServer *impl.AuthorizerServer
	AccessServer     *impl.AccessServer
	// contains filtered or unexported fields
}

func NewAuthorizer

func NewAuthorizer(
	ctx context.Context,
	cfg *builder.API,
	commonConfig *config.Common,
	authorizerOpts []grpc.ServerOption,
	logger *zerolog.Logger,
	adlLogger *adl.Logger,
) (*Authorizer,
	error,
)

func (*Authorizer) AvailableServices

func (e *Authorizer) AvailableServices() []string

func (*Authorizer) Cleanups

func (e *Authorizer) Cleanups() []func()

func (*Authorizer) Close

func (e *Authorizer) Close()

func (*Authorizer) GetGRPCRegistrations

func (e *Authorizer) GetGRPCRegistrations(services ...string) builder.GRPCRegistrations

func (*Authorizer) GetGatewayRegistration

func (e *Authorizer) GetGatewayRegistration(port string, services ...string) builder.HandlerRegistrations

type ConsoleService

type ConsoleService struct{}

func NewConsole

func NewConsole() *ConsoleService

func (*ConsoleService) AvailableServices

func (e *ConsoleService) AvailableServices() []string

func (*ConsoleService) Close

func (e *ConsoleService) Close()

func (*ConsoleService) GetGRPCRegistrations

func (e *ConsoleService) GetGRPCRegistrations(services ...string) builder.GRPCRegistrations

func (*ConsoleService) GetGatewayRegistration

func (e *ConsoleService) GetGatewayRegistration(port string, services ...string) builder.HandlerRegistrations

func (*ConsoleService) PrepareConfig

func (e *ConsoleService) PrepareConfig(cfg *config.Config) *handlers.TopazCfg

type Eamerald

type Eamerald struct {
	Context        context.Context
	Logger         *zerolog.Logger
	ServerOptions  []grpc.ServerOption
	Configuration  *config.Config
	ServiceBuilder *builder.ServiceFactory
	Manager        *builder.ServiceManager
	Services       map[string]builder.ServiceTypes
}

Eamerald is an authorizer service instance, responsible for managing the authorizer API, user directory instance and the OPA plugins.

func (*Eamerald) ConfigServices

func (e *Eamerald) ConfigServices() error

func (*Eamerald) Start

func (e *Eamerald) Start() error

Start starts all services required by the engine.

type EdgeDir

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

func NewEdgeDir

func NewEdgeDir(edge *directory.Directory) (*EdgeDir, error)

func (*EdgeDir) AvailableServices

func (e *EdgeDir) AvailableServices() []string

func (*EdgeDir) Close

func (e *EdgeDir) Close()

func (*EdgeDir) GetGRPCRegistrations

func (e *EdgeDir) GetGRPCRegistrations(services ...string) builder.GRPCRegistrations

func (*EdgeDir) GetGatewayRegistration

func (e *EdgeDir) GetGatewayRegistration(port string, services ...string) builder.HandlerRegistrations

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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