Versions in this module Expand all Collapse all v0 v0.2.0 Feb 26, 2024 Changes in this version + var ProtocolMap = map[string]Protocol + func AddRegistryFactory(name string, factory RegistryFactory) + func FakeServiceEntryStore() *fakeServiceEntryStore + type Protocol string + const GRPC + const HTTP + const HTTP2 + const HTTPS + const MONGO + const TCP + const TLS + const Unsupported + func ParseProtocol(s string) Protocol + type Registry interface + Config func() RegistryConfig + Reload func(config RegistryConfig) error + Start func(config RegistryConfig) error + Stop func() error + func CreateRegistry(name string, store ServiceEntryStore, om metav1.ObjectMeta) (Registry, error) + type RegistryConfig interface + ProtoReflect func() protoreflect.Message + Validate func() error + func ParseConfig(reg Registry, data []byte) (RegistryConfig, error) + type RegistryFactory func(store ServiceEntryStore, om metav1.ObjectMeta) (Registry, error) + type ServiceEntryStore interface + Delete func(service string) + Update func(service string, se *ServiceEntryWrapper) + type ServiceEntryWrapper struct + Source string Other modules containing this package mosn.io/htnn/controller