Skip to content

Commit

Permalink
remove all references to the internal directories
Browse files Browse the repository at this point in the history
Signed-off-by: Luther Monson <[email protected]>
  • Loading branch information
luthermonson committed Dec 13, 2023
1 parent e05b03e commit 0159c9f
Show file tree
Hide file tree
Showing 22 changed files with 17 additions and 14 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ generate-manifests-rke2-bootstrap: $(CONTROLLER_GEN) ## Generate manifests e.g.
$(MAKE) clean-generated-yaml SRC_DIRS="./bootstrap/config/crd/bases"
$(CONTROLLER_GEN) \
paths=./bootstrap/api/... \
paths=./bootstrap/internal/controllers/... \
paths=./bootstrap/controllers/... \
crd:crdVersions=v1 \
rbac:roleName=manager-role \
output:crd:dir=./bootstrap/config/crd/bases \
Expand All @@ -170,8 +170,8 @@ generate-manifests-rke2-control-plane: $(CONTROLLER_GEN) ## Generate manifests e
$(MAKE) clean-generated-yaml SRC_DIRS="./controlplane/config/crd/bases"
$(CONTROLLER_GEN) \
paths=./controlplane/api/... \
paths=./controlplane/internal/controllers/... \
paths=./controlplane/internal/webhooks/... \
paths=./controlplane/controllers/... \
paths=./controlplane/webhooks/... \
crd:crdVersions=v1 \
rbac:roleName=manager-role \
output:crd:dir=./controlplane/config/crd/bases \
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ import (
"sigs.k8s.io/cluster-api/util/patch"

bootstrapv1 "github.com/rancher-sandbox/cluster-api-provider-rke2/bootstrap/api/v1alpha1"
"github.com/rancher-sandbox/cluster-api-provider-rke2/bootstrap/internal/cloudinit"
"github.com/rancher-sandbox/cluster-api-provider-rke2/bootstrap/internal/ignition"
"github.com/rancher-sandbox/cluster-api-provider-rke2/bootstrap/cloudinit"
"github.com/rancher-sandbox/cluster-api-provider-rke2/bootstrap/ignition"
controlplanev1 "github.com/rancher-sandbox/cluster-api-provider-rke2/controlplane/api/v1alpha1"
"github.com/rancher-sandbox/cluster-api-provider-rke2/pkg/consts"
"github.com/rancher-sandbox/cluster-api-provider-rke2/pkg/locking"
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import (
"github.com/pkg/errors"

bootstrapv1 "github.com/rancher-sandbox/cluster-api-provider-rke2/bootstrap/api/v1alpha1"
"github.com/rancher-sandbox/cluster-api-provider-rke2/bootstrap/internal/cloudinit"
"github.com/rancher-sandbox/cluster-api-provider-rke2/bootstrap/cloudinit"
)

// The template contains configurations for two main sections: systemd units and storage files.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
"k8s.io/utils/pointer"

bootstrapv1 "github.com/rancher-sandbox/cluster-api-provider-rke2/bootstrap/api/v1alpha1"
"github.com/rancher-sandbox/cluster-api-provider-rke2/bootstrap/internal/cloudinit"
"github.com/rancher-sandbox/cluster-api-provider-rke2/bootstrap/cloudinit"
)

func TestButane(t *testing.T) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ import (
"fmt"

bootstrapv1 "github.com/rancher-sandbox/cluster-api-provider-rke2/bootstrap/api/v1alpha1"
"github.com/rancher-sandbox/cluster-api-provider-rke2/bootstrap/internal/cloudinit"
"github.com/rancher-sandbox/cluster-api-provider-rke2/bootstrap/internal/ignition/butane"
"github.com/rancher-sandbox/cluster-api-provider-rke2/bootstrap/cloudinit"
"github.com/rancher-sandbox/cluster-api-provider-rke2/bootstrap/ignition/butane"
)

const (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
. "github.com/onsi/gomega"

bootstrapv1 "github.com/rancher-sandbox/cluster-api-provider-rke2/bootstrap/api/v1alpha1"
"github.com/rancher-sandbox/cluster-api-provider-rke2/bootstrap/internal/cloudinit"
"github.com/rancher-sandbox/cluster-api-provider-rke2/bootstrap/cloudinit"
)

func TestIgnition(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion bootstrap/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ import (
clusterv1 "sigs.k8s.io/cluster-api/api/v1beta1"

bootstrapv1 "github.com/rancher-sandbox/cluster-api-provider-rke2/bootstrap/api/v1alpha1"
"github.com/rancher-sandbox/cluster-api-provider-rke2/bootstrap/internal/controllers"
"github.com/rancher-sandbox/cluster-api-provider-rke2/bootstrap/controllers"
controlplanev1 "github.com/rancher-sandbox/cluster-api-provider-rke2/controlplane/api/v1alpha1"
"github.com/rancher-sandbox/cluster-api-provider-rke2/pkg/consts"
)
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion controlplane/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ import (

bootstrapv1 "github.com/rancher-sandbox/cluster-api-provider-rke2/bootstrap/api/v1alpha1"
controlplanev1 "github.com/rancher-sandbox/cluster-api-provider-rke2/controlplane/api/v1alpha1"
"github.com/rancher-sandbox/cluster-api-provider-rke2/controlplane/internal/controllers"
"github.com/rancher-sandbox/cluster-api-provider-rke2/controlplane/controllers"
"github.com/rancher-sandbox/cluster-api-provider-rke2/pkg/consts"
)

Expand Down
File renamed without changes.
7 changes: 5 additions & 2 deletions tilt-provider.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"go.mod",
"go.sum",
"api",
"internal",
"controllers",
"webhooks",
"pkg",
"../pkg"
],
Expand All @@ -27,7 +28,9 @@
"go.mod",
"go.sum",
"api",
"internal",
"cloudinit",
"controllers",
"ignition",
"pkg",
"../pkg"
],
Expand Down

0 comments on commit 0159c9f

Please sign in to comment.