Documentation ¶
Overview ¶
Package coremanager encapsulates the logic for configuring, starting and stopping core plugins
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 plugins
func NewCoreManager ¶
func NewCoreManager(instanceIdPtr *string, regionPtr *string, log logger.T) (cm *CoreManager, err error)
NewCoreManager creates a new core plugin manager.
func (*CoreManager) Start ¶
func (c *CoreManager) Start()
Start executes the registered core plugins while watching for reboot request
func (*CoreManager) Stop ¶
func (c *CoreManager) Stop()
Stop requests the core plugins 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.