config

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 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