Skip to content

Commit 3220475

Browse files
committed
make imports
Signed-off-by: Nelo-T. Wallus <red.brush9525@fastmail.com> Signed-off-by: Nelo-T. Wallus <n.wallus@sap.com>
1 parent de49b97 commit 3220475

9 files changed

Lines changed: 20 additions & 11 deletions

File tree

cli/pkg/kubectl/bind-apiservice/cmd/cmd.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,12 @@ import (
2222
"github.com/fatih/color"
2323
"github.com/spf13/cobra"
2424
"k8s.io/cli-runtime/pkg/genericclioptions"
25-
_ "k8s.io/client-go/plugin/pkg/client/auth/exec"
26-
_ "k8s.io/client-go/plugin/pkg/client/auth/oidc"
2725
logsv1 "k8s.io/component-base/logs/api/v1"
2826

2927
"github.com/kube-bind/kube-bind/cli/pkg/kubectl/bind-apiservice/plugin"
28+
29+
_ "k8s.io/client-go/plugin/pkg/client/auth/exec"
30+
_ "k8s.io/client-go/plugin/pkg/client/auth/oidc"
3031
)
3132

3233
var (

cli/pkg/kubectl/bind/cmd/cmd.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,13 @@ import (
2323
"github.com/fatih/color"
2424
"github.com/spf13/cobra"
2525
"k8s.io/cli-runtime/pkg/genericclioptions"
26-
_ "k8s.io/client-go/plugin/pkg/client/auth/exec"
27-
_ "k8s.io/client-go/plugin/pkg/client/auth/oidc"
2826
logsv1 "k8s.io/component-base/logs/api/v1"
2927

3028
"github.com/kube-bind/kube-bind/cli/pkg/help"
3129
"github.com/kube-bind/kube-bind/cli/pkg/kubectl/bind/plugin"
30+
31+
_ "k8s.io/client-go/plugin/pkg/client/auth/exec"
32+
_ "k8s.io/client-go/plugin/pkg/client/auth/oidc"
3233
)
3334

3435
var (

cmd/konnector/cmd/konnector.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,14 @@ import (
2525
"github.com/spf13/cobra"
2626
"k8s.io/client-go/tools/leaderelection"
2727
logsv1 "k8s.io/component-base/logs/api/v1"
28-
_ "k8s.io/component-base/logs/json/register"
2928
componentbaseversion "k8s.io/component-base/version"
3029
"k8s.io/klog/v2"
3130

3231
"github.com/kube-bind/kube-bind/pkg/konnector"
3332
konnectoroptions "github.com/kube-bind/kube-bind/pkg/konnector/options"
3433
bindversion "github.com/kube-bind/kube-bind/pkg/version"
34+
35+
_ "k8s.io/component-base/logs/json/register"
3536
)
3637

3738
const LeaderElectionTimeout = 20 * time.Second

sdk/apis/third_party/conditions/util/conditions/getter_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,11 @@ package conditions
1919
import (
2020
"testing"
2121

22-
. "github.com/onsi/gomega"
2322
"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
2423

2524
conditionsapi "github.com/kube-bind/kube-bind/sdk/apis/third_party/conditions/apis/conditions/v1alpha1"
25+
26+
. "github.com/onsi/gomega"
2627
)
2728

2829
var (

sdk/apis/third_party/conditions/util/conditions/matcher_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,12 @@ package conditions
1919
import (
2020
"testing"
2121

22-
. "github.com/onsi/gomega"
2322
corev1 "k8s.io/api/core/v1"
2423
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
2524

2625
conditionsapi "github.com/kube-bind/kube-bind/sdk/apis/third_party/conditions/apis/conditions/v1alpha1"
26+
27+
. "github.com/onsi/gomega"
2728
)
2829

2930
func TestMatchConditions(t *testing.T) {

sdk/apis/third_party/conditions/util/conditions/merge_strategies_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,11 @@ package conditions
1919
import (
2020
"testing"
2121

22-
. "github.com/onsi/gomega"
2322
"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
2423

2524
conditionsapi "github.com/kube-bind/kube-bind/sdk/apis/third_party/conditions/apis/conditions/v1alpha1"
25+
26+
. "github.com/onsi/gomega"
2627
)
2728

2829
func TestGetStepCounterMessage(t *testing.T) {

sdk/apis/third_party/conditions/util/conditions/merge_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,11 @@ package conditions
1919
import (
2020
"testing"
2121

22-
. "github.com/onsi/gomega"
2322
corev1 "k8s.io/api/core/v1"
2423

2524
conditionsapi "github.com/kube-bind/kube-bind/sdk/apis/third_party/conditions/apis/conditions/v1alpha1"
25+
26+
. "github.com/onsi/gomega"
2627
)
2728

2829
func TestNewConditionsGroup(t *testing.T) {

sdk/apis/third_party/conditions/util/conditions/patch_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,13 @@ import (
2020
"testing"
2121
"time"
2222

23-
. "github.com/onsi/gomega"
2423
corev1 "k8s.io/api/core/v1"
2524
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
2625
"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
2726

2827
conditionsapi "github.com/kube-bind/kube-bind/sdk/apis/third_party/conditions/apis/conditions/v1alpha1"
28+
29+
. "github.com/onsi/gomega"
2930
)
3031

3132
func TestNewPatch(t *testing.T) {

sdk/apis/third_party/conditions/util/conditions/setter_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,14 @@ import (
2121
"testing"
2222
"time"
2323

24-
. "github.com/onsi/gomega"
2524
"github.com/onsi/gomega/format"
2625
"github.com/onsi/gomega/types"
2726
corev1 "k8s.io/api/core/v1"
2827
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
2928

3029
conditionsapi "github.com/kube-bind/kube-bind/sdk/apis/third_party/conditions/apis/conditions/v1alpha1"
30+
31+
. "github.com/onsi/gomega"
3132
)
3233

3334
func TestHasSameState(t *testing.T) {

0 commit comments

Comments
 (0)