From 96024a7a0ed672b9950820c61e5bdb93a5f2e748 Mon Sep 17 00:00:00 2001 From: Brian Goff Date: Wed, 12 Jun 2019 05:11:49 -0700 Subject: [PATCH] Move around some packages (#658) * Move tracing exporter registration This doesn't belong in the library and should be configured by the consumer of the opencensus package. * Rename `vkublet` package to `node` `vkubelet` does not convey any information to the consumers of the package. Really it would be nice to move this package to the root of the repo, but then you wind up with... interesting... import semantics due to the repo name... and after thinking about it some, a subpackage is really not so bad as long as it has a name that convey's some information. `node` was chosen since this package deals with all the semantics of operating a node in Kubernetes. --- eci.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eci.go b/eci.go index 080ef05..6f5b3c2 100644 --- a/eci.go +++ b/eci.go @@ -20,8 +20,8 @@ import ( "github.com/virtual-kubelet/virtual-kubelet/errdefs" "github.com/virtual-kubelet/virtual-kubelet/log" "github.com/virtual-kubelet/virtual-kubelet/manager" + "github.com/virtual-kubelet/virtual-kubelet/node/api" "github.com/virtual-kubelet/virtual-kubelet/providers/alibabacloud/eci" - "github.com/virtual-kubelet/virtual-kubelet/vkubelet/api" v1 "k8s.io/api/core/v1" k8serr "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/api/resource"