Skip to content

Commit 2d5d190

Browse files
committed
Move crapy to internal directly
1 parent 14c9d3f commit 2d5d190

Some content is hidden

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

66 files changed

+2071
-41
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ import (
2323
"github.com/go-logr/logr"
2424
"sigs.k8s.io/controller-runtime/pkg/client"
2525

26-
"github.com/mongodb/mongodb-atlas-kubernetes/v2/internal/generated/crapi/refs"
27-
"github.com/mongodb/mongodb-atlas-kubernetes/v2/internal/generated/crapi/unstructured"
26+
"github.com/mongodb/mongodb-atlas-kubernetes/v2/internal/crapi/refs"
27+
"github.com/mongodb/mongodb-atlas-kubernetes/v2/internal/crapi/unstructured"
2828
)
2929

3030
// Translator allows to translate back and forth between a CRD schema
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ import (
3030
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
3131
"sigs.k8s.io/controller-runtime/pkg/client"
3232

33-
"github.com/mongodb/mongodb-atlas-kubernetes/v2/internal/generated/crapi"
34-
"github.com/mongodb/mongodb-atlas-kubernetes/v2/internal/generated/crapi/crds"
35-
"github.com/mongodb/mongodb-atlas-kubernetes/v2/internal/generated/crapi/refs"
36-
"github.com/mongodb/mongodb-atlas-kubernetes/v2/internal/generated/crapi/testdata"
37-
v1 "github.com/mongodb/mongodb-atlas-kubernetes/v2/internal/generated/crapi/testdata/samples/v1"
33+
"github.com/mongodb/mongodb-atlas-kubernetes/v2/internal/crapi"
34+
"github.com/mongodb/mongodb-atlas-kubernetes/v2/internal/crapi/crds"
35+
"github.com/mongodb/mongodb-atlas-kubernetes/v2/internal/crapi/refs"
36+
"github.com/mongodb/mongodb-atlas-kubernetes/v2/internal/crapi/testdata"
37+
v1 "github.com/mongodb/mongodb-atlas-kubernetes/v2/internal/crapi/testdata/samples/v1"
3838
"github.com/mongodb/mongodb-atlas-kubernetes/v2/internal/pointer"
3939
"github.com/mongodb/mongodb-atlas-kubernetes/v2/pkg/k8s"
4040
)

internal/generated/crapi/crds/crds_test.go renamed to internal/crapi/crds/crds_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ import (
2323
"github.com/stretchr/testify/require"
2424
apiextensionsv1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1"
2525

26-
"github.com/mongodb/mongodb-atlas-kubernetes/v2/internal/generated/crapi/crds"
27-
"github.com/mongodb/mongodb-atlas-kubernetes/v2/internal/generated/crapi/testdata"
26+
"github.com/mongodb/mongodb-atlas-kubernetes/v2/internal/crapi/crds"
27+
"github.com/mongodb/mongodb-atlas-kubernetes/v2/internal/crapi/testdata"
2828
)
2929

3030
const (
File renamed without changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323
"k8s.io/apimachinery/pkg/runtime/schema"
2424
"sigs.k8s.io/controller-runtime/pkg/client"
2525

26-
"github.com/mongodb/mongodb-atlas-kubernetes/v2/internal/generated/crapi/unstructured"
26+
"github.com/mongodb/mongodb-atlas-kubernetes/v2/internal/crapi/unstructured"
2727
)
2828

2929
// ErrNoMatchingPropertySelector when no property selectors matched the value
File renamed without changes.

0 commit comments

Comments
 (0)