Documentation ¶
Overview ¶
Package coremanager encapsulates the logic for configuring, starting and stopping core modules
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CoreManager ¶
type CoreManager struct {
// contains filtered or unexported fields
}
CoreManager encapsulates the logic for configuring, starting and stopping core modules
func NewCoreManager ¶
func NewCoreManager(instanceIdPtr *string, regionPtr *string, log logger.T) (cm *CoreManager, err error)
NewCoreManager creates a new core module manager.
func (*CoreManager) Start ¶
func (c *CoreManager) Start()
Start executes the registered core modules while watching for reboot request
func (*CoreManager) Stop ¶
func (c *CoreManager) Stop()
Stop requests the core modules to stop executing Stop would be called by the agent and should be treated as hard stop
Click to show internal directories.
Click to hide internal directories.