new Action(opts)
Action
Parameters:
Name |
Type |
Description |
opts |
object
|
Options |
- Source:
Methods
deleteScopedAction(opts, cb)
Delete scoped actions
Parameters:
Name |
Type |
Description |
opts |
type
|
options |
cb |
type
|
callback |
- Source:
listScopedActions(opts, cb)
List scoped actions
Parameters:
Name |
Type |
Description |
opts |
type
|
options |
cb |
type
|
callback |
- Source:
trigger(opts, cb)
Trigger action
Parameters:
Name |
Type |
Description |
opts |
object
|
Options
Properties
Name |
Type |
Description |
server_name |
object
|
Server Name |
process_id |
object
|
Process id |
action_name |
object
|
Action name |
|
cb |
function
|
callback |
- Source:
triggerPM2action(opts, cb)
Trigger pm2 action
Parameters:
Name |
Type |
Description |
opts |
type
|
options
Properties
Name |
Type |
Description |
server_name |
type
|
Server name |
method_name |
type
|
Method name |
|
cb |
type
|
callback |
- Source:
triggerPm2ScopedAction(opts, cb)
Trigger pm2 scoped action
Parameters:
Name |
Type |
Description |
opts |
type
|
options |
cb |
type
|
callback |
- Source:
triggerScopedAction(opts, cb)
Trigger scoped action
Parameters:
Name |
Type |
Description |
opts |
object
|
Options
Properties
Name |
Type |
Description |
server_name |
object
|
Server Name |
action_name |
object
|
Action name |
app_name |
object
|
App name |
pm_id |
object
|
Process id |
|
cb |
function
|
callback |
- Source: