distribution/registry
Matt Moore 74c32a0a51 Allow hostname components in component names.
Fixes https://github.com/docker/distribution/issues/1062

This relaxes the naming restrictions places on Docker images to permit
valid hostnames according to [RFC-2396](https://www.ietf.org/rfc/rfc2396.txt).

It deviates from the RFC in the following ways:
 1) Allow underscores where we allow hyphens (hostnames don't allow
 underscores, which we must for backwards compatibility).
 2) Leave "top-level" name segments unrestricted (domains require an
 alpha character to begin a top-level domain, e.g. "com").
 3) DO NOT allow a trailing dot, as permitted by FQDNs.

Signed-off-by: Matt Moore <mattmoor@google.com>
2015-10-08 11:29:54 -07:00
..
api Allow hostname components in component names. 2015-10-08 11:29:54 -07:00
auth Switch tests to import "github.com/docker/distribution/context" 2015-08-20 14:50:12 -07:00
client Don't return a nil array and a nil error if the Tags endpoint cannot be found 2015-09-18 16:19:41 -07:00
handlers Add WithVersion to context and other cleanup 2015-09-14 17:14:31 -07:00
listener [Server] Listen and serve on a unix socket 2015-05-11 16:00:14 +03:00
middleware Add pull through cache functionality to the Registry which can be configured 2015-08-04 16:09:55 -07:00
proxy Avoid returning nil, nil when fetching a manifest by tag by introducing a new 2015-09-18 16:19:37 -07:00
storage Merge pull request #950 from jackpgriffin/master 2015-10-01 10:15:54 -07:00
doc.go Move initialization code from main.go to the registry package 2015-09-09 14:39:31 -07:00
registry.go Add WithVersion to context and other cleanup 2015-09-14 17:14:31 -07:00