File tree Expand file tree Collapse file tree
sdk/apis/third_party/conditions/util/conditions Expand file tree Collapse file tree Original file line number Diff line number Diff 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
3233var (
Original file line number Diff line number Diff 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
3435var (
Original file line number Diff line number Diff 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
3738const LeaderElectionTimeout = 20 * time .Second
Original file line number Diff line number Diff line change @@ -19,10 +19,11 @@ package conditions
1919import (
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
2829var (
Original file line number Diff line number Diff line change @@ -19,11 +19,12 @@ package conditions
1919import (
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
2930func TestMatchConditions (t * testing.T ) {
Original file line number Diff line number Diff line change @@ -19,10 +19,11 @@ package conditions
1919import (
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
2829func TestGetStepCounterMessage (t * testing.T ) {
Original file line number Diff line number Diff line change @@ -19,10 +19,11 @@ package conditions
1919import (
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
2829func TestNewConditionsGroup (t * testing.T ) {
Original file line number Diff line number Diff 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
3132func TestNewPatch (t * testing.T ) {
Original file line number Diff line number Diff 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
3334func TestHasSameState (t * testing.T ) {
You can’t perform that action at this time.
0 commit comments