Documentation ¶
Overview ¶
Package deploy provides functions for building out nodes and test networks
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddNodes ¶
AddNodes adds nodes to the network instead of building independently. Functions similarly to build, except that it does not destroy the previous network when building.
func Build ¶
Build builds out the given docker network infrastructure according to the given parameters, and return the given array of servers, with ips updated for the nodes added to that server
func PurgeTestNetwork ¶
PurgeTestNetwork goes into each given ssh client and removes all the nodes and the networks. Increments the build state len(clients) * 2 times and sets it stag to tearing down network, if buildState is non nil.
Types ¶
This section is empty.