compose

package
v1.6.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 1, 2021 License: GPL-3.0 Imports: 5 Imported by: 6

Documentation

Overview

compose package provides homi object which is to be used to create a docker-compose.yml

Source Files

Each file contains following contents

  • homi.go : Provides `Homi` and creates an assembled docker-compose.yml

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Homi

type Homi struct {
	IPPrefix          string
	EthStats          *service.KlayStats
	Services          []*service.Validator
	PrometheusService *service.PrometheusService
	GrafanaService    *service.GrafanaService
	UseGrafana        bool
	Proxies           []*service.Validator
	UseTxGen          bool
	TxGenService      *service.TxGenService
	TxGenOpt          service.TxGenOption
}

func New

func New(ipPrefix string, number int, secret string, addresses, nodeKeys []string,
	genesis, scGenesis, staticCNNodes, staticPNNodes, staticENNodes, staticSCNNodes, staticSPNNodes, staticSENNodes,
	bridgeNodes, dockerImageId string, useFastHttp bool, networkId, parentChainId int,
	useGrafana bool, proxyNodeKeys, enNodeKeys, scnNodeKeys, spnNodeKeys, senNodeKeys []string, useTxGen bool,
	txGenOpt service.TxGenOption) *Homi

func (Homi) String

func (ist Homi) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL