Add NewJobManager function 68/162368/12
authorLukasz Wojciechowski <l.wojciechow@partner.samsung.com>
Thu, 30 Nov 2017 12:29:14 +0000 (13:29 +0100)
committerPawel Wieczorek <p.wieczorek2@samsung.com>
Wed, 2 May 2018 10:19:00 +0000 (12:19 +0200)
commit6735064416662aff11a1ff738f1110d62c3dd391
tree363092f5f4334f9c124478300debd6ad6f8104f7
parentbe274f27e98ede1a6b6c526257ce9bc7ac6c6c84
Add NewJobManager function

NewJobManager function creates new instance of Controller
with all internal submodules. The created structure is returned
as JobManager interface.

This is the only valid method for creation whole Controller module
in Weles and should be used to create Weles service.

Change-Id: I8ff2051a23f714a99fc2642c94e34d247ec164d7
Signed-off-by: Lukasz Wojciechowski <l.wojciechow@partner.samsung.com>
controller/controller.go
controller/controller_test.go