// GetClusterKey returns the MysqlUser's MySQLCluster key
GetClusterKey returns the MysqlUser's MySQLCluster key
// GetClusterKey returns the MysqlUser ' s MySQLCluster key
func (u *MySQLUser) GetClusterKey() client.ObjectKey {
	ns := u.Spec.ClusterRef.Namespace
	if ns == "" {
		ns = u.Namespace
	}
	return client.ObjectKey{
		Name:      u.Spec.ClusterRef.Name,
		Namespace: ns,
	}
}
func ( u * MySQLUser ) GetClusterKey ( ) client . ObjectKey { ns := u . Spec . ClusterRef . Namespace if ns == " " { ns = u . Namespace } return client . ObjectKey { Name : u . Spec . ClusterRef . Name , Namespace : ns , } }
GetClusterKey returns the MysqlUser's MySQLCluster key
GetClusterKey returns the MysqlUser ' s MySQLCluster key