Skip to content

Feature Request: Shutdown() method on registry.Registry struct #4337

Closed

Description

@robinkb

Description

I am working on a project that embeds the Distribution Registry. Unless I missed something, there is no way to gracefully shutdown the registry HTTP server from code. The registry server expects a signal on the quit channel, which is in a global variable that is private to the package.

I would like to have a shutdown method on the registry.Registry struct so that I can gracefully shutdown an embedded registry HTTP server.

Opening a PR shortly.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions