moby--moby/daemon/events
Sebastiaan van Stijn 541fda8e90
migrate pkg/pubsub to github.com/moby/pubsub
This package was moved to a separate repository, using the steps below:

    # install filter-repo (https://github.com/newren/git-filter-repo/blob/main/INSTALL.md)
    brew install git-filter-repo

    cd ~/projects

    # create a temporary clone of docker
    git clone https://github.com/docker/docker.git moby_pubsub_temp
    cd moby_pubsub_temp

    # for reference
    git rev-parse HEAD
    # --> 572ca799db

    # remove all code, except for pkg/pubsub, license, and notice, and rename pkg/pubsub to /
    git filter-repo --path pkg/pubsub/ --path LICENSE --path NOTICE --path-rename pkg/pubsub/:

    # remove canonical imports
    git revert -s -S 585ff0ebbe6bc25b801a0e0087dd5353099cb72e

    # initialize module
    go mod init github.com/moby/pubsub
    go mod tidy

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 0249afc523)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-09-30 22:32:43 +02:00
..
testutils daemon/events/testutils: remove redundant variable 2019-10-18 00:45:35 +02:00
events.go migrate pkg/pubsub to github.com/moby/pubsub 2022-09-30 22:32:43 +02:00
events_test.go daemon: normalize comment formatting 2019-11-27 15:43:53 +01:00
filter.go api/types/events: add "Type" type for event-type enum 2021-08-23 21:14:55 +02:00
metrics.go goimports: fix imports 2019-09-18 12:56:54 +02:00