diff options
author | Lukasz Wojciechowski <l.wojciechow@partner.samsung.com> | 2017-10-27 21:41:56 +0200 |
---|---|---|
committer | Lukasz Wojciechowski <l.wojciechow@partner.samsung.com> | 2018-04-27 17:43:52 +0200 |
commit | 09a98342d046e1ce032e28a8187d4f2de9f38f09 (patch) | |
tree | 398085b6a2ac8b2c0c34c81c20a2c0ae365b7426 /matcher/validmatcher.go | |
parent | a7419534e4a2463f93b94715ddeabe39aed16891 (diff) | |
download | boruta-09a98342d046e1ce032e28a8187d4f2de9f38f09.tar.gz boruta-09a98342d046e1ce032e28a8187d4f2de9f38f09.tar.bz2 boruta-09a98342d046e1ce032e28a8187d4f2de9f38f09.zip |
Implement WorkersManager interface in WorkerList
Implementation of WorkersManager from matcher package makes WorkerList usable
as interface for acquiring workers by Matcher.
The implemnetation adds 2 new fields:
* changeListener which is notified after Worker's state changes;
* newDryadClient which provides dryad.ClientManager.
The implementation is covered by tests.
2 mock up types: MockDryadClientManager and MockWorkerChange for mocking up
rpc.dryad.ClientManager and WorkerChange.
Change-Id: I2177824aef7aea564cd0a9900d9970c8a8386ca7
Signed-off-by: Lukasz Wojciechowski <l.wojciechow@partner.samsung.com>
Diffstat (limited to 'matcher/validmatcher.go')
0 files changed, 0 insertions, 0 deletions