Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigGenerator ¶
type ConfigGenerator struct { *Options // contains filtered or unexported fields }
func NewConfigGenerator ¶
func NewConfigGenerator(opts *Options, hostname func() (name string, err error)) *ConfigGenerator
func (*ConfigGenerator) Generate ¶
func (c *ConfigGenerator) Generate() error
Generate generates the final config of datanode.
type Options ¶
type Options struct { ConfigPath string InitConfigPath string Namespace string ComponentKind string // For generating config of datanode or flownode. RPCPort int32 ServiceName string // Note: It's Deprecated and will be removed soon. For generating config of datanode. DatanodeRPCPort int32 DatanodeServiceName string }
Click to show internal directories.
Click to hide internal directories.