Versions in this module Expand all Collapse all v0 v0.4.0 Jun 17, 2020 Changes in this version + const HeadlessSVCName + const NodeInitializedConditionType + func GetNameForResource(name ResourceName, clusterName string) string + func GetNodeConditionIndex(nodeStatus *api.NodeStatus, condType api.NodeConditionType) (int, bool) + type MysqlCluster struct + func New(mc *api.MysqlCluster) *MysqlCluster + func (c *MysqlCluster) ExporterDataSourcePort() int + func (c *MysqlCluster) GetClusterAlias() string + func (c *MysqlCluster) GetClusterCondition(condType api.ClusterConditionType) *api.ClusterCondition + func (c *MysqlCluster) GetLabels() labels.Set + func (c *MysqlCluster) GetMasterHost() string + func (c *MysqlCluster) GetMySQLSemVer() semver.Version + func (c *MysqlCluster) GetMysqlImage() string + func (c *MysqlCluster) GetNameForResource(name ResourceName) string + func (c *MysqlCluster) GetNodeCondition(name string, condType api.NodeConditionType) *api.NodeCondition + func (c *MysqlCluster) GetNodeStatusFor(name string) api.NodeStatus + func (c *MysqlCluster) GetNodeStatusIndex(name string) int + func (c *MysqlCluster) GetPodHostname(p int) string + func (c *MysqlCluster) GetSelectorLabels() labels.Set + func (c *MysqlCluster) ShouldHaveInitContainerForMysql() bool + func (c *MysqlCluster) String() string + func (c *MysqlCluster) Unwrap() *api.MysqlCluster + func (c *MysqlCluster) UpdateNodeConditionStatus(nodeName string, condType api.NodeConditionType, status core.ConditionStatus) bool + func (c *MysqlCluster) UpdateSpec() + func (c *MysqlCluster) UpdateStatusCondition(condType api.ClusterConditionType, status core.ConditionStatus, ...) + func (c *MysqlCluster) Validate() error + func (cluster *MysqlCluster) SetDefaults(opt *options.Options) + type ResourceName string + const ConfigMap + const HeadlessSVC + const HealthyNodesService + const HealthyReplicasService + const MasterService + const OldHeadlessSVC + const PodDisruptionBudget + const Secret + const StatefulSet