preboot

package
v0.0.0-...-fc21188 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2020 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MariadbGalera ClusterType = "galera"
	MySQLGPC      ClusterType = "mysql"

	DefaultDomainName = "svc.cluster.local"
	MariadbConfDir    = "/etc/mysql/mariadb.conf.d"
)

Variables

This section is empty.

Functions

func PreBootGalera

func PreBootGalera(cfg *Config)

func StartMysqldAgent

func StartMysqldAgent(cfg *Config)

Types

type ClusterType

type ClusterType string

type Config

type Config struct {
	Kubeconfig string
	Kind       string
	Name       string
	Namespace  string
	Clustering ClusterType
	Port       int
	Dir        string
	DomainName string
	LogLevel   int
}

func (*Config) CreateGaleraCnf

func (cfg *Config) CreateGaleraCnf(clientset kubernetes.Interface)

Jump to

Keyboard shortcuts

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