Skip to content

Commit 0c3e884

Browse files
enxebrepaulfantom
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 6f37b19 commit 0c3e884

File tree

586 files changed

+706
-706
lines changed

Some content is hidden

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

586 files changed

+706
-706
lines changed

BUILD.bazel

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

3-
# gazelle:prefix sigs.k8s.io/cluster-api
3+
# gazelle:prefix github.com/openshift/cluster-api
44
gazelle(
55
name = "gazelle",
66
external = "vendored",

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
@@ -45,11 +45,11 @@ test: gazelle verify generate fmt vet manifests ## Run tests
4545

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

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

5454
.PHONY: run
5555
run: generate fmt vet ## Run against the configured Kubernetes cluster in ~/.kube/config
@@ -82,16 +82,16 @@ generate: clientset dep-ensure ## Generate code
8282
clientset: ## Generate a typed clientset
8383
rm -rf pkg/client
8484
cd ./vendor/k8s.io/code-generator/cmd && go install ./client-gen ./lister-gen ./informer-gen
85-
$$GOPATH/bin/client-gen --clientset-name clientset --input-base sigs.k8s.io/cluster-api/pkg/apis \
86-
--input cluster/v1alpha1,machine/v1beta1 --output-package sigs.k8s.io/cluster-api/pkg/client/clientset_generated \
85+
$$GOPATH/bin/client-gen --clientset-name clientset --input-base github.com/openshift/cluster-api/pkg/apis \
86+
--input cluster/v1alpha1,machine/v1beta1 --output-package github.com/openshift/cluster-api/pkg/client/clientset_generated \
8787
--go-header-file=./hack/boilerplate.go.txt
88-
$$GOPATH/bin/lister-gen --input-dirs sigs.k8s.io/cluster-api/pkg/apis/cluster/v1alpha1,sigs.k8s.io/cluster-api/pkg/apis/machine/v1beta1 \
89-
--output-package sigs.k8s.io/cluster-api/pkg/client/listers_generated \
88+
$$GOPATH/bin/lister-gen --input-dirs github.com/openshift/cluster-api/pkg/apis/cluster/v1alpha1,github.com/openshift/cluster-api/pkg/apis/machine/v1beta1 \
89+
--output-package github.com/openshift/cluster-api/pkg/client/listers_generated \
9090
--go-header-file=./hack/boilerplate.go.txt
91-
$$GOPATH/bin/informer-gen --input-dirs sigs.k8s.io/cluster-api/pkg/apis/cluster/v1alpha1,sigs.k8s.io/cluster-api/pkg/apis/machine/v1beta1 \
92-
--versioned-clientset-package sigs.k8s.io/cluster-api/pkg/client/clientset_generated/clientset \
93-
--listers-package sigs.k8s.io/cluster-api/pkg/client/listers_generated \
94-
--output-package sigs.k8s.io/cluster-api/pkg/client/informers_generated \
91+
$$GOPATH/bin/informer-gen --input-dirs github.com/openshift/cluster-api/pkg/apis/cluster/v1alpha1,github.com/openshift/cluster-api/pkg/apis/machine/v1beta1 \
92+
--versioned-clientset-package github.com/openshift/cluster-api/pkg/client/clientset_generated/clientset \
93+
--listers-package github.com/openshift/cluster-api/pkg/client/listers_generated \
94+
--output-package github.com/openshift/cluster-api/pkg/client/informers_generated \
9595
--go-header-file=./hack/boilerplate.go.txt
9696

9797
.PHONY: docker-build

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
@@ -24,16 +24,16 @@ import (
2424
"sync"
2525
"time"
2626

27+
"github.com/openshift/cluster-api/cmd/clusterctl/clientcmd"
28+
clusterv1 "github.com/openshift/cluster-api/pkg/apis/cluster/v1alpha1"
29+
"github.com/openshift/cluster-api/pkg/client/clientset_generated/clientset"
30+
"github.com/openshift/cluster-api/pkg/util"
2731
"github.com/pkg/errors"
2832
apiv1 "k8s.io/api/core/v1"
2933
apierrors "k8s.io/apimachinery/pkg/api/errors"
3034
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
3135
tcmd "k8s.io/client-go/tools/clientcmd"
3236
"k8s.io/klog"
33-
"sigs.k8s.io/cluster-api/cmd/clusterctl/clientcmd"
34-
clusterv1 "sigs.k8s.io/cluster-api/pkg/apis/cluster/v1alpha1"
35-
"sigs.k8s.io/cluster-api/pkg/client/clientset_generated/clientset"
36-
"sigs.k8s.io/cluster-api/pkg/util"
3737
)
3838

3939
const (

cmd/clusterctl/clusterdeployer/clusterdeployer.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ import (
2222
"strings"
2323
"time"
2424

25+
"github.com/openshift/cluster-api/cmd/clusterctl/clusterdeployer/bootstrap"
26+
"github.com/openshift/cluster-api/cmd/clusterctl/clusterdeployer/clusterclient"
27+
"github.com/openshift/cluster-api/cmd/clusterctl/phases"
28+
clusterv1 "github.com/openshift/cluster-api/pkg/apis/cluster/v1alpha1"
29+
"github.com/openshift/cluster-api/pkg/util"
2530
"github.com/pkg/errors"
2631
"k8s.io/client-go/kubernetes"
2732
"k8s.io/klog"
28-
"sigs.k8s.io/cluster-api/cmd/clusterctl/clusterdeployer/bootstrap"
29-
"sigs.k8s.io/cluster-api/cmd/clusterctl/clusterdeployer/clusterclient"
30-
"sigs.k8s.io/cluster-api/cmd/clusterctl/phases"
31-
clusterv1 "sigs.k8s.io/cluster-api/pkg/apis/cluster/v1alpha1"
32-
"sigs.k8s.io/cluster-api/pkg/util"
3333
)
3434

3535
// Deprecated interface for Provider specific logic. Please do not extend or add. This interface should be removed

cmd/clusterctl/clusterdeployer/clusterdeployer_test.go

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

25+
"github.com/openshift/cluster-api/cmd/clusterctl/clusterdeployer/clusterclient"
26+
clusterv1 "github.com/openshift/cluster-api/pkg/apis/cluster/v1alpha1"
2527
"github.com/pkg/errors"
2628
apiv1 "k8s.io/api/core/v1"
2729
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
2830
"k8s.io/client-go/kubernetes"
29-
"sigs.k8s.io/cluster-api/cmd/clusterctl/clusterdeployer/clusterclient"
30-
clusterv1 "sigs.k8s.io/cluster-api/pkg/apis/cluster/v1alpha1"
3131
)
3232

3333
type testClusterProvisioner struct {

cmd/clusterctl/clusterdeployer/providercomponentsstorefactory.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 clusterdeployer
1818

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

2424
type factory struct {

cmd/clusterctl/cmd/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ go_library(
1919
"validate.go",
2020
"validate_cluster.go",
2121
],
22-
importpath = "sigs.k8s.io/cluster-api/cmd/clusterctl/cmd",
22+
importpath = "github.com/openshift/cluster-api/cmd/clusterctl/cmd",
2323
visibility = ["//visibility:public"],
2424
deps = [
2525
"//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_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,13 +17,13 @@ limitations under the License.
1717
package cmd
1818

1919
import (
20-
"sigs.k8s.io/cluster-api/cmd/clusterctl/clusterdeployer/bootstrap"
20+
"github.com/openshift/cluster-api/cmd/clusterctl/clusterdeployer/bootstrap"
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 AlphaPhaseCreateBootstrapClusterOptions struct {

cmd/clusterctl/cmd/create_cluster.go

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

22+
"github.com/openshift/cluster-api/cmd/clusterctl/clusterdeployer"
23+
"github.com/openshift/cluster-api/cmd/clusterctl/clusterdeployer/bootstrap"
24+
"github.com/openshift/cluster-api/cmd/clusterctl/clusterdeployer/clusterclient"
25+
clustercommon "github.com/openshift/cluster-api/pkg/apis/cluster/common"
26+
"github.com/openshift/cluster-api/pkg/util"
2227
"github.com/pkg/errors"
2328
"github.com/spf13/cobra"
2429
"k8s.io/klog"
25-
"sigs.k8s.io/cluster-api/cmd/clusterctl/clusterdeployer"
26-
"sigs.k8s.io/cluster-api/cmd/clusterctl/clusterdeployer/bootstrap"
27-
"sigs.k8s.io/cluster-api/cmd/clusterctl/clusterdeployer/clusterclient"
28-
clustercommon "sigs.k8s.io/cluster-api/pkg/apis/cluster/common"
29-
"sigs.k8s.io/cluster-api/pkg/util"
3030
)
3131

3232
type CreateOptions struct {

cmd/clusterctl/cmd/delete_cluster.go

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

1919
import (
20+
"github.com/openshift/cluster-api/cmd/clusterctl/clientcmd"
21+
"github.com/openshift/cluster-api/cmd/clusterctl/clusterdeployer"
22+
"github.com/openshift/cluster-api/cmd/clusterctl/clusterdeployer/bootstrap"
23+
"github.com/openshift/cluster-api/cmd/clusterctl/clusterdeployer/clusterclient"
24+
"github.com/openshift/cluster-api/cmd/clusterctl/providercomponents"
2025
"github.com/pkg/errors"
2126
"github.com/spf13/cobra"
2227
v1 "k8s.io/api/core/v1"
2328
tcmd "k8s.io/client-go/tools/clientcmd"
2429
"k8s.io/klog"
25-
"sigs.k8s.io/cluster-api/cmd/clusterctl/clientcmd"
26-
"sigs.k8s.io/cluster-api/cmd/clusterctl/clusterdeployer"
27-
"sigs.k8s.io/cluster-api/cmd/clusterctl/clusterdeployer/bootstrap"
28-
"sigs.k8s.io/cluster-api/cmd/clusterctl/clusterdeployer/clusterclient"
29-
"sigs.k8s.io/cluster-api/cmd/clusterctl/providercomponents"
3030
)
3131

3232
type DeleteOptions struct {

cmd/clusterctl/cmd/validate_cluster.go

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

23+
"github.com/openshift/cluster-api/cmd/clusterctl/validation"
24+
"github.com/openshift/cluster-api/pkg/apis"
2325
"github.com/pkg/errors"
2426
"github.com/spf13/cobra"
2527
tcmd "k8s.io/client-go/tools/clientcmd"
26-
"sigs.k8s.io/cluster-api/cmd/clusterctl/validation"
27-
"sigs.k8s.io/cluster-api/pkg/apis"
2828
"sigs.k8s.io/controller-runtime/pkg/client"
2929
"sigs.k8s.io/controller-runtime/pkg/client/config"
3030
"sigs.k8s.io/controller-runtime/pkg/manager"

cmd/clusterctl/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ limitations under the License.
1616

1717
package main
1818

19-
import "sigs.k8s.io/cluster-api/cmd/clusterctl/cmd"
19+
import "github.com/openshift/cluster-api/cmd/clusterctl/cmd"
2020

2121
func main() {
2222
cmd.Execute()

0 commit comments

Comments
 (0)