Search
Preparing search index...
The search index is not available
io.parrots
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"lib/share/resource/ParrotsInstanceResource"
ParrotsInstanceResource
Class ParrotsInstanceResource
Hierarchy
AbstractServerResource
ParrotsInstanceResource
Index
Constructors
constructor
Properties
base
Path
connection
Mgr
Methods
create
Instance
delete
Instance
delete
Node
edit
Instance
get
Connection
Manager
get
Instance
get
Instance
Count
get
Instance
Type
get
Instances
get
Node
Stats
get
Nodes
set
Connection
Manager
start
Instance
stop
Instance
Constructors
constructor
new
Parrots
Instance
Resource
(
connectionMgr
:
IConnectionManager
)
:
ParrotsInstanceResource
Parameters
connectionMgr:
IConnectionManager
Returns
ParrotsInstanceResource
Properties
Private
base
Path
base
Path
:
string
= "./instance"
Protected
connection
Mgr
connection
Mgr
:
IConnectionManager
Methods
create
Instance
create
Instance
(
body
:
any
)
:
Promise
<
any
>
Parameters
body:
any
Returns
Promise
<
any
>
delete
Instance
delete
Instance
(
uuid
:
string
)
:
Promise
<
any
>
Parameters
uuid:
string
Returns
Promise
<
any
>
delete
Node
delete
Node
(
uuid
:
string
, node_uuid
:
string
)
:
Promise
<
any
>
Parameters
uuid:
string
node_uuid:
string
Returns
Promise
<
any
>
edit
Instance
edit
Instance
(
body
:
any
)
:
Promise
<
any
>
Parameters
body:
any
Returns
Promise
<
any
>
get
Connection
Manager
get
Connection
Manager
(
)
:
IConnectionManager
Returns
IConnectionManager
get
Instance
get
Instance
(
uuid
:
string
)
:
Promise
<
any
>
Parameters
uuid:
string
Returns
Promise
<
any
>
get
Instance
Count
get
Instance
Count
(
)
:
Promise
<
any
>
Returns
Promise
<
any
>
get
Instance
Type
get
Instance
Type
(
)
:
Promise
<
any
>
Returns
Promise
<
any
>
get
Instances
get
Instances
(
)
:
Promise
<
any
>
Returns
Promise
<
any
>
get
Node
Stats
get
Node
Stats
(
uuid
:
string
)
:
Promise
<
any
>
Parameters
uuid:
string
Returns
Promise
<
any
>
get
Nodes
get
Nodes
(
uuid
:
any
)
:
Promise
<
any
>
Parameters
uuid:
any
Returns
Promise
<
any
>
set
Connection
Manager
set
Connection
Manager
(
connectionMgr
:
IConnectionManager
)
:
void
Parameters
connectionMgr:
IConnectionManager
Returns
void
start
Instance
start
Instance
(
uuid
:
string
)
:
Promise
<
any
>
Parameters
uuid:
string
Returns
Promise
<
any
>
stop
Instance
stop
Instance
(
uuid
:
string
)
:
Promise
<
any
>
Parameters
uuid:
string
Returns
Promise
<
any
>
Globals
"lib/share/resource/
Parrots
Instance
Resource"
Parrots
Instance
Resource
constructor
base
Path
connection
Mgr
create
Instance
delete
Instance
delete
Node
edit
Instance
get
Connection
Manager
get
Instance
get
Instance
Count
get
Instance
Type
get
Instances
get
Node
Stats
get
Nodes
set
Connection
Manager
start
Instance
stop
Instance
Generated using
TypeDoc