• Cristian Maglie's avatar
    [skip-changelog] Added `discovery.Discovery` object to handle communication... · 2931737f
    Cristian Maglie authored
    [skip-changelog] Added `discovery.Discovery` object to handle communication with pluggable discoveries (#1029)
    
    * Pluggable Discovery handler: first implementation
    
    * Added 'discovery_client' (for debugging discoveries)
    
    * Added 'event' mode in PluggableDiscovery
    
    * discovery_client now supports multiple discoveries
    
    * Added ID to PluggableDiscovery
    
    * Added PluggableDiscovery.String() implementation
    
    * Fixed TestDiscoveryStdioHandling
    
    * Fixed discovery test run on Windows
    
    It really takes that long for messages to go back and forth.
    I don't know if there is a simpler way to reduce stdio buffering time.
    2931737f
discovery_test.go 1.97 KB