haproxy

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2024 License: Apache-2.0 Imports: 14 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	ComponentName = "haproxy"

	CredsMountPath = "/etc/mysql/mysql-users-secret"
)
View Source
const (
	PortMySQL          = 3306
	PortMySQLReplicas  = 3307
	PortProxyProtocol  = 3309
	PortMySQLXProtocol = 33060
	PortAdmin          = 33062
	PortPMMStats       = 8404
)
View Source
const (
	CustomConfigKey = "haproxy.cfg"
)

Variables

This section is empty.

Functions

func MatchLabels

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

func NamespacedName added in v0.6.0

func PodName added in v0.6.0

func PodName(cr *apiv1alpha1.PerconaServerMySQL, idx int) string

func Service

func ServiceName

func ServiceName(cr *apiv1alpha1.PerconaServerMySQL) string

func StatefulSet

func StatefulSet(cr *apiv1alpha1.PerconaServerMySQL, initImage, configHash, tlsHash string, secret *corev1.Secret) *appsv1.StatefulSet

Types

type Configurable added in v0.6.0

type Configurable apiv1alpha1.PerconaServerMySQL

func (*Configurable) ExecuteConfigurationTemplate added in v0.6.0

func (c *Configurable) ExecuteConfigurationTemplate(input string, memory *resource.Quantity) (string, error)

func (*Configurable) GetConfigMapKey added in v0.6.0

func (c *Configurable) GetConfigMapKey() string

func (*Configurable) GetConfigMapName added in v0.6.0

func (c *Configurable) GetConfigMapName() string

func (*Configurable) GetConfiguration added in v0.6.0

func (c *Configurable) GetConfiguration() string

func (*Configurable) GetResources added in v0.6.0

func (c *Configurable) GetResources() corev1.ResourceRequirements

Jump to

Keyboard shortcuts

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