Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunTemplate ¶
func RunTemplate(dir string)
func Template ¶
func Template(dir string, nodeCount, repCount, ptmCount int, qlcVersion, ptmVersion string) ([]QlcNode, []PtmNode, error)
Create docker-compose.yml file by parameters Parameters: - dir: directory of docker-compose.yml to be created - nodeCount: number of qlc nodes to run - repCount: number of representation nodes to run - ptmCount: number of ptm nodes to run - qlcVersion: docker image version of qlc, if set "", default is "latest" - ptmVersion: docker image version of ptm, if set "", default is "latest"
Types ¶
Click to show internal directories.
Click to hide internal directories.