Documentation ¶
Index ¶
- Variables
- type AdmissionRegistry
- func (r *AdmissionRegistry) Get(name string) admission.IAdmission
- func (r *AdmissionRegistry) GetAll() (m map[string]T)
- func (r *AdmissionRegistry) IsRegistered(name string) bool
- func (r *AdmissionRegistry) Register(name string, v admission.IAdmission) error
- func (r *AdmissionRegistry) Unregister(name string)
- type AutherRegistry
- type BypassRegistry
- type ChainRegistry
- type ConnLimiterRegistry
- func (r *ConnLimiterRegistry) Get(name string) conn.IConnLimiter
- func (r *ConnLimiterRegistry) GetAll() (m map[string]T)
- func (r *ConnLimiterRegistry) IsRegistered(name string) bool
- func (r *ConnLimiterRegistry) Register(name string, v conn.IConnLimiter) error
- func (r *ConnLimiterRegistry) Unregister(name string)
- type ConnectorRegistry
- type DialerRegistry
- type HandlerRegistry
- type HopRegistry
- type HostsRegistry
- type IngressRegistry
- type ListenerRegistry
- type LoggerRegistry
- type ObserverRegistry
- func (r *ObserverRegistry) Get(name string) observer.IObserver
- func (r *ObserverRegistry) GetAll() (m map[string]T)
- func (r *ObserverRegistry) IsRegistered(name string) bool
- func (r *ObserverRegistry) Register(name string, v observer.IObserver) error
- func (r *ObserverRegistry) Unregister(name string)
- type RateLimiterRegistry
- func (r *RateLimiterRegistry) Get(name string) rate.IRateLimiter
- func (r *RateLimiterRegistry) GetAll() (m map[string]T)
- func (r *RateLimiterRegistry) IsRegistered(name string) bool
- func (r *RateLimiterRegistry) Register(name string, v rate.IRateLimiter) error
- func (r *RateLimiterRegistry) Unregister(name string)
- type RecorderRegistry
- func (r *RecorderRegistry) Get(name string) recorder.IRecorder
- func (r *RecorderRegistry) GetAll() (m map[string]T)
- func (r *RecorderRegistry) IsRegistered(name string) bool
- func (r *RecorderRegistry) Register(name string, v recorder.IRecorder) error
- func (r *RecorderRegistry) Unregister(name string)
- type ResolverRegistry
- func (r *ResolverRegistry) Get(name string) resolver.IResolver
- func (r *ResolverRegistry) GetAll() (m map[string]T)
- func (r *ResolverRegistry) IsRegistered(name string) bool
- func (r *ResolverRegistry) Register(name string, v resolver.IResolver) error
- func (r *ResolverRegistry) Unregister(name string)
- type RouterRegistry
- type SdRegistry
- type ServiceRegistry
- type TrafficLimiterRegistry
- func (r *TrafficLimiterRegistry) Get(name string) traffic.ITrafficLimiter
- func (r *TrafficLimiterRegistry) GetAll() (m map[string]T)
- func (r *TrafficLimiterRegistry) IsRegistered(name string) bool
- func (r *TrafficLimiterRegistry) Register(name string, v traffic.ITrafficLimiter) error
- func (r *TrafficLimiterRegistry) Unregister(name string)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrDup = errors.New("registry: duplicate object")
)
Functions ¶
This section is empty.
Types ¶
type AdmissionRegistry ¶
type AdmissionRegistry struct {
// contains filtered or unexported fields
}
func (*AdmissionRegistry) Get ¶
func (r *AdmissionRegistry) Get(name string) admission.IAdmission
func (*AdmissionRegistry) IsRegistered ¶
func (*AdmissionRegistry) Register ¶
func (r *AdmissionRegistry) Register(name string, v admission.IAdmission) error
func (*AdmissionRegistry) Unregister ¶
func (r *AdmissionRegistry) Unregister(name string)
type AutherRegistry ¶
type AutherRegistry struct {
// contains filtered or unexported fields
}
func (*AutherRegistry) Get ¶
func (r *AutherRegistry) Get(name string) auth.IAuthenticator
func (*AutherRegistry) IsRegistered ¶
func (*AutherRegistry) Register ¶
func (r *AutherRegistry) Register(name string, v auth.IAuthenticator) error
func (*AutherRegistry) Unregister ¶
func (r *AutherRegistry) Unregister(name string)
type BypassRegistry ¶
type BypassRegistry struct {
// contains filtered or unexported fields
}
func (*BypassRegistry) IsRegistered ¶
func (*BypassRegistry) Register ¶
func (r *BypassRegistry) Register(name string, v bypass.IBypass) error
func (*BypassRegistry) Unregister ¶
func (r *BypassRegistry) Unregister(name string)
type ChainRegistry ¶
type ChainRegistry struct {
// contains filtered or unexported fields
}
func (*ChainRegistry) IsRegistered ¶
func (*ChainRegistry) Register ¶
func (r *ChainRegistry) Register(name string, v chain.IChainer) error
func (*ChainRegistry) Unregister ¶
func (r *ChainRegistry) Unregister(name string)
type ConnLimiterRegistry ¶
type ConnLimiterRegistry struct {
// contains filtered or unexported fields
}
func (*ConnLimiterRegistry) Get ¶
func (r *ConnLimiterRegistry) Get(name string) conn.IConnLimiter
func (*ConnLimiterRegistry) IsRegistered ¶
func (*ConnLimiterRegistry) Register ¶
func (r *ConnLimiterRegistry) Register(name string, v conn.IConnLimiter) error
func (*ConnLimiterRegistry) Unregister ¶
func (r *ConnLimiterRegistry) Unregister(name string)
type ConnectorRegistry ¶
type ConnectorRegistry struct {
// contains filtered or unexported fields
}
func (*ConnectorRegistry) IsRegistered ¶
func (*ConnectorRegistry) Register ¶
func (r *ConnectorRegistry) Register(name string, v connector.NewConnector) error
func (*ConnectorRegistry) Unregister ¶
func (r *ConnectorRegistry) Unregister(name string)
type DialerRegistry ¶
type DialerRegistry struct {
// contains filtered or unexported fields
}
func (*DialerRegistry) IsRegistered ¶
func (*DialerRegistry) Register ¶
func (r *DialerRegistry) Register(name string, v dialer.NewDialer) error
func (*DialerRegistry) Unregister ¶
func (r *DialerRegistry) Unregister(name string)
type HandlerRegistry ¶
type HandlerRegistry struct {
// contains filtered or unexported fields
}
func (*HandlerRegistry) IsRegistered ¶
func (*HandlerRegistry) Register ¶
func (r *HandlerRegistry) Register(name string, v handler.NewHandler) error
func (*HandlerRegistry) Unregister ¶
func (r *HandlerRegistry) Unregister(name string)
type HopRegistry ¶
type HopRegistry struct {
// contains filtered or unexported fields
}
func (*HopRegistry) IsRegistered ¶
func (*HopRegistry) Unregister ¶
func (r *HopRegistry) Unregister(name string)
type HostsRegistry ¶
type HostsRegistry struct {
// contains filtered or unexported fields
}
func (*HostsRegistry) Get ¶
func (r *HostsRegistry) Get(name string) hosts.IHostMapper
func (*HostsRegistry) IsRegistered ¶
func (*HostsRegistry) Register ¶
func (r *HostsRegistry) Register(name string, v hosts.IHostMapper) error
func (*HostsRegistry) Unregister ¶
func (r *HostsRegistry) Unregister(name string)
type IngressRegistry ¶
type IngressRegistry struct {
// contains filtered or unexported fields
}
func (*IngressRegistry) IsRegistered ¶
func (*IngressRegistry) Register ¶
func (r *IngressRegistry) Register(name string, v ingress.IIngress) error
func (*IngressRegistry) Unregister ¶
func (r *IngressRegistry) Unregister(name string)
type ListenerRegistry ¶
type ListenerRegistry struct {
// contains filtered or unexported fields
}
func (*ListenerRegistry) IsRegistered ¶
func (*ListenerRegistry) Register ¶
func (r *ListenerRegistry) Register(name string, v listener.NewListener) error
func (*ListenerRegistry) Unregister ¶
func (r *ListenerRegistry) Unregister(name string)
type LoggerRegistry ¶
type LoggerRegistry struct {
// contains filtered or unexported fields
}
func (*LoggerRegistry) IsRegistered ¶
func (*LoggerRegistry) Register ¶
func (r *LoggerRegistry) Register(name string, v logger.ILogger) error
func (*LoggerRegistry) Unregister ¶
func (r *LoggerRegistry) Unregister(name string)
type ObserverRegistry ¶ added in v0.0.5
type ObserverRegistry struct {
// contains filtered or unexported fields
}
func (*ObserverRegistry) Get ¶ added in v0.0.5
func (r *ObserverRegistry) Get(name string) observer.IObserver
func (*ObserverRegistry) GetAll ¶ added in v0.0.5
func (r *ObserverRegistry) GetAll() (m map[string]T)
func (*ObserverRegistry) IsRegistered ¶ added in v0.0.5
func (*ObserverRegistry) Register ¶ added in v0.0.5
func (r *ObserverRegistry) Register(name string, v observer.IObserver) error
func (*ObserverRegistry) Unregister ¶ added in v0.0.5
func (r *ObserverRegistry) Unregister(name string)
type RateLimiterRegistry ¶
type RateLimiterRegistry struct {
// contains filtered or unexported fields
}
func (*RateLimiterRegistry) Get ¶
func (r *RateLimiterRegistry) Get(name string) rate.IRateLimiter
func (*RateLimiterRegistry) IsRegistered ¶
func (*RateLimiterRegistry) Register ¶
func (r *RateLimiterRegistry) Register(name string, v rate.IRateLimiter) error
func (*RateLimiterRegistry) Unregister ¶
func (r *RateLimiterRegistry) Unregister(name string)
type RecorderRegistry ¶
type RecorderRegistry struct {
// contains filtered or unexported fields
}
func (*RecorderRegistry) IsRegistered ¶
func (*RecorderRegistry) Register ¶
func (r *RecorderRegistry) Register(name string, v recorder.IRecorder) error
func (*RecorderRegistry) Unregister ¶
func (r *RecorderRegistry) Unregister(name string)
type ResolverRegistry ¶
type ResolverRegistry struct {
// contains filtered or unexported fields
}
func (*ResolverRegistry) IsRegistered ¶
func (*ResolverRegistry) Register ¶
func (r *ResolverRegistry) Register(name string, v resolver.IResolver) error
func (*ResolverRegistry) Unregister ¶
func (r *ResolverRegistry) Unregister(name string)
type RouterRegistry ¶
type RouterRegistry struct {
// contains filtered or unexported fields
}
func (*RouterRegistry) IsRegistered ¶
func (*RouterRegistry) Register ¶
func (r *RouterRegistry) Register(name string, v router.IRouter) error
func (*RouterRegistry) Unregister ¶
func (r *RouterRegistry) Unregister(name string)
type SdRegistry ¶
type SdRegistry struct {
// contains filtered or unexported fields
}
func (*SdRegistry) IsRegistered ¶
func (*SdRegistry) Unregister ¶
func (r *SdRegistry) Unregister(name string)
type ServiceRegistry ¶
type ServiceRegistry struct {
// contains filtered or unexported fields
}
func (*ServiceRegistry) IsRegistered ¶
func (*ServiceRegistry) Unregister ¶
func (r *ServiceRegistry) Unregister(name string)
type TrafficLimiterRegistry ¶
type TrafficLimiterRegistry struct {
// contains filtered or unexported fields
}
func (*TrafficLimiterRegistry) Get ¶
func (r *TrafficLimiterRegistry) Get(name string) traffic.ITrafficLimiter
func (*TrafficLimiterRegistry) IsRegistered ¶
func (*TrafficLimiterRegistry) Register ¶
func (r *TrafficLimiterRegistry) Register(name string, v traffic.ITrafficLimiter) error
func (*TrafficLimiterRegistry) Unregister ¶
func (r *TrafficLimiterRegistry) Unregister(name string)
Click to show internal directories.
Click to hide internal directories.