Skip to content

Commit 8d0f543

Browse files
enxebreingvagabund
authored andcommitted
UPSTREAM: <carry>: openshift: Update import path to reflect github/openshift
We are mirroring the API types under machine.openshift.io group. For the sake of transparency we are making this explicit in the import path. This allows both libraries upstream and openshift ot be consumed simultaneously by other tooling. We aim to consilidate back with upstream once there's a relase stable enough
1 parent 28919f8 commit 8d0f543

File tree

768 files changed

+1004
-917
lines changed

Some content is hidden

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

768 files changed

+1004
-917
lines changed

BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
load("@bazel_gazelle//:def.bzl", "gazelle")
22
load("//build:run_in_workspace_with_goroot.bzl", "workspace_binary")
33

4-
# gazelle:prefix sigs.k8s.io/cluster-api
4+
# gazelle:prefix github.com/openshift/cluster-api
55
# gazelle:proto disable_global
66
gazelle(
77
name = "gazelle",

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,16 @@
1616
FROM golang:1.11.5 as builder
1717

1818
# Copy in the go src
19-
WORKDIR $GOPATH/src/sigs.k8s.io/cluster-api
19+
WORKDIR $GOPATH/src/github.com/openshift/cluster-api
2020
COPY pkg/ pkg/
2121
COPY cmd/ cmd/
2222
COPY vendor/ vendor/
2323

2424
# Build
25-
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -ldflags '-extldflags "-static"' -o manager sigs.k8s.io/cluster-api/cmd/manager
25+
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -ldflags '-extldflags "-static"' -o manager github.com/openshift/cluster-api/cmd/manager
2626

2727
# Copy the controller-manager into a thin image
2828
FROM gcr.io/distroless/static:latest
2929
WORKDIR /
30-
COPY --from=builder /go/src/sigs.k8s.io/cluster-api/manager .
30+
COPY --from=builder /go/src/github.com/openshift/cluster-api/manager .
3131
ENTRYPOINT ["/manager"]

Makefile

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@ test: gazelle verify generate fmt vet manifests ## Run tests
4646

4747
.PHONY: manager
4848
manager: generate fmt vet ## Build manager binary
49-
go build -o bin/manager sigs.k8s.io/cluster-api/cmd/manager
49+
go build -o bin/manager github.com/openshift/cluster-api/cmd/manager
5050

5151
.PHONY: clusterctl
5252
clusterctl: generate fmt vet ## Build clusterctl binary
53-
go build -o bin/clusterctl sigs.k8s.io/cluster-api/cmd/clusterctl
53+
go build -o bin/clusterctl github.com/openshift/cluster-api/cmd/clusterctl
5454

5555
.PHONY: run
5656
run: generate fmt vet ## Run against the configured Kubernetes cluster in ~/.kube/config
@@ -92,16 +92,16 @@ generate: clientset dep-ensure ## Generate code
9292
clientset: ## Generate a typed clientset
9393
rm -rf pkg/client
9494
cd ./vendor/k8s.io/code-generator/cmd && go install ./client-gen ./lister-gen ./informer-gen
95-
$$GOPATH/bin/client-gen --clientset-name clientset --input-base sigs.k8s.io/cluster-api/pkg/apis \
96-
--input cluster/v1alpha1,machine/v1beta1 --output-package sigs.k8s.io/cluster-api/pkg/client/clientset_generated \
95+
$$GOPATH/bin/client-gen --clientset-name clientset --input-base github.com/openshift/cluster-api/pkg/apis \
96+
--input cluster/v1alpha1,machine/v1beta1 --output-package github.com/openshift/cluster-api/pkg/client/clientset_generated \
9797
--go-header-file=./hack/boilerplate.go.txt
98-
$$GOPATH/bin/lister-gen --input-dirs sigs.k8s.io/cluster-api/pkg/apis/cluster/v1alpha1,sigs.k8s.io/cluster-api/pkg/apis/machine/v1beta1 \
99-
--output-package sigs.k8s.io/cluster-api/pkg/client/listers_generated \
98+
$$GOPATH/bin/lister-gen --input-dirs github.com/openshift/cluster-api/pkg/apis/cluster/v1alpha1,github.com/openshift/cluster-api/pkg/apis/machine/v1beta1 \
99+
--output-package github.com/openshift/cluster-api/pkg/client/listers_generated \
100100
--go-header-file=./hack/boilerplate.go.txt
101-
$$GOPATH/bin/informer-gen --input-dirs sigs.k8s.io/cluster-api/pkg/apis/cluster/v1alpha1,sigs.k8s.io/cluster-api/pkg/apis/machine/v1beta1 \
102-
--versioned-clientset-package sigs.k8s.io/cluster-api/pkg/client/clientset_generated/clientset \
103-
--listers-package sigs.k8s.io/cluster-api/pkg/client/listers_generated \
104-
--output-package sigs.k8s.io/cluster-api/pkg/client/informers_generated \
101+
$$GOPATH/bin/informer-gen --input-dirs github.com/openshift/cluster-api/pkg/apis/cluster/v1alpha1,github.com/openshift/cluster-api/pkg/apis/machine/v1beta1 \
102+
--versioned-clientset-package github.com/openshift/cluster-api/pkg/client/clientset_generated/clientset \
103+
--listers-package github.com/openshift/cluster-api/pkg/client/listers_generated \
104+
--output-package github.com/openshift/cluster-api/pkg/client/informers_generated \
105105
--go-header-file=./hack/boilerplate.go.txt
106106
$(MAKE) gazelle
107107

cmd/clusterctl/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
33
go_library(
44
name = "go_default_library",
55
srcs = ["main.go"],
6-
importpath = "sigs.k8s.io/cluster-api/cmd/clusterctl",
6+
importpath = "github.com/openshift/cluster-api/cmd/clusterctl",
77
visibility = ["//visibility:private"],
88
deps = ["//cmd/clusterctl/cmd:go_default_library"],
99
)

cmd/clusterctl/clientcmd/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library")
33
go_library(
44
name = "go_default_library",
55
srcs = ["configutil.go"],
6-
importpath = "sigs.k8s.io/cluster-api/cmd/clusterctl/clientcmd",
6+
importpath = "github.com/openshift/cluster-api/cmd/clusterctl/clientcmd",
77
visibility = ["//visibility:public"],
88
deps = [
99
"//pkg/client/clientset_generated/clientset:go_default_library",

cmd/clusterctl/clientcmd/configutil.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ limitations under the License.
1919
package clientcmd
2020

2121
import (
22+
"github.com/openshift/cluster-api/pkg/client/clientset_generated/clientset"
2223
"k8s.io/client-go/kubernetes"
2324
"k8s.io/client-go/rest"
2425
"k8s.io/client-go/tools/clientcmd"
2526
"k8s.io/client-go/tools/clientcmd/api"
26-
"sigs.k8s.io/cluster-api/pkg/client/clientset_generated/clientset"
2727
)
2828

2929
// This is a convenience method to prevent the need of importing both this version of clientcmd and the client-go version

cmd/clusterctl/clusterdeployer/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ go_library(
66
"clusterdeployer.go",
77
"providercomponentsstorefactory.go",
88
],
9-
importpath = "sigs.k8s.io/cluster-api/cmd/clusterctl/clusterdeployer",
9+
importpath = "github.com/openshift/cluster-api/cmd/clusterctl/clusterdeployer",
1010
visibility = ["//visibility:public"],
1111
deps = [
1212
"//cmd/clusterctl/clusterdeployer/bootstrap:go_default_library",

cmd/clusterctl/clusterdeployer/bootstrap/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ go_library(
66
"options.go",
77
"provisioner.go",
88
],
9-
importpath = "sigs.k8s.io/cluster-api/cmd/clusterctl/clusterdeployer/bootstrap",
9+
importpath = "github.com/openshift/cluster-api/cmd/clusterctl/clusterdeployer/bootstrap",
1010
visibility = ["//visibility:public"],
1111
deps = [
1212
"//cmd/clusterctl/clusterdeployer/bootstrap/existing:go_default_library",

cmd/clusterctl/clusterdeployer/bootstrap/existing/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
33
go_library(
44
name = "go_default_library",
55
srcs = ["cluster.go"],
6-
importpath = "sigs.k8s.io/cluster-api/cmd/clusterctl/clusterdeployer/bootstrap/existing",
6+
importpath = "github.com/openshift/cluster-api/cmd/clusterctl/clusterdeployer/bootstrap/existing",
77
visibility = ["//visibility:public"],
88
deps = ["//vendor/github.com/pkg/errors:go_default_library"],
99
)

cmd/clusterctl/clusterdeployer/bootstrap/kind/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
33
go_library(
44
name = "go_default_library",
55
srcs = ["kind.go"],
6-
importpath = "sigs.k8s.io/cluster-api/cmd/clusterctl/clusterdeployer/bootstrap/kind",
6+
importpath = "github.com/openshift/cluster-api/cmd/clusterctl/clusterdeployer/bootstrap/kind",
77
visibility = ["//visibility:public"],
88
deps = [
99
"//vendor/github.com/pkg/errors:go_default_library",

cmd/clusterctl/clusterdeployer/bootstrap/minikube/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
33
go_library(
44
name = "go_default_library",
55
srcs = ["minikube.go"],
6-
importpath = "sigs.k8s.io/cluster-api/cmd/clusterctl/clusterdeployer/bootstrap/minikube",
6+
importpath = "github.com/openshift/cluster-api/cmd/clusterctl/clusterdeployer/bootstrap/minikube",
77
visibility = ["//visibility:public"],
88
deps = [
99
"//vendor/github.com/pkg/errors:go_default_library",

cmd/clusterctl/clusterdeployer/bootstrap/provisioner.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ limitations under the License.
1717
package bootstrap
1818

1919
import (
20+
"github.com/openshift/cluster-api/cmd/clusterctl/clusterdeployer/bootstrap/existing"
21+
"github.com/openshift/cluster-api/cmd/clusterctl/clusterdeployer/bootstrap/kind"
22+
"github.com/openshift/cluster-api/cmd/clusterctl/clusterdeployer/bootstrap/minikube"
2023
"github.com/pkg/errors"
21-
"sigs.k8s.io/cluster-api/cmd/clusterctl/clusterdeployer/bootstrap/existing"
22-
"sigs.k8s.io/cluster-api/cmd/clusterctl/clusterdeployer/bootstrap/kind"
23-
"sigs.k8s.io/cluster-api/cmd/clusterctl/clusterdeployer/bootstrap/minikube"
2424
)
2525

2626
// Can provision a kubernetes cluster

cmd/clusterctl/clusterdeployer/clusterclient/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ go_library(
66
"clientfactory.go",
77
"clusterclient.go",
88
],
9-
importpath = "sigs.k8s.io/cluster-api/cmd/clusterctl/clusterdeployer/clusterclient",
9+
importpath = "github.com/openshift/cluster-api/cmd/clusterctl/clusterdeployer/clusterclient",
1010
visibility = ["//visibility:public"],
1111
deps = [
1212
"//cmd/clusterctl/clientcmd:go_default_library",

cmd/clusterctl/clusterdeployer/clusterclient/clientfactory.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ limitations under the License.
1717
package clusterclient
1818

1919
import (
20+
"github.com/openshift/cluster-api/cmd/clusterctl/clientcmd"
2021
"k8s.io/client-go/kubernetes"
21-
"sigs.k8s.io/cluster-api/cmd/clusterctl/clientcmd"
2222
)
2323

2424
// Factory can create cluster clients.

cmd/clusterctl/clusterdeployer/clusterclient/clusterclient.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ import (
2929
"sync"
3030
"time"
3131

32+
"github.com/openshift/cluster-api/cmd/clusterctl/clientcmd"
33+
clusterv1 "github.com/openshift/cluster-api/pkg/apis/cluster/v1alpha1"
34+
"github.com/openshift/cluster-api/pkg/client/clientset_generated/clientset"
35+
"github.com/openshift/cluster-api/pkg/util"
3236
"github.com/pkg/errors"
3337
autoscalingv1 "k8s.io/api/autoscaling/v1"
3438
apiv1 "k8s.io/api/core/v1"
@@ -37,10 +41,6 @@ import (
3741
_ "k8s.io/client-go/plugin/pkg/client/auth" // nolint
3842
tcmd "k8s.io/client-go/tools/clientcmd"
3943
"k8s.io/klog"
40-
"sigs.k8s.io/cluster-api/cmd/clusterctl/clientcmd"
41-
clusterv1 "sigs.k8s.io/cluster-api/pkg/apis/cluster/v1alpha1"
42-
"sigs.k8s.io/cluster-api/pkg/client/clientset_generated/clientset"
43-
"sigs.k8s.io/cluster-api/pkg/util"
4444
)
4545

4646
const (

cmd/clusterctl/clusterdeployer/clusterdeployer.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ import (
2020
"fmt"
2121
"strings"
2222

23+
"github.com/openshift/cluster-api/cmd/clusterctl/clusterdeployer/bootstrap"
24+
"github.com/openshift/cluster-api/cmd/clusterctl/clusterdeployer/clusterclient"
25+
"github.com/openshift/cluster-api/cmd/clusterctl/clusterdeployer/provider"
26+
"github.com/openshift/cluster-api/cmd/clusterctl/phases"
27+
clusterv1 "github.com/openshift/cluster-api/pkg/apis/cluster/v1alpha1"
2328
"github.com/pkg/errors"
2429
"k8s.io/klog"
25-
"sigs.k8s.io/cluster-api/cmd/clusterctl/clusterdeployer/bootstrap"
26-
"sigs.k8s.io/cluster-api/cmd/clusterctl/clusterdeployer/clusterclient"
27-
"sigs.k8s.io/cluster-api/cmd/clusterctl/clusterdeployer/provider"
28-
"sigs.k8s.io/cluster-api/cmd/clusterctl/phases"
29-
clusterv1 "sigs.k8s.io/cluster-api/pkg/apis/cluster/v1alpha1"
3030
)
3131

3232
type ClusterDeployer struct {

cmd/clusterctl/clusterdeployer/clusterdeployer_test.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ import (
2222
"os"
2323
"testing"
2424

25+
"github.com/openshift/cluster-api/cmd/clusterctl/clusterdeployer/clusterclient"
26+
"github.com/openshift/cluster-api/cmd/clusterctl/clusterdeployer/provider"
27+
clusterv1 "github.com/openshift/cluster-api/pkg/apis/cluster/v1alpha1"
2528
"github.com/pkg/errors"
2629
apiv1 "k8s.io/api/core/v1"
2730
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
2831
"k8s.io/client-go/kubernetes"
29-
"sigs.k8s.io/cluster-api/cmd/clusterctl/clusterdeployer/clusterclient"
30-
"sigs.k8s.io/cluster-api/cmd/clusterctl/clusterdeployer/provider"
31-
clusterv1 "sigs.k8s.io/cluster-api/pkg/apis/cluster/v1alpha1"
3232
)
3333

3434
type testClusterProvisioner struct {
@@ -1066,31 +1066,31 @@ func TestDeleteCleanupExternalCluster(t *testing.T) {
10661066
expectedErrorMessage string
10671067
}{
10681068
{
1069-
name: "success with cleanup",
1069+
name: "success with cleanup",
10701070
cleanupExternalCluster: true,
10711071
provisionExternalErr: nil,
10721072
bootstrapClient: &testClusterClient{},
10731073
targetClient: &testClusterClient{},
10741074
expectedErrorMessage: "",
10751075
},
10761076
{
1077-
name: "success without cleanup",
1077+
name: "success without cleanup",
10781078
cleanupExternalCluster: false,
10791079
provisionExternalErr: nil,
10801080
bootstrapClient: &testClusterClient{},
10811081
targetClient: &testClusterClient{},
10821082
expectedErrorMessage: "",
10831083
},
10841084
{
1085-
name: "error with cleanup",
1085+
name: "error with cleanup",
10861086
cleanupExternalCluster: true,
10871087
provisionExternalErr: nil,
10881088
bootstrapClient: &testClusterClient{},
10891089
targetClient: &testClusterClient{GetMachineSetsErr: errors.New("get machine sets error")},
10901090
expectedErrorMessage: "get machine sets error",
10911091
},
10921092
{
1093-
name: "error without cleanup",
1093+
name: "error without cleanup",
10941094
cleanupExternalCluster: true,
10951095
provisionExternalErr: nil,
10961096
bootstrapClient: &testClusterClient{},

cmd/clusterctl/clusterdeployer/provider/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library")
33
go_library(
44
name = "go_default_library",
55
srcs = ["provider.go"],
6-
importpath = "sigs.k8s.io/cluster-api/cmd/clusterctl/clusterdeployer/provider",
6+
importpath = "github.com/openshift/cluster-api/cmd/clusterctl/clusterdeployer/provider",
77
visibility = ["//visibility:public"],
88
deps = [
99
"//pkg/apis/cluster/v1alpha1:go_default_library",

cmd/clusterctl/clusterdeployer/provider/provider.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ package provider
1818

1919
import (
2020
"k8s.io/client-go/kubernetes"
21-
clusterv1 "sigs.k8s.io/cluster-api/pkg/apis/cluster/v1alpha1"
21+
clusterv1 "github.com/openshift/cluster-api/pkg/apis/cluster/v1alpha1"
2222
)
2323

2424
// Deployer is a deprecated interface for Provider specific logic. Please do not extend or add. This interface should be removed

cmd/clusterctl/clusterdeployer/providercomponentsstorefactory.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ limitations under the License.
1717
package clusterdeployer
1818

1919
import (
20+
"github.com/openshift/cluster-api/cmd/clusterctl/clusterdeployer/provider"
21+
"github.com/openshift/cluster-api/cmd/clusterctl/providercomponents"
2022
"k8s.io/client-go/kubernetes"
21-
"sigs.k8s.io/cluster-api/cmd/clusterctl/clusterdeployer/provider"
22-
"sigs.k8s.io/cluster-api/cmd/clusterctl/providercomponents"
2323
)
2424

2525
type factory struct {

cmd/clusterctl/cmd/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ go_library(
2222
"validate.go",
2323
"validate_cluster.go",
2424
],
25-
importpath = "sigs.k8s.io/cluster-api/cmd/clusterctl/cmd",
25+
importpath = "github.com/openshift/cluster-api/cmd/clusterctl/cmd",
2626
visibility = ["//visibility:public"],
2727
deps = [
2828
"//cmd/clusterctl/clientcmd:go_default_library",

cmd/clusterctl/cmd/alpha_phase_apply_addons.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ import (
2020
"fmt"
2121
"io/ioutil"
2222

23+
"github.com/openshift/cluster-api/cmd/clusterctl/clusterdeployer/clusterclient"
24+
"github.com/openshift/cluster-api/cmd/clusterctl/phases"
2325
"github.com/spf13/cobra"
2426
"k8s.io/klog"
25-
"sigs.k8s.io/cluster-api/cmd/clusterctl/clusterdeployer/clusterclient"
26-
"sigs.k8s.io/cluster-api/cmd/clusterctl/phases"
2727
)
2828

2929
type AlphaPhaseApplyAddonsOptions struct {

cmd/clusterctl/cmd/alpha_phase_apply_boostrap_components.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ import (
2222
"github.com/pkg/errors"
2323
"github.com/spf13/cobra"
2424
"k8s.io/klog"
25-
"sigs.k8s.io/cluster-api/cmd/clusterctl/clusterdeployer/clusterclient"
26-
"sigs.k8s.io/cluster-api/cmd/clusterctl/phases"
25+
"github.com/openshift/cluster-api/cmd/clusterctl/clusterdeployer/clusterclient"
26+
"github.com/openshift/cluster-api/cmd/clusterctl/phases"
2727
)
2828

2929
type AlphaPhaseApplyBootstrapComponentsOptions struct {

cmd/clusterctl/cmd/alpha_phase_apply_cluster.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ package cmd
1919
import (
2020
"io/ioutil"
2121

22+
"github.com/openshift/cluster-api/cmd/clusterctl/clusterdeployer/clusterclient"
23+
"github.com/openshift/cluster-api/cmd/clusterctl/phases"
24+
"github.com/openshift/cluster-api/pkg/util"
2225
"github.com/pkg/errors"
2326
"github.com/spf13/cobra"
2427
"k8s.io/klog"
25-
"sigs.k8s.io/cluster-api/cmd/clusterctl/clusterdeployer/clusterclient"
26-
"sigs.k8s.io/cluster-api/cmd/clusterctl/phases"
27-
"sigs.k8s.io/cluster-api/pkg/util"
2828
)
2929

3030
type AlphaPhaseApplyClusterOptions struct {

cmd/clusterctl/cmd/alpha_phase_apply_cluster_api_components.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ package cmd
1919
import (
2020
"io/ioutil"
2121

22+
"github.com/openshift/cluster-api/cmd/clusterctl/clusterdeployer/clusterclient"
23+
"github.com/openshift/cluster-api/cmd/clusterctl/phases"
2224
"github.com/pkg/errors"
2325
"github.com/spf13/cobra"
2426
"k8s.io/klog"
25-
"sigs.k8s.io/cluster-api/cmd/clusterctl/clusterdeployer/clusterclient"
26-
"sigs.k8s.io/cluster-api/cmd/clusterctl/phases"
2727
)
2828

2929
type AlphaPhaseApplyClusterAPIComponentsOptions struct {

cmd/clusterctl/cmd/alpha_phase_apply_machines.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ package cmd
1919
import (
2020
"io/ioutil"
2121

22+
"github.com/openshift/cluster-api/cmd/clusterctl/clusterdeployer/clusterclient"
23+
"github.com/openshift/cluster-api/cmd/clusterctl/phases"
24+
"github.com/openshift/cluster-api/pkg/util"
2225
"github.com/pkg/errors"
2326
"github.com/spf13/cobra"
2427
"k8s.io/klog"
25-
"sigs.k8s.io/cluster-api/cmd/clusterctl/clusterdeployer/clusterclient"
26-
"sigs.k8s.io/cluster-api/cmd/clusterctl/phases"
27-
"sigs.k8s.io/cluster-api/pkg/util"
2828
)
2929

3030
type AlphaPhaseApplyMachinesOptions struct {

cmd/clusterctl/cmd/alpha_phase_create_bootstrap_cluster.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ limitations under the License.
1717
package cmd
1818

1919
import (
20+
"github.com/openshift/cluster-api/cmd/clusterctl/clusterdeployer/bootstrap"
21+
"github.com/openshift/cluster-api/cmd/clusterctl/clusterdeployer/clusterclient"
22+
"github.com/openshift/cluster-api/cmd/clusterctl/phases"
2023
"github.com/pkg/errors"
2124
"github.com/spf13/cobra"
2225
"k8s.io/klog"
23-
"sigs.k8s.io/cluster-api/cmd/clusterctl/clusterdeployer/bootstrap"
24-
"sigs.k8s.io/cluster-api/cmd/clusterctl/clusterdeployer/clusterclient"
25-
"sigs.k8s.io/cluster-api/cmd/clusterctl/phases"
2626
)
2727

2828
type AlphaPhaseCreateBootstrapClusterOptions struct {

0 commit comments

Comments
 (0)