modules

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2026 License: Apache-2.0 Imports: 98 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func API

func API(c *container.Container) error

func All

func All() []container.Option

func Auth

func Auth(c *container.Container) error

func Cache

func Cache(c *container.Container) error

func CacheEvents

func CacheEvents(c *container.Container) error

CacheEvents wires the Redis pub/sub invalidation pipeline: a publisher used by the mutating application services and a listener plus subscribers that drop stale in-process cache entries across every process.

func Catalog

func Catalog(c *container.Container) error

func Consumer

func Consumer(c *container.Container) error

func Core

func Core(c *container.Container) error

func Gateway

func Gateway(c *container.Container) error

Gateway wires the Gateway aggregate end-to-end: pgx repository, the four application services, and the five admin HTTP handlers.

func LoadBalancer

func LoadBalancer(c *container.Container) error

func MCP

func MCP(c *container.Container) error

func Plugins

func Plugins(c *container.Container) error

func Policy

func Policy(c *container.Container) error

func Providers

func Providers(c *container.Container) error

func Proxy

func Proxy(c *container.Container) error

func Registry

func Registry(c *container.Container) error

func Role

func Role(c *container.Container) error

func ServerAdmin

func ServerAdmin(c *container.Container) error

func ServerMCP

func ServerMCP(c *container.Container) error

func ServerProxy

func ServerProxy(c *container.Container) error

func Session

func Session(c *container.Container) error

func StartCacheEventListener

func StartCacheEventListener(ctx context.Context, p CacheEventListenerParams)

StartCacheEventListener registers the cache invalidation subscribers and starts the Redis pub/sub listener in a background goroutine. It is meant to be invoked once per process (admin and proxy) at boot.

func StartCatalogSync

func StartCatalogSync(p CatalogSyncParams)

func StartMetricsWorker

func StartMetricsWorker(p MetricsWorkerParams)

StartMetricsWorker starts the background metrics worker goroutines. It is meant to be invoked once on the proxy plane at boot.

func Telemetry

func Telemetry(c *container.Container) error

Types

type CacheEventListenerParams

type CacheEventListenerParams struct {
	dig.In
	Logger           *slog.Logger
	Listener         cache.EventListener
	GatewayDataSub   cache.EventSubscriber[event.InvalidateGatewayDataEvent]
	RegistryCacheSub cache.EventSubscriber[event.InvalidateRegistryCacheEvent]
}

CacheEventListenerParams collects everything StartCacheEventListener needs.

type CatalogSyncParams

type CatalogSyncParams struct {
	dig.In
	Logger *slog.Logger
	Syncer appcatalog.Syncer
}

type MetricsWorkerParams

type MetricsWorkerParams struct {
	dig.In
	Logger *slog.Logger
	Cfg    *config.Config
	Worker appmetrics.Worker
}

MetricsWorkerParams collects everything StartMetricsWorker needs.

Jump to

Keyboard shortcuts

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