git ssb

0+

wanderer🌟 / js-primea-hypervisor



Tree: f4727d4ffbe94b91824c9a4dd8f0ac267f806d05

Files: f4727d4ffbe94b91824c9a4dd8f0ac267f806d05 / docs / hypervisor.md

4637 bytesRaw

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

Table of Contents

constructor

index.js:10-14

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

Parameters

getInstanceByPath

index.js:21-28

get a container by its path

Parameters

getInstanceByPort

index.js:35-46

get a contrainer instance given its entry port and its mounting port

Parameters

wait

index.js:56-63

given a port, wait untill its source contract has reached the threshold tick count

Parameters

createInstance

index.js:73-95

creates an instance given the container type, starting state, entry port and the parentPort

Parameters

createStateRoot

index.js:104-107

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

Parameters

Returns Promise

registerContainer

index.js:114-116

regirsters a container with the hypervisor

Parameters

Built with git-ssb-web