From f6219a54a7acaac83f129aa837fa81b494ac3c9a Mon Sep 17 00:00:00 2001 From: Kiran Kamineni Date: Mon, 24 Jun 2019 17:01:24 -0700 Subject: 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 --- src/k8splugin/api/api.go | 6 +++--- src/k8splugin/api/brokerhandler.go | 4 ++-- src/k8splugin/api/brokerhandler_test.go | 4 ++-- src/k8splugin/api/confighandler.go | 2 +- src/k8splugin/api/configtemplatehandler.go | 2 +- src/k8splugin/api/defhandler.go | 2 +- src/k8splugin/api/defhandler_test.go | 2 +- src/k8splugin/api/healthcheckhandler.go | 2 +- src/k8splugin/api/healthcheckhandler_test.go | 2 +- src/k8splugin/api/instancehandler.go | 2 +- src/k8splugin/api/instancehandler_test.go | 4 ++-- src/k8splugin/api/profilehandler.go | 2 +- src/k8splugin/api/profilehandler_test.go | 2 +- src/k8splugin/cmd/main.go | 8 ++++---- src/k8splugin/go.mod | 2 +- src/k8splugin/internal/app/client.go | 8 ++++---- src/k8splugin/internal/app/client_test.go | 8 ++++---- src/k8splugin/internal/app/config.go | 2 +- src/k8splugin/internal/app/config_backend.go | 6 +++--- src/k8splugin/internal/app/config_test.go | 2 +- src/k8splugin/internal/app/instance.go | 6 +++--- src/k8splugin/internal/app/instance_test.go | 10 +++++----- src/k8splugin/internal/connection/connection.go | 2 +- src/k8splugin/internal/db/consul.go | 2 +- src/k8splugin/internal/db/mongo.go | 2 +- src/k8splugin/internal/plugin/helpers.go | 4 ++-- src/k8splugin/internal/rb/config_template.go | 2 +- src/k8splugin/internal/rb/definition.go | 2 +- src/k8splugin/internal/rb/definition_test.go | 2 +- src/k8splugin/internal/rb/profile.go | 4 ++-- src/k8splugin/internal/rb/profile_test.go | 2 +- src/k8splugin/internal/utils.go | 4 ++-- src/k8splugin/mock_files/mock_plugins/mocknetworkplugin.go | 2 +- src/k8splugin/mock_files/mock_plugins/mockplugin.go | 4 ++-- src/k8splugin/plugins/generic/plugin.go | 6 +++--- src/k8splugin/plugins/namespace/plugin.go | 6 +++--- src/k8splugin/plugins/namespace/plugin_test.go | 2 +- src/k8splugin/plugins/network/plugin.go | 8 ++++---- src/k8splugin/plugins/network/plugin_test.go | 4 ++-- src/k8splugin/plugins/ovn4nfvk8s-network/plugin.go | 4 ++-- src/k8splugin/plugins/ovn4nfvk8s-network/plugin_test.go | 2 +- src/k8splugin/plugins/service/plugin.go | 6 +++--- src/k8splugin/plugins/service/plugin_test.go | 2 +- 43 files changed, 80 insertions(+), 80 deletions(-) (limited to 'src/k8splugin') diff --git a/src/k8splugin/api/api.go b/src/k8splugin/api/api.go index 808d6f5b..636b80b4 100644 --- a/src/k8splugin/api/api.go +++ b/src/k8splugin/api/api.go @@ -14,9 +14,9 @@ limitations under the License. package api import ( - "k8splugin/internal/app" - "k8splugin/internal/connection" - "k8splugin/internal/rb" + "github.com/onap/multicloud-k8s/src/k8splugin/internal/app" + "github.com/onap/multicloud-k8s/src/k8splugin/internal/connection" + "github.com/onap/multicloud-k8s/src/k8splugin/internal/rb" "github.com/gorilla/mux" ) diff --git a/src/k8splugin/api/brokerhandler.go b/src/k8splugin/api/brokerhandler.go index c0564ee4..669b539f 100644 --- a/src/k8splugin/api/brokerhandler.go +++ b/src/k8splugin/api/brokerhandler.go @@ -19,8 +19,8 @@ import ( "log" "net/http" - "k8splugin/internal/app" - "k8splugin/internal/helm" + "github.com/onap/multicloud-k8s/src/k8splugin/internal/app" + "github.com/onap/multicloud-k8s/src/k8splugin/internal/helm" "github.com/gorilla/mux" ) diff --git a/src/k8splugin/api/brokerhandler_test.go b/src/k8splugin/api/brokerhandler_test.go index 15b7bd73..f93ce5ff 100644 --- a/src/k8splugin/api/brokerhandler_test.go +++ b/src/k8splugin/api/brokerhandler_test.go @@ -23,8 +23,8 @@ import ( "reflect" "testing" - "k8splugin/internal/app" - "k8splugin/internal/helm" + "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/api/confighandler.go b/src/k8splugin/api/confighandler.go index 9bd9db83..c9af2893 100644 --- a/src/k8splugin/api/confighandler.go +++ b/src/k8splugin/api/confighandler.go @@ -20,7 +20,7 @@ import ( "encoding/json" "net/http" - "k8splugin/internal/app" + "github.com/onap/multicloud-k8s/src/k8splugin/internal/app" "github.com/gorilla/mux" ) diff --git a/src/k8splugin/api/configtemplatehandler.go b/src/k8splugin/api/configtemplatehandler.go index a91165cb..641e4206 100644 --- a/src/k8splugin/api/configtemplatehandler.go +++ b/src/k8splugin/api/configtemplatehandler.go @@ -20,7 +20,7 @@ import ( "encoding/json" "io" "io/ioutil" - "k8splugin/internal/rb" + "github.com/onap/multicloud-k8s/src/k8splugin/internal/rb" "net/http" "github.com/gorilla/mux" diff --git a/src/k8splugin/api/defhandler.go b/src/k8splugin/api/defhandler.go index 1aa00413..c1110a97 100644 --- a/src/k8splugin/api/defhandler.go +++ b/src/k8splugin/api/defhandler.go @@ -20,7 +20,7 @@ import ( "encoding/json" "io" "io/ioutil" - "k8splugin/internal/rb" + "github.com/onap/multicloud-k8s/src/k8splugin/internal/rb" "net/http" "github.com/gorilla/mux" diff --git a/src/k8splugin/api/defhandler_test.go b/src/k8splugin/api/defhandler_test.go index 321eb460..912f96dd 100644 --- a/src/k8splugin/api/defhandler_test.go +++ b/src/k8splugin/api/defhandler_test.go @@ -20,7 +20,7 @@ import ( "bytes" "encoding/json" "io" - "k8splugin/internal/rb" + "github.com/onap/multicloud-k8s/src/k8splugin/internal/rb" "net/http" "net/http/httptest" "reflect" diff --git a/src/k8splugin/api/healthcheckhandler.go b/src/k8splugin/api/healthcheckhandler.go index 79b7b7ef..896c6df0 100644 --- a/src/k8splugin/api/healthcheckhandler.go +++ b/src/k8splugin/api/healthcheckhandler.go @@ -19,7 +19,7 @@ package api import ( "net/http" - "k8splugin/internal/db" + "github.com/onap/multicloud-k8s/src/k8splugin/internal/db" ) // healthCheckHandler executes a db read to return health of k8splugin diff --git a/src/k8splugin/api/healthcheckhandler_test.go b/src/k8splugin/api/healthcheckhandler_test.go index c2e1888e..d96bb3cd 100644 --- a/src/k8splugin/api/healthcheckhandler_test.go +++ b/src/k8splugin/api/healthcheckhandler_test.go @@ -21,7 +21,7 @@ import ( "net/http/httptest" "testing" - "k8splugin/internal/db" + "github.com/onap/multicloud-k8s/src/k8splugin/internal/db" pkgerrors "github.com/pkg/errors" ) diff --git a/src/k8splugin/api/instancehandler.go b/src/k8splugin/api/instancehandler.go index 4fc3cfc8..42f3b212 100644 --- a/src/k8splugin/api/instancehandler.go +++ b/src/k8splugin/api/instancehandler.go @@ -19,7 +19,7 @@ import ( "io" "net/http" - "k8splugin/internal/app" + "github.com/onap/multicloud-k8s/src/k8splugin/internal/app" "github.com/gorilla/mux" pkgerrors "github.com/pkg/errors" diff --git a/src/k8splugin/api/instancehandler_test.go b/src/k8splugin/api/instancehandler_test.go index dac7db00..3fc0202d 100644 --- a/src/k8splugin/api/instancehandler_test.go +++ b/src/k8splugin/api/instancehandler_test.go @@ -23,8 +23,8 @@ import ( "reflect" "testing" - "k8splugin/internal/app" - "k8splugin/internal/helm" + "github.com/onap/multicloud-k8s/src/k8splugin/internal/app" + "github.com/onap/multicloud-k8s/src/k8splugin/internal/helm" "github.com/gorilla/mux" pkgerrors "github.com/pkg/errors" diff --git a/src/k8splugin/api/profilehandler.go b/src/k8splugin/api/profilehandler.go index 362289ff..adb9249b 100644 --- a/src/k8splugin/api/profilehandler.go +++ b/src/k8splugin/api/profilehandler.go @@ -20,7 +20,7 @@ import ( "encoding/json" "io" "io/ioutil" - "k8splugin/internal/rb" + "github.com/onap/multicloud-k8s/src/k8splugin/internal/rb" "net/http" "github.com/gorilla/mux" diff --git a/src/k8splugin/api/profilehandler_test.go b/src/k8splugin/api/profilehandler_test.go index 2473fea5..eb65827a 100644 --- a/src/k8splugin/api/profilehandler_test.go +++ b/src/k8splugin/api/profilehandler_test.go @@ -20,7 +20,7 @@ import ( "bytes" "encoding/json" "io" - "k8splugin/internal/rb" + "github.com/onap/multicloud-k8s/src/k8splugin/internal/rb" "net/http" "net/http/httptest" "reflect" diff --git a/src/k8splugin/cmd/main.go b/src/k8splugin/cmd/main.go index d6d9d75a..8c887eb1 100644 --- a/src/k8splugin/cmd/main.go +++ b/src/k8splugin/cmd/main.go @@ -22,10 +22,10 @@ import ( "os/signal" "time" - "k8splugin/api" - utils "k8splugin/internal" - "k8splugin/internal/auth" - "k8splugin/internal/config" + "github.com/onap/multicloud-k8s/src/k8splugin/api" + utils "github.com/onap/multicloud-k8s/src/k8splugin/internal" + "github.com/onap/multicloud-k8s/src/k8splugin/internal/auth" + "github.com/onap/multicloud-k8s/src/k8splugin/internal/config" "github.com/gorilla/handlers" ) diff --git a/src/k8splugin/go.mod b/src/k8splugin/go.mod index 474e5102..f75588b6 100644 --- a/src/k8splugin/go.mod +++ b/src/k8splugin/go.mod @@ -1,4 +1,4 @@ -module k8splugin +module github.com/onap/multicloud-k8s/src/k8splugin require ( github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78 // indirect diff --git a/src/k8splugin/internal/app/client.go b/src/k8splugin/internal/app/client.go index 9a5aa9e9..4fdce599 100644 --- a/src/k8splugin/internal/app/client.go +++ b/src/k8splugin/internal/app/client.go @@ -18,10 +18,10 @@ import ( "os" "time" - "k8splugin/internal/config" - "k8splugin/internal/connection" - "k8splugin/internal/helm" - "k8splugin/internal/plugin" + "github.com/onap/multicloud-k8s/src/k8splugin/internal/config" + "github.com/onap/multicloud-k8s/src/k8splugin/internal/connection" + "github.com/onap/multicloud-k8s/src/k8splugin/internal/helm" + "github.com/onap/multicloud-k8s/src/k8splugin/internal/plugin" pkgerrors "github.com/pkg/errors" "k8s.io/apimachinery/pkg/api/meta" diff --git a/src/k8splugin/internal/app/client_test.go b/src/k8splugin/internal/app/client_test.go index e52aa7f8..fd293ab0 100644 --- a/src/k8splugin/internal/app/client_test.go +++ b/src/k8splugin/internal/app/client_test.go @@ -21,10 +21,10 @@ import ( "reflect" "testing" - utils "k8splugin/internal" - "k8splugin/internal/connection" - "k8splugin/internal/db" - "k8splugin/internal/helm" + utils "github.com/onap/multicloud-k8s/src/k8splugin/internal" + "github.com/onap/multicloud-k8s/src/k8splugin/internal/connection" + "github.com/onap/multicloud-k8s/src/k8splugin/internal/db" + "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/internal/app/config.go b/src/k8splugin/internal/app/config.go index f7e81358..10bd179d 100644 --- a/src/k8splugin/internal/app/config.go +++ b/src/k8splugin/internal/app/config.go @@ -20,7 +20,7 @@ import ( "strconv" "strings" - "k8splugin/internal/db" + "github.com/onap/multicloud-k8s/src/k8splugin/internal/db" pkgerrors "github.com/pkg/errors" ) diff --git a/src/k8splugin/internal/app/config_backend.go b/src/k8splugin/internal/app/config_backend.go index 9894b6ac..b31cbac7 100644 --- a/src/k8splugin/internal/app/config_backend.go +++ b/src/k8splugin/internal/app/config_backend.go @@ -27,9 +27,9 @@ import ( "sync" "time" - "k8splugin/internal/db" - "k8splugin/internal/helm" - "k8splugin/internal/rb" + "github.com/onap/multicloud-k8s/src/k8splugin/internal/db" + "github.com/onap/multicloud-k8s/src/k8splugin/internal/helm" + "github.com/onap/multicloud-k8s/src/k8splugin/internal/rb" "github.com/ghodss/yaml" pkgerrors "github.com/pkg/errors" diff --git a/src/k8splugin/internal/app/config_test.go b/src/k8splugin/internal/app/config_test.go index 11a300ff..38f0fa13 100644 --- a/src/k8splugin/internal/app/config_test.go +++ b/src/k8splugin/internal/app/config_test.go @@ -17,7 +17,7 @@ package app import ( - "k8splugin/internal/db" + "github.com/onap/multicloud-k8s/src/k8splugin/internal/db" "reflect" "strings" "testing" diff --git a/src/k8splugin/internal/app/instance.go b/src/k8splugin/internal/app/instance.go index 19841c01..5272d60f 100644 --- a/src/k8splugin/internal/app/instance.go +++ b/src/k8splugin/internal/app/instance.go @@ -21,9 +21,9 @@ import ( "encoding/json" "math/rand" - "k8splugin/internal/db" - "k8splugin/internal/helm" - "k8splugin/internal/rb" + "github.com/onap/multicloud-k8s/src/k8splugin/internal/db" + "github.com/onap/multicloud-k8s/src/k8splugin/internal/helm" + "github.com/onap/multicloud-k8s/src/k8splugin/internal/rb" pkgerrors "github.com/pkg/errors" ) diff --git a/src/k8splugin/internal/app/instance_test.go b/src/k8splugin/internal/app/instance_test.go index ea377482..24558a44 100644 --- a/src/k8splugin/internal/app/instance_test.go +++ b/src/k8splugin/internal/app/instance_test.go @@ -21,11 +21,11 @@ import ( "sort" "testing" - utils "k8splugin/internal" - "k8splugin/internal/connection" - "k8splugin/internal/db" - "k8splugin/internal/helm" - "k8splugin/internal/rb" + utils "github.com/onap/multicloud-k8s/src/k8splugin/internal" + "github.com/onap/multicloud-k8s/src/k8splugin/internal/connection" + "github.com/onap/multicloud-k8s/src/k8splugin/internal/db" + "github.com/onap/multicloud-k8s/src/k8splugin/internal/helm" + "github.com/onap/multicloud-k8s/src/k8splugin/internal/rb" "k8s.io/apimachinery/pkg/runtime/schema" ) diff --git a/src/k8splugin/internal/connection/connection.go b/src/k8splugin/internal/connection/connection.go index b2bdca32..d110c221 100644 --- a/src/k8splugin/internal/connection/connection.go +++ b/src/k8splugin/internal/connection/connection.go @@ -22,7 +22,7 @@ import ( "io/ioutil" "path/filepath" - "k8splugin/internal/db" + "github.com/onap/multicloud-k8s/src/k8splugin/internal/db" pkgerrors "github.com/pkg/errors" ) diff --git a/src/k8splugin/internal/db/consul.go b/src/k8splugin/internal/db/consul.go index 40028c64..40978b69 100644 --- a/src/k8splugin/internal/db/consul.go +++ b/src/k8splugin/internal/db/consul.go @@ -14,7 +14,7 @@ limitations under the License. package db import ( - k8sconfig "k8splugin/internal/config" + k8sconfig "github.com/onap/multicloud-k8s/src/k8splugin/internal/config" "github.com/hashicorp/consul/api" pkgerrors "github.com/pkg/errors" diff --git a/src/k8splugin/internal/db/mongo.go b/src/k8splugin/internal/db/mongo.go index d4525222..c15b108b 100644 --- a/src/k8splugin/internal/db/mongo.go +++ b/src/k8splugin/internal/db/mongo.go @@ -20,7 +20,7 @@ import ( "golang.org/x/net/context" "log" - "k8splugin/internal/config" + "github.com/onap/multicloud-k8s/src/k8splugin/internal/config" pkgerrors "github.com/pkg/errors" "go.mongodb.org/mongo-driver/bson" diff --git a/src/k8splugin/internal/plugin/helpers.go b/src/k8splugin/internal/plugin/helpers.go index efcd18c1..26e0f467 100644 --- a/src/k8splugin/internal/plugin/helpers.go +++ b/src/k8splugin/internal/plugin/helpers.go @@ -20,8 +20,8 @@ import ( "log" "strings" - utils "k8splugin/internal" - "k8splugin/internal/helm" + utils "github.com/onap/multicloud-k8s/src/k8splugin/internal" + "github.com/onap/multicloud-k8s/src/k8splugin/internal/helm" pkgerrors "github.com/pkg/errors" "k8s.io/apimachinery/pkg/api/meta" diff --git a/src/k8splugin/internal/rb/config_template.go b/src/k8splugin/internal/rb/config_template.go index cdb1b907..cf45a6f2 100644 --- a/src/k8splugin/internal/rb/config_template.go +++ b/src/k8splugin/internal/rb/config_template.go @@ -20,7 +20,7 @@ import ( "bytes" "encoding/json" "io/ioutil" - "k8splugin/internal/db" + "github.com/onap/multicloud-k8s/src/k8splugin/internal/db" "os" "path/filepath" diff --git a/src/k8splugin/internal/rb/definition.go b/src/k8splugin/internal/rb/definition.go index bae8df0c..476e40ee 100644 --- a/src/k8splugin/internal/rb/definition.go +++ b/src/k8splugin/internal/rb/definition.go @@ -25,7 +25,7 @@ import ( "os" "path/filepath" - "k8splugin/internal/db" + "github.com/onap/multicloud-k8s/src/k8splugin/internal/db" pkgerrors "github.com/pkg/errors" ) diff --git a/src/k8splugin/internal/rb/definition_test.go b/src/k8splugin/internal/rb/definition_test.go index a1ad0eae..054da2cd 100644 --- a/src/k8splugin/internal/rb/definition_test.go +++ b/src/k8splugin/internal/rb/definition_test.go @@ -18,7 +18,7 @@ package rb import ( "bytes" - "k8splugin/internal/db" + "github.com/onap/multicloud-k8s/src/k8splugin/internal/db" "reflect" "sort" "strings" diff --git a/src/k8splugin/internal/rb/profile.go b/src/k8splugin/internal/rb/profile.go index 7d3902f2..37e9aba8 100644 --- a/src/k8splugin/internal/rb/profile.go +++ b/src/k8splugin/internal/rb/profile.go @@ -22,8 +22,8 @@ import ( "encoding/json" "path/filepath" - "k8splugin/internal/db" - "k8splugin/internal/helm" + "github.com/onap/multicloud-k8s/src/k8splugin/internal/db" + "github.com/onap/multicloud-k8s/src/k8splugin/internal/helm" pkgerrors "github.com/pkg/errors" ) diff --git a/src/k8splugin/internal/rb/profile_test.go b/src/k8splugin/internal/rb/profile_test.go index f99471eb..29efb506 100644 --- a/src/k8splugin/internal/rb/profile_test.go +++ b/src/k8splugin/internal/rb/profile_test.go @@ -18,7 +18,7 @@ package rb import ( "bytes" - "k8splugin/internal/db" + "github.com/onap/multicloud-k8s/src/k8splugin/internal/db" "reflect" "strings" "testing" diff --git a/src/k8splugin/internal/utils.go b/src/k8splugin/internal/utils.go index 1a1b8de7..627fb305 100644 --- a/src/k8splugin/internal/utils.go +++ b/src/k8splugin/internal/utils.go @@ -21,8 +21,8 @@ import ( "plugin" "strings" - "k8splugin/internal/config" - "k8splugin/internal/db" + "github.com/onap/multicloud-k8s/src/k8splugin/internal/config" + "github.com/onap/multicloud-k8s/src/k8splugin/internal/db" pkgerrors "github.com/pkg/errors" "k8s.io/apimachinery/pkg/runtime" diff --git a/src/k8splugin/mock_files/mock_plugins/mocknetworkplugin.go b/src/k8splugin/mock_files/mock_plugins/mocknetworkplugin.go index 7169f3d6..f71311b1 100644 --- a/src/k8splugin/mock_files/mock_plugins/mocknetworkplugin.go +++ b/src/k8splugin/mock_files/mock_plugins/mocknetworkplugin.go @@ -15,7 +15,7 @@ package main import ( pkgerrors "github.com/pkg/errors" - "k8splugin/plugins/network/v1" + "github.com/onap/multicloud-k8s/src/k8splugin/plugins/network/v1" ) // Err is the error message to be sent during functional testing diff --git a/src/k8splugin/mock_files/mock_plugins/mockplugin.go b/src/k8splugin/mock_files/mock_plugins/mockplugin.go index 0c3d246d..0b5b851e 100644 --- a/src/k8splugin/mock_files/mock_plugins/mockplugin.go +++ b/src/k8splugin/mock_files/mock_plugins/mockplugin.go @@ -14,8 +14,8 @@ limitations under the License. package main import ( - "k8splugin/internal/helm" - "k8splugin/internal/plugin" + "github.com/onap/multicloud-k8s/src/k8splugin/internal/helm" + "github.com/onap/multicloud-k8s/src/k8splugin/internal/plugin" "k8s.io/apimachinery/pkg/runtime/schema" ) 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" -- cgit 1.2.3-korg