Two handlers/dbtables will be added to implement 'content scan'.
Scan Register
A user could register a scan image to a 'namespace/repository',
so every time this user push a new image(/vm/app) to the repo, the image will be scanned.
Scan Task
When an image(/vm/app) pushed to a repo, a scan task will be triggered.
The scan container will scan the image(/vm/app) and send the result back to the 'callback' function.
Two handlers/dbtables will be added to implement 'content scan'.
Scan Register
A user could register a scan image to a 'namespace/repository', so every time this user push a new image(/vm/app) to the repo, the image will be scanned.
Scan Task
When an image(/vm/app) pushed to a repo, a scan task will be triggered. The scan container will scan the image(/vm/app) and send the result back to the 'callback' function.
Signed-off-by: liang chenye liangchenye@huawei.com