Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface {
State() string
Commands() <-chan command.Message
PubEvent(etype event.Type, data ...interface{})
Close()
// Lifecycle hooks (extension points)
HookSensorPostStart()
HookSensorPreShutdown()
HookMonitorPreStart()
HookTargetAppRunning()
HookMonitorPostShutdown()
HookMonitorFailed()
}
func NewControlled ¶
type LifecycleEvent ¶
todo: add 'kind' to the lifecycle event and pass the whole event to the lifecycle hook command
Click to show internal directories.
Click to hide internal directories.