Documentation ¶ Index ¶ func NewRegistry(config Config) (http.Handler, error) type Config func (c Config) Check() error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewRegistry ¶ func NewRegistry(config Config) (http.Handler, error) NewRegistry returns a new HTTP handler that serves Docker registry API. Types ¶ type Config ¶ type Config struct { // Context is the registry context. Context context.Context // Users is the cluster users service. Users users.Identity // Authenticator is the request authentication service. Authenticator users.Authenticator } Config is the registry server configuration. func (Config) Check ¶ func (c Config) Check() error Check validates the registry handler configuration. Source Files ¶ View all Source files acl.go registry.go Click to show internal directories. Click to hide internal directories.