Rename nucleus -> registration-operator in .go files

This commit is contained in:
Paul Morie
2020-06-06 11:31:20 -04:00
parent 69e30f4d00
commit 626b1f0894
10 changed files with 18 additions and 18 deletions

View File

@@ -13,8 +13,8 @@ import (
utilflag "k8s.io/component-base/cli/flag"
"k8s.io/component-base/logs"
"github.com/open-cluster-management/nucleus/pkg/cmd/operator"
"github.com/open-cluster-management/nucleus/pkg/version"
"github.com/open-cluster-management/registration-operator/pkg/cmd/operator"
"github.com/open-cluster-management/registration-operator/pkg/version"
)
func main() {
@@ -35,7 +35,7 @@ func main() {
func newNucleusCommand() *cobra.Command {
cmd := &cobra.Command{
Use: "nucleus",
Use: "registration-operator",
Short: "Nucleus Operator",
Run: func(cmd *cobra.Command, args []string) {
cmd.Help()

View File

@@ -5,8 +5,8 @@ import (
"github.com/openshift/library-go/pkg/controller/controllercmd"
"github.com/open-cluster-management/nucleus/pkg/operators"
"github.com/open-cluster-management/nucleus/pkg/version"
"github.com/open-cluster-management/registration-operator/pkg/operators"
"github.com/open-cluster-management/registration-operator/pkg/version"
)
// NewHubOperatorCmd generatee a command to start hub operator

View File

@@ -5,8 +5,8 @@ import (
"github.com/openshift/library-go/pkg/controller/controllercmd"
"github.com/open-cluster-management/nucleus/pkg/operators"
"github.com/open-cluster-management/nucleus/pkg/version"
"github.com/open-cluster-management/registration-operator/pkg/operators"
"github.com/open-cluster-management/registration-operator/pkg/version"
)
// NewKlusterletOperatorCmd generatee a command to start klusterlet operator

View File

@@ -27,8 +27,8 @@ import (
operatorinformer "github.com/open-cluster-management/api/client/operator/informers/externalversions/operator/v1"
operatorlister "github.com/open-cluster-management/api/client/operator/listers/operator/v1"
operatorapiv1 "github.com/open-cluster-management/api/operator/v1"
"github.com/open-cluster-management/nucleus/pkg/helpers"
"github.com/open-cluster-management/nucleus/pkg/operators/clustermanager/bindata"
"github.com/open-cluster-management/registration-operator/pkg/helpers"
"github.com/open-cluster-management/registration-operator/pkg/operators/clustermanager/bindata"
)
var (

View File

@@ -25,8 +25,8 @@ import (
operatorinformer "github.com/open-cluster-management/api/client/operator/informers/externalversions/operator/v1"
operatorlister "github.com/open-cluster-management/api/client/operator/listers/operator/v1"
operatorapiv1 "github.com/open-cluster-management/api/operator/v1"
"github.com/open-cluster-management/nucleus/pkg/helpers"
"github.com/open-cluster-management/nucleus/pkg/operators/klusterlet/bindata"
"github.com/open-cluster-management/registration-operator/pkg/helpers"
"github.com/open-cluster-management/registration-operator/pkg/operators/klusterlet/bindata"
)
const (

View File

@@ -10,7 +10,7 @@ import (
fakeoperatorclient "github.com/open-cluster-management/api/client/operator/clientset/versioned/fake"
operatorinformers "github.com/open-cluster-management/api/client/operator/informers/externalversions"
opratorapiv1 "github.com/open-cluster-management/api/operator/v1"
"github.com/open-cluster-management/nucleus/pkg/helpers"
"github.com/open-cluster-management/registration-operator/pkg/helpers"
"github.com/openshift/library-go/pkg/operator/events"
"github.com/openshift/library-go/pkg/operator/events/eventstesting"
appsv1 "k8s.io/api/apps/v1"

View File

@@ -12,8 +12,8 @@ import (
operatorclient "github.com/open-cluster-management/api/client/operator/clientset/versioned"
operatorinformer "github.com/open-cluster-management/api/client/operator/informers/externalversions"
"github.com/open-cluster-management/nucleus/pkg/operators/clustermanager"
"github.com/open-cluster-management/nucleus/pkg/operators/klusterlet"
"github.com/open-cluster-management/registration-operator/pkg/operators/clustermanager"
"github.com/open-cluster-management/registration-operator/pkg/operators/klusterlet"
)
// RunClusterManagerOperator starts a new cluster manager operator

View File

@@ -1,4 +1,4 @@
// Package integration provides integration tests for open-cluster-management nucleus, the test cases include
// Package integration provides integration tests for open-cluster-management registration-operator, the test cases include
// - TODO deploy/update/remove the cluster manager
// - TODO deploy/update/remove the klusterlet
package integration

View File

@@ -12,8 +12,8 @@ import (
"github.com/openshift/library-go/pkg/controller/controllercmd"
"github.com/open-cluster-management/nucleus/pkg/operators"
"github.com/open-cluster-management/nucleus/test/integration/util"
"github.com/open-cluster-management/registration-operator/pkg/operators"
"github.com/open-cluster-management/registration-operator/test/integration/util"
operatorapiv1 "github.com/open-cluster-management/api/operator/v1"
)

View File

@@ -45,7 +45,7 @@ var _ = ginkgo.BeforeSuite(func(done ginkgo.Done) {
var err error
// install nucleus CRDs and start a local kube-apiserver
// install registration-operator CRDs and start a local kube-apiserver
testEnv = &envtest.Environment{
ErrorIfCRDPathMissing: true,
CRDDirectoryPaths: []string{