config

package
v0.38.1 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2025 License: MIT Imports: 18 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, logger logr.Logger) *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