clair/api
Jean Michel MacKay 9df4f5bd70 Adding httputil and version packages
- Debian/RHEL/Oracle vulnsrc now use httputil to download files
- httputil sets the User-Agent to the requests as Clair/<version> (https://github.com/coreos/clair/)
- httputil holds Status2xx() which returns if the response is a http success (2xx)
- GetClientAddr moved from api/httputil to pkg/httputil
- the version packge holds a Version string which is set at build time from the git tag and sha
- the .git directory was removed from .dockerignore so that we can use the git tag to set the version
2018-09-05 14:56:39 -04:00
..
v3 Add Status endpoint with Clair configuration 2018-08-30 16:55:18 -04:00
api.go API: change api port to api addr, rename RunV2 to Run. 2017-08-18 18:24:34 -04:00
router.go API: drop v1 api, changed v2 api for Clair v3. 2017-08-10 11:19:08 -04:00