Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoPrimary = errors.New("no primary")
Functions ¶
This section is empty.
Types ¶
type Topology ¶
Topology represents the topology of the database cluster.
func GroupReplication ¶
func GroupReplication(ctx context.Context, cli client.Client, cliCmd clientcmd.Client, cluster *apiv1.PerconaServerMySQL, operatorPass string) (Topology, error)
GroupReplication returns the topology of the mysql cluster in terms of primary and replicas when the cluster type is GR.
Click to show internal directories.
Click to hide internal directories.