Define JobsController interface 07/162007/2
authorLukasz Wojciechowski <l.wojciechow@partner.samsung.com>
Thu, 9 Nov 2017 16:59:32 +0000 (17:59 +0100)
committerLukasz Wojciechowski <l.wojciechow@partner.samsung.com>
Wed, 29 Nov 2017 05:47:49 +0000 (06:47 +0100)
commitb4ac03092296220254531b3b36e7c023eaaef85e
tree09ecf612268fae41287ef397ceb8646efc83f191
parentacac7599c5d63cfddaa37971510a039c6ca6f707
Define JobsController interface

JobsController interface is designed for managing Jobs inside Controller.
It is defined to provide additional layer for strict managing Job structures
only. This allows mocking up the interface in tests.

Change-Id: I3fa5054b017f6cd2b6c95f2e5a27acd72b226ee5
Signed-off-by: Lukasz Wojciechowski <l.wojciechow@partner.samsung.com>
controller/jobscontroller.go [new file with mode: 0644]