The mock is used in few tests, implements model.ServiceDiscovery.
- Should be next to the other registries.
- Needs a couple of /debug/registry... http handlers, to allow a test program to modify the registry
- Should be called 'memory' (or similar) - it is not a mock.
We also need a helper to populate the memory registry and cause 'invalidation' events, to simplify
testing the EDS/CDS updates and make them more deterministic.
The mock is used in few tests, implements model.ServiceDiscovery.
We also need a helper to populate the memory registry and cause 'invalidation' events, to simplify
testing the EDS/CDS updates and make them more deterministic.