Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ linters:
- staticcheck
text: "ST1001"
path: test/e2e/*
- linters:
- dupl
- lll
path: pkg/*
paths:
- third_party$
- builtin$
Expand Down
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ RUN go mod download
# Copy the go source
COPY cmd/main.go cmd/main.go
COPY api/ api/
COPY pkg/ pkg/
COPY internal/ internal/

# Build
Expand Down
12 changes: 12 additions & 0 deletions pkg/controller/alias.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
package controller

import "github.com/scaleway/cluster-api-provider-scaleway/internal/controller"

// Following variables provide access to reconcilers implemented in internal/controller.
var (
NewScalewayClusterReconciler = controller.NewScalewayClusterReconciler
NewScalewayMachineReconciler = controller.NewScalewayMachineReconciler
NewScalewayManagedClusterReconciler = controller.NewScalewayManagedClusterReconciler
NewScalewayManagedControlPlaneReconciler = controller.NewScalewayManagedControlPlaneReconciler
NewScalewayManagedMachinePoolReconciler = controller.NewScalewayManagedMachinePoolReconciler
)