Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct { // SidecarImage is the image used in sidecar container to serve backups and configure MySQL SidecarImage string // MetricsExporterImage is the image for exporter container MetricsExporterImage string // ImagePullSecretName is the secret name where are found secrets for pulling images. This is // the default value and may be overwrite by the cluster .spec.podSpec.imagePullSecrets field. ImagePullSecretName string // ImagePullPolicy is the default image pull policy ImagePullPolicy corev1.PullPolicy // OrchestratorURI represents the URI where the Orchestrator can be reached. OrchestratorURI string // OrchestratorTopologyPassword is the password that is used by Orchestrator to connect to MySQL // nodes. This field is set in cluster secret as well. OrchestratorTopologyPassword string // OrchestratorTopologyUser is the user that is used by Orchestrator to connect to MySQL // nodes. This field is set in cluster secret as well. OrchestratorTopologyUser string // LeaderElectionNamespace the namespace where the lock resource will be created LeaderElectionNamespace string // LederElectionID the name of the lock resource LeaderElectionID string // Namespace where to look after objects. This will limit the operator action range. Namespace string // MySQLVersionImageOverride define a map between MySQL version and image. // This overrides the default versions and has priority. MySQLVersionImageOverride map[string]string // OrchestratorConcurrentReconciles sets the orchestrator controller workers OrchestratorConcurrentReconciles int32 }
Options is the data structure that contains information about mysql operator configuration
func GetOptions ¶
func GetOptions() *Options
GetOptions returns a singlethon that contains all options
Click to show internal directories.
Click to hide internal directories.