internal

package
v0.1.0-alpha.16 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2023 License: Apache-2.0 Imports: 8 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.
	DatanodeRPCPort     int32
	DatanodeServiceName string
}

Jump to

Keyboard shortcuts

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