Skip to content

Commit 6906bc0

Browse files
committed
Expose webhook setup functions
1 parent bbc220a commit 6906bc0

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

pkg/webhook/v1alpha2/alias.go

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
package webhook
2+
3+
import webhookv1 "github.com/scaleway/cluster-api-provider-scaleway/internal/webhook/v1alpha2"
4+
5+
// Following variables provide access to webhooks implemented in internal/webhook/v1alpha2.
6+
7+
var (
8+
SetupScalewayClusterWebhookWithManager = webhookv1.SetupScalewayClusterWebhookWithManager
9+
SetupScalewayClusterTemplateWebhookWithManager = webhookv1.SetupScalewayClusterTemplateWebhookWithManager
10+
SetupScalewayMachineWebhookWithManager = webhookv1.SetupScalewayMachineWebhookWithManager
11+
SetupScalewayMachineTemplateWebhookWithManager = webhookv1.SetupScalewayMachineTemplateWebhookWithManager
12+
SetupScalewayManagedClusterWebhookWithManager = webhookv1.SetupScalewayManagedClusterWebhookWithManager
13+
SetupScalewayManagedControlPlaneWebhookWithManager = webhookv1.SetupScalewayManagedControlPlaneWebhookWithManager
14+
SetupScalewayManagedMachinePoolWebhookWithManager = webhookv1.SetupScalewayManagedMachinePoolWebhookWithManager
15+
)

0 commit comments

Comments
 (0)