diff options
author | Kiran Kamineni <kiran.k.kamineni@intel.com> | 2019-06-24 17:01:24 -0700 |
---|---|---|
committer | Kiran Kamineni <kiran.k.kamineni@intel.com> | 2019-06-24 17:31:47 -0700 |
commit | f6219a54a7acaac83f129aa837fa81b494ac3c9a (patch) | |
tree | 66c44a4afcfe24b5c6f66036030df114a1aa7cbb /src/k8splugin/plugins | |
parent | 46c5d310b24563ba9de00d0583e76742efc2cc0d (diff) |
Change the import paths for go get access
This allows other projects to do a go get and use this repo.
go get github.com/multicloud-k8s/src/k8splugin
will do the job.
import github.com/multicloud-k8s/src/k8splugin
will import the root package
Issue-ID: MULTICLOUD-666
Change-Id: I2f41c88c5a7fb3305b78cce8a83a0e102baa444c
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
Diffstat (limited to 'src/k8splugin/plugins')
-rw-r--r-- | src/k8splugin/plugins/generic/plugin.go | 6 | ||||
-rw-r--r-- | src/k8splugin/plugins/namespace/plugin.go | 6 | ||||
-rw-r--r-- | src/k8splugin/plugins/namespace/plugin_test.go | 2 | ||||
-rw-r--r-- | src/k8splugin/plugins/network/plugin.go | 8 | ||||
-rw-r--r-- | src/k8splugin/plugins/network/plugin_test.go | 4 | ||||
-rw-r--r-- | src/k8splugin/plugins/ovn4nfvk8s-network/plugin.go | 4 | ||||
-rw-r--r-- | src/k8splugin/plugins/ovn4nfvk8s-network/plugin_test.go | 2 | ||||
-rw-r--r-- | src/k8splugin/plugins/service/plugin.go | 6 | ||||
-rw-r--r-- | src/k8splugin/plugins/service/plugin_test.go | 2 |
9 files changed, 20 insertions, 20 deletions
diff --git a/src/k8splugin/plugins/generic/plugin.go b/src/k8splugin/plugins/generic/plugin.go index 31c65d05..b9a96ab5 100644 --- a/src/k8splugin/plugins/generic/plugin.go +++ b/src/k8splugin/plugins/generic/plugin.go @@ -22,9 +22,9 @@ import ( "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured" "k8s.io/apimachinery/pkg/runtime/schema" - utils "k8splugin/internal" - "k8splugin/internal/plugin" - "k8splugin/internal/helm" + utils "github.com/onap/multicloud-k8s/src/k8splugin/internal" + "github.com/onap/multicloud-k8s/src/k8splugin/internal/plugin" + "github.com/onap/multicloud-k8s/src/k8splugin/internal/helm" ) // ExportedVariable is what we will look for when calling the generic plugin diff --git a/src/k8splugin/plugins/namespace/plugin.go b/src/k8splugin/plugins/namespace/plugin.go index 2d5d2ab8..d30f55b8 100644 --- a/src/k8splugin/plugins/namespace/plugin.go +++ b/src/k8splugin/plugins/namespace/plugin.go @@ -21,9 +21,9 @@ import ( metaV1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime/schema" - utils "k8splugin/internal" - "k8splugin/internal/helm" - "k8splugin/internal/plugin" + utils "github.com/onap/multicloud-k8s/src/k8splugin/internal" + "github.com/onap/multicloud-k8s/src/k8splugin/internal/helm" + "github.com/onap/multicloud-k8s/src/k8splugin/internal/plugin" ) // ExportedVariable is what we will look for when calling the plugin diff --git a/src/k8splugin/plugins/namespace/plugin_test.go b/src/k8splugin/plugins/namespace/plugin_test.go index 9e57b971..489ac096 100644 --- a/src/k8splugin/plugins/namespace/plugin_test.go +++ b/src/k8splugin/plugins/namespace/plugin_test.go @@ -18,7 +18,7 @@ import ( "strings" "testing" - "k8splugin/internal/helm" + "github.com/onap/multicloud-k8s/src/k8splugin/internal/helm" coreV1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/api/meta" diff --git a/src/k8splugin/plugins/network/plugin.go b/src/k8splugin/plugins/network/plugin.go index 5cc57e87..e69a075b 100644 --- a/src/k8splugin/plugins/network/plugin.go +++ b/src/k8splugin/plugins/network/plugin.go @@ -14,12 +14,12 @@ limitations under the License. package main import ( - v1 "k8splugin/plugins/network/v1" + v1 "github.com/onap/multicloud-k8s/src/k8splugin/plugins/network/v1" "regexp" - utils "k8splugin/internal" - "k8splugin/internal/app" - "k8splugin/internal/helm" + utils "github.com/onap/multicloud-k8s/src/k8splugin/internal" + "github.com/onap/multicloud-k8s/src/k8splugin/internal/app" + "github.com/onap/multicloud-k8s/src/k8splugin/internal/helm" pkgerrors "github.com/pkg/errors" "k8s.io/apimachinery/pkg/runtime/schema" diff --git a/src/k8splugin/plugins/network/plugin_test.go b/src/k8splugin/plugins/network/plugin_test.go index 5a8ce4db..586bccb8 100644 --- a/src/k8splugin/plugins/network/plugin_test.go +++ b/src/k8splugin/plugins/network/plugin_test.go @@ -14,8 +14,8 @@ limitations under the License. package main import ( - utils "k8splugin/internal" - "k8splugin/internal/helm" + utils "github.com/onap/multicloud-k8s/src/k8splugin/internal" + "github.com/onap/multicloud-k8s/src/k8splugin/internal/helm" "os" "plugin" "reflect" diff --git a/src/k8splugin/plugins/ovn4nfvk8s-network/plugin.go b/src/k8splugin/plugins/ovn4nfvk8s-network/plugin.go index d8f354fb..bc2b2916 100644 --- a/src/k8splugin/plugins/ovn4nfvk8s-network/plugin.go +++ b/src/k8splugin/plugins/ovn4nfvk8s-network/plugin.go @@ -22,8 +22,8 @@ import ( "time" "unicode" - "k8splugin/internal/config" - v1 "k8splugin/plugins/network/v1" + "github.com/onap/multicloud-k8s/src/k8splugin/internal/config" + v1 "github.com/onap/multicloud-k8s/src/k8splugin/plugins/network/v1" pkgerrors "github.com/pkg/errors" kexec "k8s.io/utils/exec" diff --git a/src/k8splugin/plugins/ovn4nfvk8s-network/plugin_test.go b/src/k8splugin/plugins/ovn4nfvk8s-network/plugin_test.go index 6a1054ee..d1a94859 100644 --- a/src/k8splugin/plugins/ovn4nfvk8s-network/plugin_test.go +++ b/src/k8splugin/plugins/ovn4nfvk8s-network/plugin_test.go @@ -16,7 +16,7 @@ package main import ( pkgerrors "github.com/pkg/errors" metaV1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "k8splugin/plugins/network/v1" + "github.com/onap/multicloud-k8s/src/k8splugin/plugins/network/v1" "reflect" "strings" "testing" diff --git a/src/k8splugin/plugins/service/plugin.go b/src/k8splugin/plugins/service/plugin.go index 2957c441..2fceffc0 100644 --- a/src/k8splugin/plugins/service/plugin.go +++ b/src/k8splugin/plugins/service/plugin.go @@ -21,9 +21,9 @@ import ( metaV1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime/schema" - utils "k8splugin/internal" - "k8splugin/internal/helm" - "k8splugin/internal/plugin" + utils "github.com/onap/multicloud-k8s/src/k8splugin/internal" + "github.com/onap/multicloud-k8s/src/k8splugin/internal/helm" + "github.com/onap/multicloud-k8s/src/k8splugin/internal/plugin" ) // ExportedVariable is what we will look for when calling the plugin diff --git a/src/k8splugin/plugins/service/plugin_test.go b/src/k8splugin/plugins/service/plugin_test.go index 66703089..aa0bcc29 100644 --- a/src/k8splugin/plugins/service/plugin_test.go +++ b/src/k8splugin/plugins/service/plugin_test.go @@ -14,7 +14,7 @@ limitations under the License. package main import ( - "k8splugin/internal/helm" + "github.com/onap/multicloud-k8s/src/k8splugin/internal/helm" "reflect" "strings" "testing" |