Documentation ¶
Index ¶
- func ConfigFilePath(nodeDir string) string
- func NewConfigTemplate(templateRaw string) (*template.Template, error)
- type ConfigGenerator
- func (dng *ConfigGenerator) Initiate(index int, chainID string, optVegaBinary *string) (*types.DataNode, error)
- func (dng ConfigGenerator) OverwriteConfig(ns types.NodeSet, configTemplate *template.Template) error
- func (dng *ConfigGenerator) TemplateAndMergeConfig(ns types.NodeSet, configTemplate *template.Template) (*bytes.Buffer, error)
- func (dng ConfigGenerator) TemplateConfig(ns types.NodeSet, configTemplate *template.Template) (*bytes.Buffer, error)
- type ConfigTemplateContext
- type IPSFPeer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigFilePath ¶
Types ¶
type ConfigGenerator ¶
type ConfigGenerator struct {
// contains filtered or unexported fields
}
func NewConfigGenerator ¶
func (ConfigGenerator) OverwriteConfig ¶
func (*ConfigGenerator) TemplateAndMergeConfig ¶
func (ConfigGenerator) TemplateConfig ¶
type ConfigTemplateContext ¶
type ConfigTemplateContext struct { NodeHomeDir string NodeNumber int NodeSet types.NodeSet // contains filtered or unexported fields }
func (ConfigTemplateContext) GetNetworkHistoryPeerID ¶ added in v0.5.1
func (tc ConfigTemplateContext) GetNetworkHistoryPeerID(nodeNumber int) string
func (ConfigTemplateContext) GetNetworkHistoryPrivKey ¶ added in v0.5.1
func (tc ConfigTemplateContext) GetNetworkHistoryPrivKey(nodeNumber int) string
func (ConfigTemplateContext) IPSFPeers ¶ added in v0.3.0
func (tc ConfigTemplateContext) IPSFPeers() []IPSFPeer
Click to show internal directories.
Click to hide internal directories.