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 NamespacedResourcesDeleterReconciler ¶
type NamespacedResourcesDeleterReconciler struct { Client clientset.Interface MetadataClient metadata.Interface }
NamespacedResourcesDeleterReconciler is a reconciler used to delete a namespace with all resources in it.
func (*NamespacedResourcesDeleterReconciler) SetupWithManager ¶
func (r *NamespacedResourcesDeleterReconciler) 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. |
Click to show internal directories.
Click to hide internal directories.