package
0.0.0-20241021115229-a8bdbce37716
Repository: https://github.com/slpcat/docker-images.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

NewController creates a new MySQLController.
NewRealConfigMapControl creates a concrete implementation of the ConfigMapControlInterface.
NewRealPodControl creates a concrete implementation of the PodControlInterface.
NewRealSecretControl creates a concrete implementation of the SecretControlInterface.
NewRealServiceControl creates a concrete implementation of the ServiceControlInterface.
NewRealStatefulSetControl creates a concrete implementation of the StatefulSetControlInterface.
RegisterMetrics registers the cluster CRUD metrics.
SelectorForCluster creates a labels.Selector to match a given clusters associated resources.
SelectorForClusterOperatorVersion creates a labels.Selector to match a given clusters associated resources MySQLOperatorVersionLabel.

# Constants

ErrResourceExists is used as part of the Event 'reason' when a Cluster fails to sync due to a resource of the same name already existing.
MessageResourceExists is the message used for Events when a resource fails to sync due to a resource already existing.
MessageResourceSynced is the message used for an Event fired when a Cluster is synced successfully.
SuccessSynced is used as part of the Event 'reason' when a MySQSL is synced.

# Structs

The MySQLController watches the Kubernetes API for changes to MySQL resources.

# Interfaces

ConfigMapControlInterface defines the interface that the ClusterController uses to create Configmaps.
PodControlInterface defines the interface that the ClusterController uses to create, update, and delete mysql pods.
SecretControlInterface defines the interface that the ClusterController uses to get and create Secrets.
ServiceControlInterface defines the interface that the ClusterController uses to create Services.
StatefulSetControlInterface defines the interface that the ClusterController uses to create and update StatefulSets.