mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
4a92b8a0ef
Signed-off-by: Tibor Vass <tibor@docker.com>
24 lines
844 B
Go
24 lines
844 B
Go
package registry
|
|
|
|
const (
|
|
// DefaultNamespace is the default namespace
|
|
DefaultNamespace = "docker.io"
|
|
// DefaultRegistryVersionHeader is the name of the default HTTP header
|
|
// that carries Registry version info
|
|
DefaultRegistryVersionHeader = "Docker-Distribution-Api-Version"
|
|
// DefaultV1Registry is the URI of the default v1 registry
|
|
DefaultV1Registry = "https://index.docker.io"
|
|
|
|
// CertsDir is the directory where certificates are stored
|
|
CertsDir = "/etc/docker/certs.d"
|
|
|
|
// IndexServer is the v1 registry server used for user auth + account creation
|
|
IndexServer = DefaultV1Registry + "/v1/"
|
|
// IndexName is the name of the index
|
|
IndexName = "docker.io"
|
|
|
|
// NotaryServer is the endpoint serving the Notary trust server
|
|
NotaryServer = "https://notary.docker.io"
|
|
|
|
// IndexServer = "https://registry-stage.hub.docker.com/v1/"
|
|
)
|