registry

package
v0.28.2 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2026 License: MIT Imports: 35 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

View Source
var (
	// ErrDup is returned by Register when a value is already registered
	// under the given name.
	ErrDup = errors.New("registry: duplicate object")
)

Functions

func AdmissionRegistry

func AdmissionRegistry() reg.Registry[admission.Admission]

AdmissionRegistry returns the global registry of admission instances.

func AutherRegistry

func AutherRegistry() reg.Registry[auth.Authenticator]

AutherRegistry returns the global registry of authenticator instances.

func BypassRegistry

func BypassRegistry() reg.Registry[bypass.Bypass]

BypassRegistry returns the global registry of bypass instances.

func CacheRegistry added in v0.28.1

func CacheRegistry() reg.Registry[cache.Cache]

CacheRegistry returns the global registry of cache instances.

func ChainRegistry

func ChainRegistry() reg.Registry[chain.Chainer]

ChainRegistry returns the global registry of chain instances.

func ConnLimiterRegistry

func ConnLimiterRegistry() reg.Registry[conn.ConnLimiter]

ConnLimiterRegistry returns the global registry of connection limiter instances.

func ConnectorRegistry

func ConnectorRegistry() reg.Registry[NewConnector]

ConnectorRegistry returns the global registry of connector factory functions.

func DialerRegistry

func DialerRegistry() reg.Registry[NewDialer]

DialerRegistry returns the global registry of dialer factory functions.

func HandlerRegistry

func HandlerRegistry() reg.Registry[NewHandler]

HandlerRegistry returns the global registry of handler factory functions.

func HopRegistry

func HopRegistry() reg.Registry[hop.Hop]

HopRegistry returns the global registry of hop instances.

func HostsRegistry

func HostsRegistry() reg.Registry[hosts.HostMapper]

HostsRegistry returns the global registry of host mapper instances.

func IngressRegistry

func IngressRegistry() reg.Registry[ingress.Ingress]

IngressRegistry returns the global registry of ingress instances.

func ListenerRegistry

func ListenerRegistry() reg.Registry[NewListener]

ListenerRegistry returns the global registry of listener factory functions.

func LoggerRegistry

func LoggerRegistry() reg.Registry[logger.Logger]

LoggerRegistry returns the global registry of logger instances.

func NodeRegistry added in v0.28.1

func NodeRegistry() reg.Registry[*config.NodeConfig]

NodeRegistry returns the global registry of reusable node configurations.

func ObserverRegistry

func ObserverRegistry() reg.Registry[observer.Observer]

ObserverRegistry returns the global registry of observer instances.

func P2PRegistry added in v0.28.1

func P2PRegistry() reg.Registry[xp2p.Tunnel]

P2PRegistry returns the global registry of p2p tunnels.

func QuotaLimiterRegistry added in v0.28.1

func QuotaLimiterRegistry() reg.Registry[*quota.Limiter]

QuotaLimiterRegistry returns the global registry of quota limiter instances.

func RateLimiterRegistry

func RateLimiterRegistry() reg.Registry[rate.RateLimiter]

RateLimiterRegistry returns the global registry of rate limiter instances.

func RecorderRegistry

func RecorderRegistry() reg.Registry[recorder.Recorder]

RecorderRegistry returns the global registry of recorder instances.

func ResolverRegistry

func ResolverRegistry() reg.Registry[resolver.Resolver]

ResolverRegistry returns the global registry of resolver instances.

func RewriterRegistry added in v0.28.1

func RewriterRegistry() reg.Registry[rewriter.Rewriter]

RewriterRegistry returns the global registry of rewriter instances.

func RouterRegistry

func RouterRegistry() reg.Registry[router.Router]

RouterRegistry returns the global registry of router instances.

func SDRegistry

func SDRegistry() reg.Registry[sd.SD]

SDRegistry returns the global registry of service discovery instances.

func ServiceRegistry

func ServiceRegistry() reg.Registry[service.Service]

ServiceRegistry returns the global registry of service instances.

func TrafficLimiterRegistry

func TrafficLimiterRegistry() reg.Registry[traffic.TrafficLimiter]

TrafficLimiterRegistry returns the global registry of traffic limiter instances.

Types

type NewConnector

type NewConnector func(opts ...connector.Option) connector.Connector

NewConnector is a factory function that creates a new connector.Connector from the given options.

type NewDialer

type NewDialer func(opts ...dialer.Option) dialer.Dialer

NewDialer is a factory function that creates a new dialer.Dialer from the given options.

type NewHandler

type NewHandler func(opts ...handler.Option) handler.Handler

NewHandler is a factory function that creates a new handler.Handler from the given options.

type NewListener

type NewListener func(opts ...listener.Option) listener.Listener

NewListener is a factory function that creates a new listener.Listener from the given options.

Jump to

Keyboard shortcuts

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