e2e framework: move node helper code into sub package

This reduces the size of the test/e2e/framework itself. Because it does not
check nodes anymore by default, E2E test suites must set their own check
function or set the original one by importing
"k8s.io/kubernetes/test/e2e/framework/todo/node/init".
This commit is contained in:
Patrick Ohly
2022-08-25 13:43:04 +02:00
parent c45a924c5e
commit b8d28cb6c3
9 changed files with 210 additions and 138 deletions

View File

@@ -26,10 +26,10 @@ import (
"k8s.io/apimachinery/pkg/runtime/schema"
clientset "k8s.io/client-go/kubernetes"
scaleclient "k8s.io/client-go/scale"
e2edebug "k8s.io/kubernetes/test/e2e/framework/debug"
e2ekubectl "k8s.io/kubernetes/test/e2e/framework/kubectl"
e2eresource "k8s.io/kubernetes/test/e2e/framework/resource"
testutils "k8s.io/kubernetes/test/utils"
e2edebug "k8s.io/kubernetes/test/e2e/framework/debug"
)
// ByNameContainer returns a ReplicationController with specified name and container