Skip to content

Commit

Permalink
gci
Browse files Browse the repository at this point in the history
  • Loading branch information
richardchen331 committed Jan 10, 2023
1 parent a8011e9 commit 5cdd8e1
Show file tree
Hide file tree
Showing 10 changed files with 4 additions and 18 deletions.
3 changes: 1 addition & 2 deletions api/v1alpha3/gcpcluster_conversion.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,9 @@ package v1alpha3

import (
apiconversion "k8s.io/apimachinery/pkg/conversion"
v1beta1 "sigs.k8s.io/cluster-api-provider-gcp/api/v1beta1"
utilconversion "sigs.k8s.io/cluster-api/util/conversion"
"sigs.k8s.io/controller-runtime/pkg/conversion"

v1beta1 "sigs.k8s.io/cluster-api-provider-gcp/api/v1beta1"
)

// ConvertTo converts this GCPCluster to the Hub version (v1beta1).
Expand Down
3 changes: 1 addition & 2 deletions api/v1alpha3/gcpmachine_conversion.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,9 @@ package v1alpha3

import (
apiconversion "k8s.io/apimachinery/pkg/conversion"
v1beta1 "sigs.k8s.io/cluster-api-provider-gcp/api/v1beta1"
utilconversion "sigs.k8s.io/cluster-api/util/conversion"
"sigs.k8s.io/controller-runtime/pkg/conversion"

v1beta1 "sigs.k8s.io/cluster-api-provider-gcp/api/v1beta1"
)

// ConvertTo converts this GCPMachine to the Hub version (v1beta1).
Expand Down
3 changes: 1 addition & 2 deletions api/v1alpha3/gcpmachinetemplate_conversion.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,9 @@ package v1alpha3

import (
apiconversion "k8s.io/apimachinery/pkg/conversion"
infrav1beta1 "sigs.k8s.io/cluster-api-provider-gcp/api/v1beta1"
utilconversion "sigs.k8s.io/cluster-api/util/conversion"
"sigs.k8s.io/controller-runtime/pkg/conversion"

infrav1beta1 "sigs.k8s.io/cluster-api-provider-gcp/api/v1beta1"
)

// ConvertTo converts this GCPMachineTemplate to the Hub version (v1beta1).
Expand Down
1 change: 0 additions & 1 deletion exp/api/v1beta1/webhook_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ import (
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
admissionv1beta1 "k8s.io/api/admission/v1beta1"

//+kubebuilder:scaffold:imports
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/client-go/rest"
Expand Down
1 change: 0 additions & 1 deletion exp/controllers/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ import (
"sigs.k8s.io/controller-runtime/pkg/envtest/printer"
logf "sigs.k8s.io/controller-runtime/pkg/log"
"sigs.k8s.io/controller-runtime/pkg/log/zap"
//+kubebuilder:scaffold:imports
)

// These tests use Ginkgo (BDD-style Go testing framework). Refer to
Expand Down
1 change: 0 additions & 1 deletion test/e2e/capi_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ import (

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"

"k8s.io/utils/pointer"
capi_e2e "sigs.k8s.io/cluster-api/test/e2e"
)
Expand Down
1 change: 0 additions & 1 deletion test/e2e/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ import (
"path/filepath"

. "github.com/onsi/ginkgo/v2"

corev1 "k8s.io/api/core/v1"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
clusterv1 "sigs.k8s.io/cluster-api/api/v1beta1"
Expand Down
2 changes: 0 additions & 2 deletions test/e2e/conformance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,9 @@ import (

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"

corev1 "k8s.io/api/core/v1"
"k8s.io/apimachinery/pkg/types"
"k8s.io/utils/pointer"

capi_e2e "sigs.k8s.io/cluster-api/test/e2e"
"sigs.k8s.io/cluster-api/test/framework/clusterctl"
"sigs.k8s.io/cluster-api/test/framework/kubetest"
Expand Down
2 changes: 0 additions & 2 deletions test/e2e/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,8 @@ import (

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"

corev1 "k8s.io/api/core/v1"
"k8s.io/utils/pointer"

"sigs.k8s.io/cluster-api/test/framework/clusterctl"
"sigs.k8s.io/cluster-api/util"
)
Expand Down
5 changes: 1 addition & 4 deletions test/e2e/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,13 @@ import (

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"

"k8s.io/apimachinery/pkg/runtime"

infrav1 "sigs.k8s.io/cluster-api-provider-gcp/api/v1beta1"
capi_e2e "sigs.k8s.io/cluster-api/test/e2e"
"sigs.k8s.io/cluster-api/test/framework"
"sigs.k8s.io/cluster-api/test/framework/bootstrap"
"sigs.k8s.io/cluster-api/test/framework/clusterctl"
"sigs.k8s.io/cluster-api/test/framework/ginkgoextensions"

infrav1 "sigs.k8s.io/cluster-api-provider-gcp/api/v1beta1"
)

const (
Expand Down

0 comments on commit 5cdd8e1

Please sign in to comment.