modules

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2026 License: Apache-2.0 Imports: 121 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(plane string, dbless bool) []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 ConfigSyncData added in v0.3.4

func ConfigSyncData(c *container.Container) error

ConfigSyncData wires the data-plane half of the config sync: the atomic snapshot store the read ports resolve from, the protobuf codec, the AES-256-GCM crypto guarding the encrypted last-known-good, the gRPC client that dials the control plane and serves as both the snapshot fetcher and the change-notice stream transport, the LKG store, and the convergence worker.

func Consumer

func Consumer(c *container.Container) error

func ControlConfigSync added in v0.3.4

func ControlConfigSync(c *container.Container) error

ControlConfigSync registers the control-plane half of the gRPC-based config sync: the snapshot compiler over the live repositories, the atomic holder the gRPC server serves from, the protobuf codec, the connection hub that fans version notices out to connected data planes, the ConfigSync gRPC service and its TLS/auth-guarded server, the debounced dispatcher that compiles snapshots and drains the change-marker outbox, and the version-bump signaler the admin write use cases call. The dispatcher and gRPC server are started in the control/run run funcs; nothing here resolves on the data plane graph.

func Core

func Core(c *container.Container) error

func CoreData added in v0.3.4

func CoreData(c *container.Container) error

func Gateway

func Gateway(c *container.Container) error

func LoadBalancer

func LoadBalancer(c *container.Container) error

func MCP

func MCP(c *container.Container) error

func MCPVaultPostgres added in v0.3.4

func MCPVaultPostgres(c *container.Container) error

func MCPVaultRedis added in v0.3.4

func MCPVaultRedis(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 StartCacheJanitor added in v0.3.4

func StartCacheJanitor(ctx context.Context, mgr *cache.TTLMapManager)

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