kronos-service-manager

3.5.10 • Public • Published

npm Greenkeeper semantic-release Build Status bithound codecov.io Coverage Status Code Climate Known Vulnerabilities GitHub Issues Stories in Ready Dependency Status devDependency Status docs downloads Commitizen friendly

kronos-service-manager

kronos service manger

API Reference

loadFlowFromFile(fileName) ⇒ Promise

Load a flow from a file

Kind: global function
Returns: Promise - of the loaded flow

Param Type
fileName string

willBeUnregistered() ⇒ Promise

Deletes a flow from the stored flow definitions. If the flow is currently running, it will be stopped first. After it is stopped, it will be deleted.

Kind: global function
Returns: Promise - returns a promise that is fullfilled when the flow is removed or one that rejects if there is no flow for the given flowName

manager(config, [modules]) ⇒ Promise

creates a kronos service manager.

Kind: global function
Returns: Promise - a promise with the service manager as its value

Param Type Description
config Array.<object> separated for each service
[modules] Array.<string> modules to register with registerWithManager

ServiceManager._stop() ⇒ Promise

Stops execution and frees all used resources. It will stop each flow. Then stop all services

Kind: instance method of ServiceManager
Returns: Promise - that fullfills when the manager has stopped


install

With npm do:

npm install kronos-service-manager

Browse available services, interceptors and steps.

license

BSD-2-Clause

Readme

Keywords

none

Package Sidebar

Install

npm i kronos-service-manager

Weekly Downloads

6

Version

3.5.10

License

BSD-2-Clause

Last publish

Collaborators

  • darlenya