go-mesos-executor icon indicating copy to clipboard operation
go-mesos-executor copied to clipboard

Improve hooks system

Open Devatoria opened this issue 8 years ago • 0 comments

It would be cool to have a more complete hooks system with some features like:

  • a SetupHook function called on hook registration and used to initialize the hook
  • allow hook to have hook-specific fields in the structure (private) to store some values across the hook lifecycle

It could probably be done using interface and composition systems, but it also needs to review a lot of things (tests, hook manager, ...). To be discussed.

Devatoria avatar Nov 06 '17 14:11 Devatoria