Jimmy Zelinskie
8bedd0a367
worker: ns detectors now support VersionFormat
...
This also filters unknown namespaces from the generic lsb-release and
osrelease detectors.
2017-01-03 13:15:46 -05:00
Jimmy Zelinskie
033709eaea
add registerable version formats
...
Since we only ever used dpkg, this change shims everything into using
dpkg.
2016-12-30 12:51:24 -05:00
Quentin Machu
836d37b275
*: use path/filepath
instead of path
2016-05-20 12:01:31 -05:00
Quentin Machu
8551a0a3b2
worker: Mock datastore in worker's tests
2016-05-20 12:01:30 -05:00
Jimmy Zelinskie
53e62577bc
api/worker: s/Authorization/Headers ( #167 )
...
This allows clients to specify any HTTP headers that need to be used in
order to allow Clair to download a layer, rather than just the
Authorization header.
2016-05-05 13:48:10 -04:00
Jimmy Zelinskie
9b5afc79ca
api/worker: introduce optional authorization
...
This allows clients to specify the contents of the HTTP Authorization
header so that Clair can access protected resources.
2016-05-04 15:47:14 -04:00
Jimmy Zelinskie
500fc4e407
various: gofmt -s
2016-02-24 19:29:36 -05:00
Quentin Machu
90fe137de8
worker: move each data detector to their own packages and remove image format whitelist
2016-02-24 16:34:54 -05:00
Quentin Machu
82175dcfe9
*: add missing copyright headers
2016-02-24 16:34:54 -05:00
Quentin Machu
34842fd8f7
worker: fix dpkg detector and adapt tests
2016-02-24 16:34:54 -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
liangchenye
b1775ed3dc
add data detector to support ACI and other format in the future
...
Signed-off-by: liangchenye <liangchenye@huawei.com>
2015-12-11 19:37:25 +08:00
Quentin Machu
eb7e5d5c74
main: Use configuration file instead of flags and simplify app extension.
...
Clair will now use a YAML configuration file instead of command line
arguments as the number of parameters grows.
Also, Clair now exposes a Boot() func that allows everyone to easily
create their own project and load dynamically their own fetchers/updaters.
2015-12-08 11:50:52 -05:00
Quentin Machu
3ec262dd51
Initial commit
2015-11-13 14:11:28 -05:00