Finish implementing supervisor infrastructure

The process hierarchy and all supervisor control commands are now
working (e.g. status, create, destroy, restart), but nodes are
not currently spawned with the desired configuration parameters so
they don't yet operate as real cluster nodes (e.g. worker, logger,
manager, proxy).
This commit is contained in:
Jon Siwek 2019-10-18 17:57:20 -07:00
parent 2bc533f762
commit 773b39e52e
3 changed files with 287 additions and 198 deletions

View file

@ -7,11 +7,11 @@ export {
type Node: record {
# TODO: add proper config fields
name: string;
pid: count &optional;
};
type Status: record {
# TODO: add proper status fields
n: count;
# TODO: add more status fields ?
nodes: table[string] of Node;
};