Implement get information about the Worker
authorAleksander Mistewicz <a.mistewicz@samsung.com>
Thu, 8 Jun 2017 15:28:51 +0000 (17:28 +0200)
committerMaciej Wereski <m.wereski@partner.samsung.com>
Wed, 4 Oct 2017 08:18:44 +0000 (10:18 +0200)
commit256693fe3ea79184d58b36b92865ebd6ed7bc9dd
tree6a3c27d5d255c584926252e2972e36584729b1b0
parent84488cfab4208bf6244283db4963a2053b087d43
Implement get information about the Worker

In order to avoid listing workers when information about only one is
needed, a convenience function has been added. It is faster and
guarantees that a single structure will be returned or an error.

workers/workers_test.go has been removed as all functions has been
implemented.

Change-Id: I0dfaccc4c55bdb30c5875de06db9d3b23b2345b2
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Reviewed-on: https://mcdsrvbld02.digital.local/review/49062
Reviewed-by: Lukasz Wojciechowski <l.wojciechow@partner.samsung.com>
Tested-by: Lukasz Wojciechowski <l.wojciechow@partner.samsung.com>
Reviewed-by: Maciej Wereski <m.wereski@partner.samsung.com>
Tested-by: Maciej Wereski <m.wereski@partner.samsung.com>
workers/worker_list_test.go
workers/workers.go
workers/workers_test.go [deleted file]