internal

package
v0.1.0-alpha.28 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

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
}

Jump to

Keyboard shortcuts

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