Skip to content

Commit

Permalink
Add other event types (#1366)
Browse files Browse the repository at this point in the history
* Add service event type

* Added "node", "secret", "config"

Co-authored-by: Sergei Egorov <segorov@pivotal.io>
  • Loading branch information
trajano and bsideup committed May 23, 2020
1 parent 708f4f4 commit e14732a
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
* @since 1.24
*/
public enum EventType {
CONFIG("config"),
/**
* @since 1.24
*/
Expand All @@ -26,7 +27,10 @@ public enum EventType {
*/
IMAGE("image"),
NETWORK("network"),
NODE("node"),
PLUGIN("plugin"),
SECRET("secret"),
SERVICE("service"),
VOLUME("volume");

private static final Map<String, EventType> EVENT_TYPES = new HashMap<>();
Expand Down

0 comments on commit e14732a

Please sign in to comment.