coremanager

package
v0.0.0-...-0117b6e Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 13 Imported by: 4

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

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

type ICoreManager

type ICoreManager interface {
	// Start executes the registered core modules
	Start()
	// Stop requests the core modules to stop executing
	Stop()
}

Directories

Path Synopsis
Code generated by mockery v1.0.0.
Code generated by mockery v1.0.0.

Jump to

Keyboard shortcuts

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