Implement minimal supervised cluster configuration

More aspects of the cluster configuration to get fleshed out later,
but a basic cluster like one would use for a live deployment
can now be instantiated and run under supervision.  The new
clusterized-pcap-processing supervisor mode is also not done yet.
This commit is contained in:
Jon Siwek 2019-10-23 17:37:53 -07:00
parent 25a8ba99fa
commit 29f386e388
12 changed files with 390 additions and 91 deletions

View file

@ -54,17 +54,17 @@ function Supervisor::status(nodes: string): Status
return Supervisor::__status(nodes);
}
function create(node: Node): string
function Supervisor::create(node: Node): string
{
return Supervisor::__create(node);
}
function destroy(nodes: string): bool
function Supervisor::destroy(nodes: string): bool
{
return Supervisor::__destroy(nodes);
}
function restart(nodes: string): bool
function Supervisor::restart(nodes: string): bool
{
return Supervisor::__restart(nodes);
}