Documentation ¶
Overview ¶
When there is a large amount of data in Etcd, there is a query bottleneck, especially with the List interface. Therefore, the Sync package can be used to continuously synchronize data from Etcd to the MySQL database in real-time. When onex-gateway performs list queries, it can directly query from the MySQL database.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ChainSyncReconciler ¶
ChainSyncReconciler sync a Chain object to database.
func (*ChainSyncReconciler) SetupWithManager ¶
func (r *ChainSyncReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error
SetupWithManager sets up the controller with the Manager.
type MinerSetSyncReconciler ¶
MinerSetSyncReconciler sync a MinerSet object to database.
func (*MinerSetSyncReconciler) SetupWithManager ¶
func (r *MinerSetSyncReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error
SetupWithManager sets up the controller with the Manager.
type MinerSyncReconciler ¶
MinerSyncReconciler sync a Miner object to database.
func (*MinerSyncReconciler) SetupWithManager ¶
func (r *MinerSyncReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error
SetupWithManager sets up the controller with the Manager.