Documentation ¶
Overview ¶
Package controller contains methods used by all controller.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChainReconciler ¶
type ChainReconciler struct { ComponentConfig *config.ChainControllerConfiguration // WatchFilterValue is the label value used to filter events prior to reconciliation. WatchFilterValue string }
ChainReconciler reconciles a Chain object.
func (*ChainReconciler) SetupWithManager ¶
func (r *ChainReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error
type MinerReconciler ¶
type MinerReconciler struct { DryRun bool ProviderClient kubernetes.Interface ProviderCluster cluster.Cluster RedisClient *redis.Client ComponentConfig *minerconfig.MinerControllerConfiguration // WatchFilterValue is the label value used to filter events prior to reconciliation. WatchFilterValue string }
MinerReconciler reconciles a Miner object.
func (*MinerReconciler) SetupWithManager ¶
func (r *MinerReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error
type MinerSetReconciler ¶
type MinerSetReconciler struct { // WatchFilterValue is the label value used to filter events prior to reconciliation. WatchFilterValue string }
MinerSetReconciler reconciles a MinerSet object.
func (*MinerSetReconciler) SetupWithManager ¶
func (r *MinerSetReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error
type SyncReconciler ¶
SyncReconciler sync onex resource to database.
func (*SyncReconciler) SetupWithManager ¶
func (r *SyncReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error
Directories ¶
Path | Synopsis |
---|---|
apis
|
|
Package chain implements chain controller.
|
Package chain implements chain controller. |
Package miner implements miner controller.
|
Package miner implements miner controller. |
When there is a large amount of data in Etcd, there is a query bottleneck, especially with the List interface.
|
When there is a large amount of data in Etcd, there is a query bottleneck, especially with the List interface. |
Click to show internal directories.
Click to hide internal directories.