registry/common
Stephen J Day 375f3cc136 Define common regexps used across registry application
This commit adds regular expression definitions for several string identifiers
used througout the registry. The repository name regex supports up to five path
path components and restricts repeated periods, dashes and underscores. The tag
regex simply validates the length of the tag and that printable characters are
required.

Though we define a new package common, these definition should land in docker
core.
2014-11-12 16:53:55 -08:00
..
names.go Define common regexps used across registry application 2014-11-12 16:53:55 -08:00
names_test.go Define common regexps used across registry application 2014-11-12 16:53:55 -08:00
tarsum.go Define common regexps used across registry application 2014-11-12 16:53:55 -08:00
tarsum_test.go Define common regexps used across registry application 2014-11-12 16:53:55 -08:00