Documentation ¶
Index ¶
- func ConfigFilePath(nodeDir string) string
- func NewConfigTemplate(templateRaw string) (*template.Template, error)
- type ConfigGenerator
- func (dng *ConfigGenerator) Initiate(index int, dataNodeBinary 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
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 NewConfigGenerator(conf *config.Config) (*ConfigGenerator, error)
func (ConfigGenerator) OverwriteConfig ¶
func (*ConfigGenerator) TemplateAndMergeConfig ¶
func (ConfigGenerator) TemplateConfig ¶
Click to show internal directories.
Click to hide internal directories.