Skip to content

Commit eb95322

Browse files
committed
Cleanup exp packages
Signed-off-by: Stefan Büringer [email protected]
1 parent 4aecb73 commit eb95322

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+374
-711
lines changed

Makefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,8 +289,6 @@ generate-manifests-core: $(CONTROLLER_GEN) $(KUSTOMIZE) ## Generate manifests e.
289289
paths=./internal/controllers/... \
290290
paths=./internal/webhooks/... \
291291
paths=./internal/api/addons/... \
292-
paths=./exp/internal/controllers/... \
293-
paths=./exp/internal/webhooks/... \
294292
paths=./exp/ipam/internal/webhooks/... \
295293
paths=./exp/runtime/internal/controllers/... \
296294
crd:crdVersions=v1 \

controllers/alias.go

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,11 @@ import (
3434
clusterclasscontroller "sigs.k8s.io/cluster-api/internal/controllers/clusterclass"
3535
"sigs.k8s.io/cluster-api/internal/controllers/clusterresourceset"
3636
"sigs.k8s.io/cluster-api/internal/controllers/clusterresourcesetbinding"
37+
extensionconfigcontroller "sigs.k8s.io/cluster-api/internal/controllers/extensionconfig"
3738
machinecontroller "sigs.k8s.io/cluster-api/internal/controllers/machine"
3839
machinedeploymentcontroller "sigs.k8s.io/cluster-api/internal/controllers/machinedeployment"
3940
machinehealthcheckcontroller "sigs.k8s.io/cluster-api/internal/controllers/machinehealthcheck"
41+
machinepoolcontroller "sigs.k8s.io/cluster-api/internal/controllers/machinepool"
4042
machinesetcontroller "sigs.k8s.io/cluster-api/internal/controllers/machineset"
4143
clustertopologycontroller "sigs.k8s.io/cluster-api/internal/controllers/topology/cluster"
4244
machinedeploymenttopologycontroller "sigs.k8s.io/cluster-api/internal/controllers/topology/machinedeployment"
@@ -279,3 +281,41 @@ func (r *ClusterResourceSetBindingReconciler) SetupWithManager(ctx context.Conte
279281
WatchFilterValue: r.WatchFilterValue,
280282
}).SetupWithManager(ctx, mgr, options)
281283
}
284+
285+
// MachinePoolReconciler reconciles a MachinePool object.
286+
type MachinePoolReconciler struct {
287+
Client client.Client
288+
APIReader client.Reader
289+
ClusterCache clustercache.ClusterCache
290+
291+
// WatchFilterValue is the label value used to filter events prior to reconciliation.
292+
WatchFilterValue string
293+
}
294+
295+
func (r *MachinePoolReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error {
296+
return (&machinepoolcontroller.Reconciler{
297+
Client: r.Client,
298+
APIReader: r.APIReader,
299+
ClusterCache: r.ClusterCache,
300+
WatchFilterValue: r.WatchFilterValue,
301+
}).SetupWithManager(ctx, mgr, options)
302+
}
303+
304+
// ExtensionConfigReconciler reconciles an ExtensionConfig object.
305+
type ExtensionConfigReconciler struct {
306+
Client client.Client
307+
APIReader client.Reader
308+
RuntimeClient runtimeclient.Client
309+
310+
// WatchFilterValue is the label value used to filter events prior to reconciliation.
311+
WatchFilterValue string
312+
}
313+
314+
func (r *ExtensionConfigReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options, partialSecretCache cache.Cache) error {
315+
return (&extensionconfigcontroller.Reconciler{
316+
Client: r.Client,
317+
APIReader: r.APIReader,
318+
RuntimeClient: r.RuntimeClient,
319+
WatchFilterValue: r.WatchFilterValue,
320+
}).SetupWithManager(ctx, mgr, options, partialSecretCache)
321+
}

exp/controllers/alias.go

Lines changed: 0 additions & 47 deletions
This file was deleted.

exp/hack/boilerplate.go.txt

Lines changed: 0 additions & 16 deletions
This file was deleted.

exp/internal/controllers/doc.go

Lines changed: 0 additions & 18 deletions
This file was deleted.

exp/internal/webhooks/doc.go

Lines changed: 0 additions & 18 deletions
This file was deleted.

exp/ipam/webhooks/alias.go

Lines changed: 0 additions & 45 deletions
This file was deleted.

exp/ipam/webhooks/doc.go

Lines changed: 0 additions & 18 deletions
This file was deleted.

exp/runtime/controllers/alias.go

Lines changed: 0 additions & 48 deletions
This file was deleted.

exp/runtime/controllers/doc.go

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)