Skip to content

Commit 69bccf2

Browse files
chore: run task generate to sort imports
Co-authored-by: Christopher Junk <[email protected]>
1 parent 5590e97 commit 69bccf2

File tree

8 files changed

+24
-16
lines changed

8 files changed

+24
-16
lines changed

e2e/main_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,13 @@ import (
77
"testing"
88
"time"
99

10-
"github.com/openmcp-project/openmcp-testing/pkg/providers"
11-
"github.com/openmcp-project/openmcp-testing/pkg/setup"
1210
"k8s.io/klog/v2"
1311
"sigs.k8s.io/e2e-framework/klient/wait"
1412
"sigs.k8s.io/e2e-framework/pkg/env"
1513
"sigs.k8s.io/e2e-framework/pkg/envconf"
14+
15+
"github.com/openmcp-project/openmcp-testing/pkg/providers"
16+
"github.com/openmcp-project/openmcp-testing/pkg/setup"
1617
)
1718

1819
var testenv env.Environment

e2e/serviceprovider_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,13 @@ import (
55
"testing"
66
"time"
77

8-
"github.com/openmcp-project/openmcp-testing/pkg/clusterutils"
9-
"github.com/openmcp-project/openmcp-testing/pkg/providers"
108
corev1 "k8s.io/api/core/v1"
119
"sigs.k8s.io/e2e-framework/klient/wait"
1210
"sigs.k8s.io/e2e-framework/pkg/envconf"
1311
"sigs.k8s.io/e2e-framework/pkg/features"
12+
13+
"github.com/openmcp-project/openmcp-testing/pkg/clusterutils"
14+
"github.com/openmcp-project/openmcp-testing/pkg/providers"
1415
)
1516

1617
func TestServiceProvider(t *testing.T) {

pkg/clusterutils/clusterutils.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import (
55
"fmt"
66
"strings"
77

8-
"github.com/openmcp-project/openmcp-testing/pkg/resources"
98
corev1 "k8s.io/api/core/v1"
109
"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
1110
"k8s.io/client-go/tools/clientcmd"
@@ -14,6 +13,8 @@ import (
1413
"sigs.k8s.io/e2e-framework/klient/wait/conditions"
1514
"sigs.k8s.io/e2e-framework/pkg/envconf"
1615
"sigs.k8s.io/kind/pkg/cluster"
16+
17+
"github.com/openmcp-project/openmcp-testing/pkg/resources"
1718
)
1819

1920
// ConfigByPrefix returns an environment Config with the passed in namespace and

pkg/conditions/conditions.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@ import (
44
"context"
55
"fmt"
66

7-
"github.com/openmcp-project/openmcp-testing/internal"
87
corev1 "k8s.io/api/core/v1"
98
"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
109
"k8s.io/apimachinery/pkg/util/wait"
1110
"k8s.io/klog/v2"
1211
"sigs.k8s.io/e2e-framework/klient/k8s"
1312
"sigs.k8s.io/e2e-framework/pkg/envconf"
13+
14+
"github.com/openmcp-project/openmcp-testing/internal"
1415
)
1516

1617
// Match returns true if the conditionType of an object matches the conditionStatus.

pkg/providers/clusterprovider.go

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@ import (
44
"context"
55
"testing"
66

7-
"github.com/openmcp-project/openmcp-testing/internal"
8-
"github.com/openmcp-project/openmcp-testing/pkg/clusterutils"
9-
"github.com/openmcp-project/openmcp-testing/pkg/conditions"
10-
"github.com/openmcp-project/openmcp-testing/pkg/resources"
117
corev1 "k8s.io/api/core/v1"
128
"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
139
"k8s.io/apimachinery/pkg/runtime/schema"
@@ -16,6 +12,11 @@ import (
1612
"sigs.k8s.io/e2e-framework/klient/wait"
1713
"sigs.k8s.io/e2e-framework/pkg/envconf"
1814
"sigs.k8s.io/e2e-framework/pkg/features"
15+
16+
"github.com/openmcp-project/openmcp-testing/internal"
17+
"github.com/openmcp-project/openmcp-testing/pkg/clusterutils"
18+
"github.com/openmcp-project/openmcp-testing/pkg/conditions"
19+
"github.com/openmcp-project/openmcp-testing/pkg/resources"
1920
)
2021

2122
const clusterProviderTemplate = `

pkg/providers/serviceprovider.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,17 @@ import (
44
"context"
55
"testing"
66

7-
"github.com/openmcp-project/openmcp-testing/pkg/clusterutils"
8-
"github.com/openmcp-project/openmcp-testing/pkg/conditions"
9-
"github.com/openmcp-project/openmcp-testing/pkg/resources"
107
corev1 "k8s.io/api/core/v1"
118
"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
129
"k8s.io/apimachinery/pkg/runtime/schema"
1310
"k8s.io/klog/v2"
1411
"sigs.k8s.io/e2e-framework/klient/wait"
1512
"sigs.k8s.io/e2e-framework/pkg/envconf"
1613
"sigs.k8s.io/e2e-framework/pkg/features"
14+
15+
"github.com/openmcp-project/openmcp-testing/pkg/clusterutils"
16+
"github.com/openmcp-project/openmcp-testing/pkg/conditions"
17+
"github.com/openmcp-project/openmcp-testing/pkg/resources"
1718
)
1819

1920
const serviceProviderTemplate = `

pkg/resources/resources.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@ import (
55
"os"
66
"strings"
77

8-
"github.com/openmcp-project/openmcp-testing/internal"
98
"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
109
"k8s.io/klog/v2"
1110
"sigs.k8s.io/e2e-framework/klient/decoder"
1211
"sigs.k8s.io/e2e-framework/klient/k8s"
1312
"sigs.k8s.io/e2e-framework/klient/wait"
1413
"sigs.k8s.io/e2e-framework/klient/wait/conditions"
1514
"sigs.k8s.io/e2e-framework/pkg/envconf"
15+
16+
"github.com/openmcp-project/openmcp-testing/internal"
1617
)
1718

1819
// DeleteObject deletes the passed in object if it exists

pkg/setup/bootstrap.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ import (
44
"context"
55
"time"
66

7-
"github.com/openmcp-project/openmcp-testing/pkg/providers"
8-
"github.com/openmcp-project/openmcp-testing/pkg/resources"
97
apimachinerytypes "k8s.io/apimachinery/pkg/types"
108
"k8s.io/klog/v2"
119
"sigs.k8s.io/e2e-framework/klient/wait"
@@ -15,6 +13,9 @@ import (
1513
"sigs.k8s.io/e2e-framework/pkg/envfuncs"
1614
"sigs.k8s.io/e2e-framework/pkg/types"
1715
"sigs.k8s.io/e2e-framework/support/kind"
16+
17+
"github.com/openmcp-project/openmcp-testing/pkg/providers"
18+
"github.com/openmcp-project/openmcp-testing/pkg/resources"
1819
)
1920

2021
type OpenMCPSetup struct {

0 commit comments

Comments
 (0)