package
0.4.0
Repository: https://github.com/ynnt/mysql-operator.git
Documentation: pkg.go.dev

# Functions

IsPodNotFound check if it's a PodNotFound error.
NewConfigMapSyncer returns config map syncer.
NewError returns a syncer error.
NewHeadlessSVCSyncer returns a service syncer.
NewHealthyReplicasSVCSyncer returns a service syncer for healthy replicas service.
NewHealthySVCSyncer returns a service syncer.
NewMasterSVCSyncer returns a service syncer for master service.
NewOperatedSecretSyncer returns secret syncer.
NewPDBSyncer returns the syncer for pdb.
NewPodNotFoundError returns a PodNotFound error.
NewPodSyncer returns the syncer for pod.
NewSecretSyncer returns secret syncer nolint: gocyclo TODO: this syncer is not needed anymore and can be removed in future version (v0.4).
NewStatefulSetSyncer returns a syncer for stateful set.

# Constants

ConfDPath is the path to extra mysql configs dir.
ConfMapVolumeMountPath represents the temp config mount path in init containers.
ConfVolumeMountPath is the path where mysql configs will be mounted.
DataVolumeMountPath is the path to mysql data.
ExporterPath is the path on which metrics are expose.
ExporterPort is the port that metrics will be exported.
ExporterPortName the name of the metrics exporter port.
MysqlPort is the default mysql port.
MysqlPortName represents the mysql port name.
OrcTopologyDir path where orc conf secret is mounted.
PodNotFound represents the error when pod is not found.
SidecarServerPort represents the port on which http server will run.
SidecarServerPortName name of the port.
SidecarServerProbePath the probe path.
TmpfsVolumeMountPath is the path for the tmpfs mount.

# Variables

ExporterTargetPort is the port for the exporter.
TargetPort is the mysql port that is set for headless service and should be string.

# Structs

SyncError is the error type for pod syncer.

# Type aliases

SyncErrCode is the error code.