1 // Package forwarder implements a PubSub daemon for copying artifacts from one 2 // Google Artifact Registry instance to another. 3 // 4 // By default, it listens to the events topic for the source registry and forwards 5 // them to the configured destination registries. Additional subscriptions can be 6 // provided to forward artifacts from additional topics. Messages pushed to those 7 // topics may have additional fields that will direct the forwarder to route them 8 // to different destination registries. This functionality can be used to do things 9 // like re-publish messages or selectively push subsets of artifacts to specific 10 // projects (e.g., as part of a promotion pipeline). 11 // 12 // The functionality provided by this package is not specific to warehouse 13 // packages and can be used for any Google Artifact Registry instance. 14 package forwarder 15