Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Implementation ¶
type Implementation interface { // Start starts the monitor implementation. Start() error // Stop Stops the monitor implementation. Stop() error // SetupConfig provides a configuration to implmentations. Every implmentation // can have its own config type. SetupConfig(registerer registerer.Registerer, cfg interface{}) error // SetupHandlers sets up handlers for monitors to invoke for various events such as // processing unit events and synchronization events. This will be called before Start() // by the consumer of the monitor SetupHandlers(c *processor.Config) // ReSync should resynchronize PUs. This should be done while starting up. ReSync() error }
Implementation for a monitor.
Click to show internal directories.
Click to hide internal directories.