Decouple vkubelet/* packages from providers (#626)
This makes the concept of a `Provider` wholely implemented in the cli implementation in cmd/virtual-kubelet. It allows us to slim down the interfaces used in vkubelet (and vkubelet/api) to what is actually used there rather than a huge interface that is only there to serve the CLI's needs.
This commit is contained in:
@@ -6,7 +6,6 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/virtual-kubelet/virtual-kubelet/providers"
|
||||
"gotest.tools/assert"
|
||||
"gotest.tools/assert/cmp"
|
||||
coord "k8s.io/api/coordination/v1beta1"
|
||||
@@ -232,7 +231,7 @@ func testNode(t *testing.T) *corev1.Node {
|
||||
}
|
||||
|
||||
type testNodeProvider struct {
|
||||
providers.NodeProvider
|
||||
NodeProvider
|
||||
statusHandlers []func(*corev1.Node)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user