config

package
v0.0.28 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConfigFileName    = "0-galera.cnf"
	BootstrapFileName = recovery.BootstrapFileName
)

Variables

View Source
var BootstrapFile = []byte(`[galera]
wsrep_new_cluster="ON"`)

Functions

func UpdateConfig added in v0.0.28

func UpdateConfig(configBytes []byte, podEnv *environment.PodEnvironment) ([]byte, error)

Types

type ConfigFile

type ConfigFile struct {
	// contains filtered or unexported fields
}

func NewConfigFile

func NewConfigFile(mariadb *mariadbv1alpha1.MariaDB) *ConfigFile

func (*ConfigFile) Marshal

func (c *ConfigFile) Marshal(podEnv *environment.PodEnvironment) ([]byte, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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