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)
Click to show internal directories.
Click to hide internal directories.