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 8, 2023
1 parent e05b03e commit 907dcf5
Show file tree
Hide file tree
Showing 21 changed files with 14 additions and 11 deletions.
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 907dcf5

Please sign in to comment.