haproxy

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2026 License: Apache-2.0 Imports: 17 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 (
	AppName = "haproxy"

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

Variables

This section is empty.

Functions

func Labels added in v0.12.0

func Labels(cr *apiv1.PerconaServerMySQL) map[string]string

func MatchLabels

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

func Name

func NamespacedName added in v0.6.0

func NamespacedName(cr *apiv1.PerconaServerMySQL) types.NamespacedName

func PodName added in v0.6.0

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

func Service

func Service(cr *apiv1.PerconaServerMySQL, secret *corev1.Secret) *corev1.Service

func ServiceName

func ServiceName(cr *apiv1.PerconaServerMySQL) string

func StatefulSet

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

Types

type Component added in v0.12.0

type Component apiv1.PerconaServerMySQL

func (*Component) Labels added in v0.12.0

func (c *Component) Labels() map[string]string

func (*Component) MatchLabels added in v0.12.0

func (c *Component) MatchLabels() map[string]string

func (*Component) Name added in v0.12.0

func (c *Component) Name() string

func (*Component) Object added in v0.12.0

func (c *Component) Object(ctx context.Context, cl client.Client) (client.Object, error)

func (*Component) PerconaServerMySQL added in v0.12.0

func (c *Component) PerconaServerMySQL() *apiv1.PerconaServerMySQL

func (*Component) PodSpec added in v0.12.0

func (c *Component) PodSpec() *apiv1.PodSpec

type Configurable added in v0.6.0

type Configurable apiv1.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