mysql

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DataMountPath   = "/var/lib/mysql"
	CustomConfigKey = "my.cnf"

	CredsMountPath = "/etc/mysql/mysql-users-secret"
)
View Source
const (
	DefaultPort      = 3306
	DefaultAdminPort = 33062
)

Variables

This section is empty.

Functions

func ConfigMapName

func ConfigMapName(cr *apiv1alpha1.PerconaServerMySQL) string

func MatchLabels

func MatchLabels(cr *apiv1alpha1.PerconaServerMySQL) map[string]string

func PrimaryServiceName

func PrimaryServiceName(cr *apiv1alpha1.PerconaServerMySQL) string

func ServiceName

func ServiceName(cr *apiv1alpha1.PerconaServerMySQL) string

func StatefulSet

func StatefulSet(cr *apiv1alpha1.PerconaServerMySQL, initImage, configHash string) *appsv1.StatefulSet

func UnreadyServiceName

func UnreadyServiceName(cr *apiv1alpha1.PerconaServerMySQL) string

Types

type User

type User struct {
	Username apiv1alpha1.SystemUser
	Password string
	Hosts    []string
}

Jump to

Keyboard shortcuts

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