Rename top level registry interface to namespace
Registry is intended to be used as a repository service than an abstract collection of repositories. Namespace better describes a collection of repositories retrievable by name. The registry service serves any repository in the global scope. Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
This commit is contained in:
parent
5dd885b311
commit
142d62798e
7 changed files with 47 additions and 11 deletions
|
@ -283,7 +283,7 @@ For more information about Token based authentication configuration, see the [sp
|
|||
|
||||
## middleware
|
||||
|
||||
The middleware option is **optional** and allows middlewares to be injected at named hook points. A requirement of all middlewares is that they implement the same interface as the object they're wrapping. This means a registry middleware must implement the `distribution.Registry` interface, repository middleware must implement `distribution.Respository`, and storage middleware must implement `driver.StorageDriver`.
|
||||
The middleware option is **optional** and allows middlewares to be injected at named hook points. A requirement of all middlewares is that they implement the same interface as the object they're wrapping. This means a registry middleware must implement the `distribution.Namespace` interface, repository middleware must implement `distribution.Respository`, and storage middleware must implement `driver.StorageDriver`.
|
||||
|
||||
Currently only one middleware, cloudfront, a storage middleware, is included in the registry.
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ see the [glossary in the full documentation set](http://docs.docker.com/referenc
|
|||
<dd>Describes a collection layers that make up an image.</dd>
|
||||
|
||||
<dt>Registry</dt>
|
||||
<dd>A registry is a collection of repositories.</dd>
|
||||
<dd>A registry is a service which serves repositories.</dd>
|
||||
|
||||
<dt>Repository</dt>
|
||||
<dd>
|
||||
|
@ -33,4 +33,11 @@ see the [glossary in the full documentation set](http://docs.docker.com/referenc
|
|||
|
||||
<dt>Tag</dt>
|
||||
<dd>Tag provides a common name to an image.</dd>
|
||||
</dl>
|
||||
|
||||
<dt>Namespace</dt>
|
||||
<dd>A namespace is a collection of repositories with a common name prefix. The
|
||||
namespace with an empty common prefix is considered the Global Namespace.</dd>
|
||||
|
||||
<dt>Scope</dt>
|
||||
<dd>A common repository name prefix.</dd>
|
||||
</dl>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue