docs/server
Ying Li 839a1d076f Add support for thresholds, which means signed.VerifyRoot needs to be have just like
signed.VerifySignatures. So remove signed.VerifyRoot and just use signed.VerifySignatures
instead.  Also, to fix some tests, add an additional check for version when validating
metadata since versions can't be negative.

Signed-off-by: Ying Li <ying.li@docker.com>
2016-04-19 15:14:14 -07:00
..
errors Pass original invalid version storage error details into standardized errors 2016-01-14 09:57:36 -08:00
handlers Add support for thresholds, which means signed.VerifyRoot needs to be have just like 2016-04-19 15:14:14 -07:00
snapshot pass checksum to GetOrCreateSnapshot. One timestamp test now obsolete as we always regenerate a timestamp when regenerating a snapshot, other test has one error change because we now look for an explicit checksum, hence writing incorrect data to DB for the snapshot results in a rather than a 2016-04-18 22:07:11 -07:00
storage storage/memory's UpdateMany should fail if versions are not higher 2016-04-19 15:14:14 -07:00
timestamp pass checksum to GetOrCreateSnapshot. One timestamp test now obsolete as we always regenerate a timestamp when regenerating a snapshot, other test has one error change because we now look for an explicit checksum, hence writing incorrect data to DB for the snapshot results in a rather than a 2016-04-18 22:07:11 -07:00
integration_test.go Use require, not assert, in server/... tests. 2016-04-04 17:18:53 -07:00
server.go Use a CacheControlHandler that wraps other handlers instead 2016-03-14 17:19:13 -07:00
server_test.go Embed SignedCommon in Root, Snapshot, and Timestamp, as it's already 2016-04-07 17:27:13 -07:00