config

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

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

Variables

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

Functions

This section is empty.

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(podName, mariadbRootPassword string) ([]byte, error)

Jump to

Keyboard shortcuts

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