registrarclient

package
v0.0.0-...-ac943e3 Latest Latest
Warning

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

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

Documentation

Overview

Package registrarclient exposes the registrar-backed registry.Registry implementation: the node agent's client to the in-cluster Registrar gRPC service. It lives outside the root registry package (which holds only the interface and shared helpers) so that importing the interface — or this client — does not transitively link the other registry backends (AWS SDK, etcd client); those are linked only by registry/backend (the registrar's factory).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config = registrar.Config

Config is the configuration for the registrar registry backend.

type Registry

type Registry = registrar.RegistrarRegistry

Registry is a registry.Registry implementation backed by the in-cluster Registrar service.

func New

func New(log *slog.Logger, cfg Config) *Registry

New creates a new registry.Registry implementation that delegates to the in-cluster Registrar gRPC service. It caches endpoints locally from a watch stream and delegates writes to the Registrar for external persistence.

Jump to

Keyboard shortcuts

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