sidecar

package
v0.0.0-...-0bc0e99 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewInitCommand

func NewInitCommand(cfg *Config) *cobra.Command

Types

type Config

type Config struct {
	HostName    string
	NameSpace   string
	ServiceName string

	// root password
	RootPassword string

	// replication user and password
	ReplicationUser     string
	ReplicationPassword string

	MetricsUser     string
	MetricsPassword string

	InitTokuDB bool

	MySQLVersion semver.Version

	AdmitDefeatHearbeatCount int32
	ElectionTimeout          int32
}

func NewConfig

func NewConfig() *Config

Jump to

Keyboard shortcuts

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