coremanager

package
v0.0.0-...-3f59448 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 14, 2016 License: Apache-2.0 Imports: 11 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL