summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKiran Kamineni <kiran.k.kamineni@intel.com>2019-09-05 11:17:28 -0700
committerKiran Kamineni <kiran.k.kamineni@intel.com>2019-09-05 11:17:32 -0700
commitfd3210248230ac30cc3749ed2785d6cf3a37bdb6 (patch)
tree66048581bb226f6cc46cd141b357bf5a2d5d7e2f
parent77ce224e1b3736f0c0b398b5a5b57ea58ebbaa55 (diff)
Update package path to use github
Update the package path to use the standard github.com path instead of making it a local path. This allows import from other go projects. Issue-ID: MULTICLOUD-666 Change-Id: I90ee8eba021a84e31a3dc3ab48b9edf3731e91a4 Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
-rw-r--r--src/monitor/cmd/manager/main.go4
-rw-r--r--src/monitor/go.mod2
-rw-r--r--src/monitor/pkg/apis/addtoscheme_k8splugin_v1alpha1.go2
-rw-r--r--src/monitor/pkg/controller/add_resourcebundlestate.go2
-rw-r--r--src/monitor/pkg/controller/resourcebundlestate/controller.go2
-rw-r--r--src/monitor/pkg/controller/resourcebundlestate/pod_controller.go2
-rw-r--r--src/monitor/pkg/generated/clientset/versioned/clientset.go2
-rw-r--r--src/monitor/pkg/generated/clientset/versioned/fake/clientset_generated.go6
-rw-r--r--src/monitor/pkg/generated/clientset/versioned/fake/register.go2
-rw-r--r--src/monitor/pkg/generated/clientset/versioned/scheme/register.go2
-rw-r--r--src/monitor/pkg/generated/clientset/versioned/typed/k8splugin/v1alpha1/fake/fake_k8splugin_client.go2
-rw-r--r--src/monitor/pkg/generated/clientset/versioned/typed/k8splugin/v1alpha1/fake/fake_resourcebundlestate.go2
-rw-r--r--src/monitor/pkg/generated/clientset/versioned/typed/k8splugin/v1alpha1/k8splugin_client.go4
-rw-r--r--src/monitor/pkg/generated/clientset/versioned/typed/k8splugin/v1alpha1/resourcebundlestate.go4
-rw-r--r--src/monitor/pkg/generated/informers/externalversions/factory.go6
-rw-r--r--src/monitor/pkg/generated/informers/externalversions/generic.go2
-rw-r--r--src/monitor/pkg/generated/informers/externalversions/internalinterfaces/factory_interfaces.go2
-rw-r--r--src/monitor/pkg/generated/informers/externalversions/k8splugin/interface.go4
-rw-r--r--src/monitor/pkg/generated/informers/externalversions/k8splugin/v1alpha1/interface.go2
-rw-r--r--src/monitor/pkg/generated/informers/externalversions/k8splugin/v1alpha1/resourcebundlestate.go8
-rw-r--r--src/monitor/pkg/generated/listers/k8splugin/v1alpha1/resourcebundlestate.go2
21 files changed, 32 insertions, 32 deletions
diff --git a/src/monitor/cmd/manager/main.go b/src/monitor/cmd/manager/main.go
index dc41033e..9e7419ed 100644
--- a/src/monitor/cmd/manager/main.go
+++ b/src/monitor/cmd/manager/main.go
@@ -11,8 +11,8 @@ import (
_ "k8s.io/client-go/plugin/pkg/client/auth"
"k8s.io/client-go/rest"
- "monitor/pkg/apis"
- "monitor/pkg/controller"
+ "github.com/onap/multicloud-k8s/src/monitor/pkg/apis"
+ "github.com/onap/multicloud-k8s/src/monitor/pkg/controller"
"github.com/operator-framework/operator-sdk/pkg/k8sutil"
kubemetrics "github.com/operator-framework/operator-sdk/pkg/kube-metrics"
diff --git a/src/monitor/go.mod b/src/monitor/go.mod
index b459cd35..573784c3 100644
--- a/src/monitor/go.mod
+++ b/src/monitor/go.mod
@@ -1,4 +1,4 @@
-module monitor
+module github.com/onap/multicloud-k8s/src/monitor
require (
github.com/NYTimes/gziphandler v1.0.1 // indirect
diff --git a/src/monitor/pkg/apis/addtoscheme_k8splugin_v1alpha1.go b/src/monitor/pkg/apis/addtoscheme_k8splugin_v1alpha1.go
index 3c8f595d..997e1eea 100644
--- a/src/monitor/pkg/apis/addtoscheme_k8splugin_v1alpha1.go
+++ b/src/monitor/pkg/apis/addtoscheme_k8splugin_v1alpha1.go
@@ -1,7 +1,7 @@
package apis
import (
- "monitor/pkg/apis/k8splugin/v1alpha1"
+ "github.com/onap/multicloud-k8s/src/monitor/pkg/apis/k8splugin/v1alpha1"
)
func init() {
diff --git a/src/monitor/pkg/controller/add_resourcebundlestate.go b/src/monitor/pkg/controller/add_resourcebundlestate.go
index c709dfd4..d9365ae9 100644
--- a/src/monitor/pkg/controller/add_resourcebundlestate.go
+++ b/src/monitor/pkg/controller/add_resourcebundlestate.go
@@ -1,7 +1,7 @@
package controller
import (
- "monitor/pkg/controller/resourcebundlestate"
+ "github.com/onap/multicloud-k8s/src/monitor/pkg/controller/resourcebundlestate"
)
func init() {
diff --git a/src/monitor/pkg/controller/resourcebundlestate/controller.go b/src/monitor/pkg/controller/resourcebundlestate/controller.go
index debd5f65..71765e97 100644
--- a/src/monitor/pkg/controller/resourcebundlestate/controller.go
+++ b/src/monitor/pkg/controller/resourcebundlestate/controller.go
@@ -4,7 +4,7 @@ import (
"context"
"log"
- "monitor/pkg/apis/k8splugin/v1alpha1"
+ "github.com/onap/multicloud-k8s/src/monitor/pkg/apis/k8splugin/v1alpha1"
corev1 "k8s.io/api/core/v1"
k8serrors "k8s.io/apimachinery/pkg/api/errors"
diff --git a/src/monitor/pkg/controller/resourcebundlestate/pod_controller.go b/src/monitor/pkg/controller/resourcebundlestate/pod_controller.go
index e0742a13..ba3685f7 100644
--- a/src/monitor/pkg/controller/resourcebundlestate/pod_controller.go
+++ b/src/monitor/pkg/controller/resourcebundlestate/pod_controller.go
@@ -4,7 +4,7 @@ import (
"context"
"log"
- "monitor/pkg/apis/k8splugin/v1alpha1"
+ "github.com/onap/multicloud-k8s/src/monitor/pkg/apis/k8splugin/v1alpha1"
corev1 "k8s.io/api/core/v1"
k8serrors "k8s.io/apimachinery/pkg/api/errors"
diff --git a/src/monitor/pkg/generated/clientset/versioned/clientset.go b/src/monitor/pkg/generated/clientset/versioned/clientset.go
index 4746c652..44515e46 100644
--- a/src/monitor/pkg/generated/clientset/versioned/clientset.go
+++ b/src/monitor/pkg/generated/clientset/versioned/clientset.go
@@ -19,7 +19,7 @@ package versioned
import (
"fmt"
- k8spluginv1alpha1 "monitor/pkg/generated/clientset/versioned/typed/k8splugin/v1alpha1"
+ k8spluginv1alpha1 "github.com/onap/multicloud-k8s/src/monitor/pkg/generated/clientset/versioned/typed/k8splugin/v1alpha1"
discovery "k8s.io/client-go/discovery"
rest "k8s.io/client-go/rest"
diff --git a/src/monitor/pkg/generated/clientset/versioned/fake/clientset_generated.go b/src/monitor/pkg/generated/clientset/versioned/fake/clientset_generated.go
index 54dcc4b5..bcc4c3fe 100644
--- a/src/monitor/pkg/generated/clientset/versioned/fake/clientset_generated.go
+++ b/src/monitor/pkg/generated/clientset/versioned/fake/clientset_generated.go
@@ -18,9 +18,9 @@
package fake
import (
- clientset "monitor/pkg/generated/clientset/versioned"
- k8spluginv1alpha1 "monitor/pkg/generated/clientset/versioned/typed/k8splugin/v1alpha1"
- fakek8spluginv1alpha1 "monitor/pkg/generated/clientset/versioned/typed/k8splugin/v1alpha1/fake"
+ clientset "github.com/onap/multicloud-k8s/src/monitor/pkg/generated/clientset/versioned"
+ k8spluginv1alpha1 "github.com/onap/multicloud-k8s/src/monitor/pkg/generated/clientset/versioned/typed/k8splugin/v1alpha1"
+ fakek8spluginv1alpha1 "github.com/onap/multicloud-k8s/src/monitor/pkg/generated/clientset/versioned/typed/k8splugin/v1alpha1/fake"
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/watch"
diff --git a/src/monitor/pkg/generated/clientset/versioned/fake/register.go b/src/monitor/pkg/generated/clientset/versioned/fake/register.go
index 0428f275..590cfd76 100644
--- a/src/monitor/pkg/generated/clientset/versioned/fake/register.go
+++ b/src/monitor/pkg/generated/clientset/versioned/fake/register.go
@@ -18,7 +18,7 @@
package fake
import (
- k8spluginv1alpha1 "monitor/pkg/apis/k8splugin/v1alpha1"
+ k8spluginv1alpha1 "github.com/onap/multicloud-k8s/src/monitor/pkg/apis/k8splugin/v1alpha1"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
runtime "k8s.io/apimachinery/pkg/runtime"
diff --git a/src/monitor/pkg/generated/clientset/versioned/scheme/register.go b/src/monitor/pkg/generated/clientset/versioned/scheme/register.go
index b7a4fe18..31c5cf5e 100644
--- a/src/monitor/pkg/generated/clientset/versioned/scheme/register.go
+++ b/src/monitor/pkg/generated/clientset/versioned/scheme/register.go
@@ -18,7 +18,7 @@
package scheme
import (
- k8spluginv1alpha1 "monitor/pkg/apis/k8splugin/v1alpha1"
+ k8spluginv1alpha1 "github.com/onap/multicloud-k8s/src/monitor/pkg/apis/k8splugin/v1alpha1"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
runtime "k8s.io/apimachinery/pkg/runtime"
diff --git a/src/monitor/pkg/generated/clientset/versioned/typed/k8splugin/v1alpha1/fake/fake_k8splugin_client.go b/src/monitor/pkg/generated/clientset/versioned/typed/k8splugin/v1alpha1/fake/fake_k8splugin_client.go
index 2b719da2..c242bd48 100644
--- a/src/monitor/pkg/generated/clientset/versioned/typed/k8splugin/v1alpha1/fake/fake_k8splugin_client.go
+++ b/src/monitor/pkg/generated/clientset/versioned/typed/k8splugin/v1alpha1/fake/fake_k8splugin_client.go
@@ -18,7 +18,7 @@
package fake
import (
- v1alpha1 "monitor/pkg/generated/clientset/versioned/typed/k8splugin/v1alpha1"
+ v1alpha1 "github.com/onap/multicloud-k8s/src/monitor/pkg/generated/clientset/versioned/typed/k8splugin/v1alpha1"
rest "k8s.io/client-go/rest"
testing "k8s.io/client-go/testing"
diff --git a/src/monitor/pkg/generated/clientset/versioned/typed/k8splugin/v1alpha1/fake/fake_resourcebundlestate.go b/src/monitor/pkg/generated/clientset/versioned/typed/k8splugin/v1alpha1/fake/fake_resourcebundlestate.go
index 6b3066c4..e2ce0f7e 100644
--- a/src/monitor/pkg/generated/clientset/versioned/typed/k8splugin/v1alpha1/fake/fake_resourcebundlestate.go
+++ b/src/monitor/pkg/generated/clientset/versioned/typed/k8splugin/v1alpha1/fake/fake_resourcebundlestate.go
@@ -18,7 +18,7 @@
package fake
import (
- v1alpha1 "monitor/pkg/apis/k8splugin/v1alpha1"
+ v1alpha1 "github.com/onap/multicloud-k8s/src/monitor/pkg/apis/k8splugin/v1alpha1"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
labels "k8s.io/apimachinery/pkg/labels"
diff --git a/src/monitor/pkg/generated/clientset/versioned/typed/k8splugin/v1alpha1/k8splugin_client.go b/src/monitor/pkg/generated/clientset/versioned/typed/k8splugin/v1alpha1/k8splugin_client.go
index e00a3b54..bb4cd4d3 100644
--- a/src/monitor/pkg/generated/clientset/versioned/typed/k8splugin/v1alpha1/k8splugin_client.go
+++ b/src/monitor/pkg/generated/clientset/versioned/typed/k8splugin/v1alpha1/k8splugin_client.go
@@ -18,8 +18,8 @@
package v1alpha1
import (
- v1alpha1 "monitor/pkg/apis/k8splugin/v1alpha1"
- "monitor/pkg/generated/clientset/versioned/scheme"
+ v1alpha1 "github.com/onap/multicloud-k8s/src/monitor/pkg/apis/k8splugin/v1alpha1"
+ "github.com/onap/multicloud-k8s/src/monitor/pkg/generated/clientset/versioned/scheme"
"k8s.io/apimachinery/pkg/runtime/serializer"
rest "k8s.io/client-go/rest"
diff --git a/src/monitor/pkg/generated/clientset/versioned/typed/k8splugin/v1alpha1/resourcebundlestate.go b/src/monitor/pkg/generated/clientset/versioned/typed/k8splugin/v1alpha1/resourcebundlestate.go
index 8015f39c..351f0f8e 100644
--- a/src/monitor/pkg/generated/clientset/versioned/typed/k8splugin/v1alpha1/resourcebundlestate.go
+++ b/src/monitor/pkg/generated/clientset/versioned/typed/k8splugin/v1alpha1/resourcebundlestate.go
@@ -18,8 +18,8 @@
package v1alpha1
import (
- v1alpha1 "monitor/pkg/apis/k8splugin/v1alpha1"
- scheme "monitor/pkg/generated/clientset/versioned/scheme"
+ v1alpha1 "github.com/onap/multicloud-k8s/src/monitor/pkg/apis/k8splugin/v1alpha1"
+ scheme "github.com/onap/multicloud-k8s/src/monitor/pkg/generated/clientset/versioned/scheme"
"time"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
diff --git a/src/monitor/pkg/generated/informers/externalversions/factory.go b/src/monitor/pkg/generated/informers/externalversions/factory.go
index 6301cbfd..5176f898 100644
--- a/src/monitor/pkg/generated/informers/externalversions/factory.go
+++ b/src/monitor/pkg/generated/informers/externalversions/factory.go
@@ -18,9 +18,9 @@
package externalversions
import (
- versioned "monitor/pkg/generated/clientset/versioned"
- internalinterfaces "monitor/pkg/generated/informers/externalversions/internalinterfaces"
- k8splugin "monitor/pkg/generated/informers/externalversions/k8splugin"
+ versioned "github.com/onap/multicloud-k8s/src/monitor/pkg/generated/clientset/versioned"
+ internalinterfaces "github.com/onap/multicloud-k8s/src/monitor/pkg/generated/informers/externalversions/internalinterfaces"
+ k8splugin "github.com/onap/multicloud-k8s/src/monitor/pkg/generated/informers/externalversions/k8splugin"
reflect "reflect"
sync "sync"
time "time"
diff --git a/src/monitor/pkg/generated/informers/externalversions/generic.go b/src/monitor/pkg/generated/informers/externalversions/generic.go
index fd94ba13..e0920d94 100644
--- a/src/monitor/pkg/generated/informers/externalversions/generic.go
+++ b/src/monitor/pkg/generated/informers/externalversions/generic.go
@@ -19,7 +19,7 @@ package externalversions
import (
"fmt"
- v1alpha1 "monitor/pkg/apis/k8splugin/v1alpha1"
+ v1alpha1 "github.com/onap/multicloud-k8s/src/monitor/pkg/apis/k8splugin/v1alpha1"
schema "k8s.io/apimachinery/pkg/runtime/schema"
cache "k8s.io/client-go/tools/cache"
diff --git a/src/monitor/pkg/generated/informers/externalversions/internalinterfaces/factory_interfaces.go b/src/monitor/pkg/generated/informers/externalversions/internalinterfaces/factory_interfaces.go
index 107a0d40..0537430c 100644
--- a/src/monitor/pkg/generated/informers/externalversions/internalinterfaces/factory_interfaces.go
+++ b/src/monitor/pkg/generated/informers/externalversions/internalinterfaces/factory_interfaces.go
@@ -18,7 +18,7 @@
package internalinterfaces
import (
- versioned "monitor/pkg/generated/clientset/versioned"
+ versioned "github.com/onap/multicloud-k8s/src/monitor/pkg/generated/clientset/versioned"
time "time"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
diff --git a/src/monitor/pkg/generated/informers/externalversions/k8splugin/interface.go b/src/monitor/pkg/generated/informers/externalversions/k8splugin/interface.go
index f53c76c8..21851dfb 100644
--- a/src/monitor/pkg/generated/informers/externalversions/k8splugin/interface.go
+++ b/src/monitor/pkg/generated/informers/externalversions/k8splugin/interface.go
@@ -18,8 +18,8 @@
package k8splugin
import (
- internalinterfaces "monitor/pkg/generated/informers/externalversions/internalinterfaces"
- v1alpha1 "monitor/pkg/generated/informers/externalversions/k8splugin/v1alpha1"
+ internalinterfaces "github.com/onap/multicloud-k8s/src/monitor/pkg/generated/informers/externalversions/internalinterfaces"
+ v1alpha1 "github.com/onap/multicloud-k8s/src/monitor/pkg/generated/informers/externalversions/k8splugin/v1alpha1"
)
// Interface provides access to each of this group's versions.
diff --git a/src/monitor/pkg/generated/informers/externalversions/k8splugin/v1alpha1/interface.go b/src/monitor/pkg/generated/informers/externalversions/k8splugin/v1alpha1/interface.go
index 3b69755b..ed888c6d 100644
--- a/src/monitor/pkg/generated/informers/externalversions/k8splugin/v1alpha1/interface.go
+++ b/src/monitor/pkg/generated/informers/externalversions/k8splugin/v1alpha1/interface.go
@@ -18,7 +18,7 @@
package v1alpha1
import (
- internalinterfaces "monitor/pkg/generated/informers/externalversions/internalinterfaces"
+ internalinterfaces "github.com/onap/multicloud-k8s/src/monitor/pkg/generated/informers/externalversions/internalinterfaces"
)
// Interface provides access to all the informers in this group version.
diff --git a/src/monitor/pkg/generated/informers/externalversions/k8splugin/v1alpha1/resourcebundlestate.go b/src/monitor/pkg/generated/informers/externalversions/k8splugin/v1alpha1/resourcebundlestate.go
index 8ad5cbf9..a93cefd1 100644
--- a/src/monitor/pkg/generated/informers/externalversions/k8splugin/v1alpha1/resourcebundlestate.go
+++ b/src/monitor/pkg/generated/informers/externalversions/k8splugin/v1alpha1/resourcebundlestate.go
@@ -18,10 +18,10 @@
package v1alpha1
import (
- k8spluginv1alpha1 "monitor/pkg/apis/k8splugin/v1alpha1"
- versioned "monitor/pkg/generated/clientset/versioned"
- internalinterfaces "monitor/pkg/generated/informers/externalversions/internalinterfaces"
- v1alpha1 "monitor/pkg/generated/listers/k8splugin/v1alpha1"
+ k8spluginv1alpha1 "github.com/onap/multicloud-k8s/src/monitor/pkg/apis/k8splugin/v1alpha1"
+ versioned "github.com/onap/multicloud-k8s/src/monitor/pkg/generated/clientset/versioned"
+ internalinterfaces "github.com/onap/multicloud-k8s/src/monitor/pkg/generated/informers/externalversions/internalinterfaces"
+ v1alpha1 "github.com/onap/multicloud-k8s/src/monitor/pkg/generated/listers/k8splugin/v1alpha1"
time "time"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
diff --git a/src/monitor/pkg/generated/listers/k8splugin/v1alpha1/resourcebundlestate.go b/src/monitor/pkg/generated/listers/k8splugin/v1alpha1/resourcebundlestate.go
index 664754fa..99a0a169 100644
--- a/src/monitor/pkg/generated/listers/k8splugin/v1alpha1/resourcebundlestate.go
+++ b/src/monitor/pkg/generated/listers/k8splugin/v1alpha1/resourcebundlestate.go
@@ -18,7 +18,7 @@
package v1alpha1
import (
- v1alpha1 "monitor/pkg/apis/k8splugin/v1alpha1"
+ v1alpha1 "github.com/onap/multicloud-k8s/src/monitor/pkg/apis/k8splugin/v1alpha1"
"k8s.io/apimachinery/pkg/api/errors"
"k8s.io/apimachinery/pkg/labels"