{"modulePath":"github.com/onexstack/onex","version":"v0.2.1","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package controller\n\nPackage controller contains methods used by all controller.\n\n## Types\n\n```go\ntype ChainReconciler struct {\n\tComponentConfig *config.ChainControllerConfiguration\n\n\t// WatchFilterValue is the label value used to filter events prior to reconciliation.\n\tWatchFilterValue string\n}\n```\nChainReconciler reconciles a Chain object.\n\n```go\nfunc (r *ChainReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error\n```\n\n```go\ntype MinerReconciler struct {\n\tDryRun          bool\n\tProviderClient  kubernetes.Interface\n\tProviderCluster cluster.Cluster\n\tRedisClient     *redis.Client\n\tComponentConfig *config.BlockchainControllerConfiguration\n\n\t// WatchFilterValue is the label value used to filter events prior to reconciliation.\n\tWatchFilterValue string\n}\n```\nMinerReconciler reconciles a Miner object.\n\n```go\nfunc (r *MinerReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error\n```\n\n```go\ntype MinerSetReconciler struct {\n\t// WatchFilterValue is the label value used to filter events prior to reconciliation.\n\tWatchFilterValue string\n}\n```\nMinerSetReconciler reconciles a MinerSet object.\n\n```go\nfunc (r *MinerSetReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error\n```\n\n```go\ntype SyncReconciler struct {\n\tStore store.IStore\n}\n```\nSyncReconciler sync onex resource to database.\n\n```go\nfunc (r *SyncReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error\n```\n\n","path":"github.com/onexstack/onex/internal/controller","name":"controller","synopsis":"Package controller contains methods used by all controller.","isRedistributable":true}
