aboutsummaryrefslogtreecommitdiffstats
path: root/src/k8splugin/internal
diff options
context:
space:
mode:
authorKiran Kamineni <kiran.k.kamineni@intel.com>2019-06-24 17:01:24 -0700
committerKiran Kamineni <kiran.k.kamineni@intel.com>2019-06-24 17:31:47 -0700
commitf6219a54a7acaac83f129aa837fa81b494ac3c9a (patch)
tree66c44a4afcfe24b5c6f66036030df114a1aa7cbb /src/k8splugin/internal
parent46c5d310b24563ba9de00d0583e76742efc2cc0d (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/internal')
-rw-r--r--src/k8splugin/internal/app/client.go8
-rw-r--r--src/k8splugin/internal/app/client_test.go8
-rw-r--r--src/k8splugin/internal/app/config.go2
-rw-r--r--src/k8splugin/internal/app/config_backend.go6
-rw-r--r--src/k8splugin/internal/app/config_test.go2
-rw-r--r--src/k8splugin/internal/app/instance.go6
-rw-r--r--src/k8splugin/internal/app/instance_test.go10
-rw-r--r--src/k8splugin/internal/connection/connection.go2
-rw-r--r--src/k8splugin/internal/db/consul.go2
-rw-r--r--src/k8splugin/internal/db/mongo.go2
-rw-r--r--src/k8splugin/internal/plugin/helpers.go4
-rw-r--r--src/k8splugin/internal/rb/config_template.go2
-rw-r--r--src/k8splugin/internal/rb/definition.go2
-rw-r--r--src/k8splugin/internal/rb/definition_test.go2
-rw-r--r--src/k8splugin/internal/rb/profile.go4
-rw-r--r--src/k8splugin/internal/rb/profile_test.go2
-rw-r--r--src/k8splugin/internal/utils.go4
17 files changed, 34 insertions, 34 deletions
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"