package
0.0.0-20200528063454-c2ba8ab4e383
Repository: https://github.com/cuijxin/mysql-operator.git
Documentation: pkg.go.dev
# Functions
HasRoleSelector returns a label selector that selects all Pods for a MySQLCluster that have been labeled as having a role.
NewClusterLabelerController creates a new ClusterLabelerController.
NonPrimarySelector returns a label selector that selects all Pods excluding primaries of a MySQLCluster.
PrimarySelector returns a label selector that selects only primaries of a MySQLCluster's Pods.
SecondarySelector returns a label selector that selects only secondaries of a MySQLCluster's Pods.
# Structs
ClusterLabelerController adds annotations about the InnoDB cluster state to the MySQLCluster's Pods.