Commit Graph

21 Commits

Author SHA1 Message Date
Jimmy Zelinskie
68250f392b api/v1: create namespace type
This change creates a struct type for namespaces rather than using a
string. This enables us to extend namespaces in the future to contain
metadata. This change also required renaming other field references of
namespaces to "NamespaceName".

Fixes #99
2016-03-16 15:28:59 -04:00
yangshukui
6915f6c5c1 fix allowhost
Signed-off-by: yangshukui <yangshukui@huawei.com>
2016-03-08 14:41:14 +08:00
Jimmy Zelinskie
500fc4e407 various: gofmt -s 2016-02-24 19:29:36 -05:00
Jimmy Zelinskie
001c0a73d3 contrib: adapt analyze-local-images for new API 2016-02-24 16:43:19 -05:00
liangchenye
9bad9be19b update analyze-local-image with new API
Signed-off-by: liangchenye <liangchenye@huawei.com>
2016-02-24 16:39:25 -05:00
Matthias Nüßler
2300ae9ad7 Add output for package causing vulnerability
Include the name of package that caused the vulnerability in the
output.
2016-02-18 15:03:28 +01:00
liangchenye
fee0bb5e49 contrib: load image history from 'manifest.json' first due to
docker 1.10 changes.

Fixes #69

Signed-off-by: liangchenye <liangchenye@huawei.com>
2016-02-14 14:15:07 +08:00
Quentin Machu
e834301941 Merge pull request #49 from liangchenye/master
Add DataDetector to support ACI and other layout format
2016-01-07 10:44:40 -05:00
David Xia
f2009513d5 Fix typo in doc 2016-01-04 13:14:12 -05:00
Liang Chenye
4b11491067 add ImageFormat to worker_test and programs under contrib
Signed-off-by: Liang Chenye <liangchenye@huawei.com>
2015-12-15 21:01:22 -08:00
Lei Jitang
5f876d20a6 Update README.md of analyze_local_image
The latest Clair use config file for configuration, the command line to
run Clair instance is outdate in the README.md

Signed-off-by: Lei Jitang <leijitang@huawei.com>
2015-12-14 22:35:38 -05:00
Quentin Machu
941a10cc2b Merge pull request #35 from mrqwer88/check_openvz_mirror_with_clair
add tool for check openvz mirrors with clair to contrib
2015-12-04 18:04:04 -05:00
Sergei A Mamonov
75aff0382a contrib: check-openvz-mirror-with-clair fix license 2015-11-30 23:11:18 +03:00
Sergei A Mamonov
8b137e8a95 contrib: add copyright in check-openvz-mirror-with-clair 2015-11-30 00:13:19 +03:00
Quentin Machu
7df8e7fb1a contrib: add copyright in analyze-local-images 2015-11-29 15:56:34 -05:00
Sergei A Mamonov
0919113d8b add tool for check openvz mirrors with clair to contrib 2015-11-29 23:11:36 +03:00
Quentin Machu
867279a5c9 contrib: Improve analyze-local-images docs and launch command.
Fixes #32
2015-11-24 16:37:11 -05:00
Quentin Machu
9391417b2d contrib: Wait for extraction to finish before continuing. 2015-11-24 11:11:01 -05:00
Michael Stapelberg
f81bc29b9e Fix installation command in README.md
The package name was missing an “s”, and “go install” only works when you already have downloaded the package.
2015-11-23 22:35:09 +01:00
Andrew Lewis
8d071e28ff contrib: Don't pass -z to tar in analyze-local-images 2015-11-23 16:42:23 +02:00
Quentin Machu
46f7645a53 contrib: Add a tool to analyze local Docker images 2015-11-20 15:32:45 -05:00