@@ -68,49 +68,3 @@ func (r *CommonReconciler) StandaloneClientWithRole(ctx context.Context, cr *api
68
68
}
69
69
return r .getMongoClientProvider ().Standalone (ctx , cr , role , host , cr .TLSEnabled ())
70
70
}
71
-
72
- /*
73
- // ReconcilePerconaServerMongoDB reconciles a PerconaServerMongoDB object
74
- type ReconcilePerconaServerMongoDB struct {
75
- // This client, initialized using mgr.Client() above, is a split client
76
- // that reads objects from the cache and writes to the apiserver
77
- client client.Client
78
- scheme *runtime.Scheme
79
- restConfig *rest.Config
80
-
81
- crons CronRegistry
82
- clientcmd *clientcmd.Client
83
- serverVersion *version.ServerVersion
84
- reconcileIn time.Duration
85
- mongoClientProvider psmdb.MongoClientProvider
86
-
87
- newCertManagerCtrlFunc tls.NewCertManagerControllerFunc
88
-
89
- newPBM backup.NewPBMFunc
90
-
91
- initImage string
92
-
93
- lockers lockStore
94
- }
95
-
96
- // ReconcilePerconaServerMongoDBRestore reconciles a PerconaServerMongoDBRestore object
97
- type ReconcilePerconaServerMongoDBRestore struct {
98
- // This client, initialized using mgr.Client() above, is a split client
99
- // that reads objects from the cache and writes to the apiserver
100
- client client.Client
101
- scheme *runtime.Scheme
102
- clientcmd *clientcmd.Client
103
-
104
- newPBMFunc backup.NewPBMFunc
105
- }
106
- // ReconcilePerconaServerMongoDBBackup reconciles a PerconaServerMongoDBBackup object
107
- type ReconcilePerconaServerMongoDBBackup struct {
108
- // This client, initialized using mgr.Client() above, is a split client
109
- // that reads objects from the cache and writes to the apiserver
110
- client client.Client
111
- scheme *runtime.Scheme
112
- clientcmd *clientcmd.Client
113
-
114
- newPBMFunc backup.NewPBMFunc
115
- }
116
- */
0 commit comments