git ssb

0+

wanderer🌟 / js-primea-hypervisor



Tree: 2fb975398cfb471a241d9576050158a86e8eff04

Files: 2fb975398cfb471a241d9576050158a86e8eff04 / docs / hypervisor.md

4446 bytesRaw

<!-- Generated by documentation.js. Update this documentation by updating the source code. -->

Table of Contents

constructor

index.js:16-22

The Hypervisor manages the container instances by instantiating them and destorying them when possible. It also facilitates localating Containers

Parameters

addNodeToCheck

index.js:28-30

add a potaintail node in the state graph to check for garbage collection

Parameters

getDestPort

index.js:37-43

given a port, this finds the corridsponeding endpoint port of the channel

Parameters

Returns Promise

getInstance

index.js:73-83

gets an existsing container instances

Parameters

Returns Promise

createInstance

index.js:95-119

creates an new container instances and save it in the state

Parameters

Returns Promise

createStateRoot

index.js:127-134

creates a state root starting from a given container and a given number of ticks

Parameters

Returns Promise

registerContainer

index.js:142-147

regirsters a container with the hypervisor

Parameters

Built with git-ssb-web