mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 17:30:00 +00:00
commit
72046c4302
@ -19,18 +19,20 @@ package e2e
|
|||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"fmt"
|
"fmt"
|
||||||
. "github.com/onsi/ginkgo"
|
|
||||||
. "github.com/onsi/gomega"
|
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
api "k8s.io/kubernetes/pkg/api"
|
|
||||||
"k8s.io/kubernetes/pkg/api/latest"
|
|
||||||
client "k8s.io/kubernetes/pkg/client/unversioned"
|
|
||||||
"k8s.io/kubernetes/pkg/util"
|
|
||||||
"k8s.io/kubernetes/pkg/util/wait"
|
|
||||||
"net/http"
|
"net/http"
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
. "github.com/onsi/ginkgo"
|
||||||
|
. "github.com/onsi/gomega"
|
||||||
|
api "k8s.io/kubernetes/pkg/api"
|
||||||
|
"k8s.io/kubernetes/pkg/api/latest"
|
||||||
|
"k8s.io/kubernetes/pkg/api/unversioned"
|
||||||
|
client "k8s.io/kubernetes/pkg/client/unversioned"
|
||||||
|
"k8s.io/kubernetes/pkg/util"
|
||||||
|
"k8s.io/kubernetes/pkg/util/wait"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
@ -272,7 +274,7 @@ func (config *KubeProxyTestConfig) ssh(cmd string) string {
|
|||||||
|
|
||||||
func (config *KubeProxyTestConfig) createNetShellPodSpec(podName string) *api.Pod {
|
func (config *KubeProxyTestConfig) createNetShellPodSpec(podName string) *api.Pod {
|
||||||
pod := &api.Pod{
|
pod := &api.Pod{
|
||||||
TypeMeta: api.TypeMeta{
|
TypeMeta: unversioned.TypeMeta{
|
||||||
Kind: "Pod",
|
Kind: "Pod",
|
||||||
APIVersion: latest.GroupOrDie("").Version,
|
APIVersion: latest.GroupOrDie("").Version,
|
||||||
},
|
},
|
||||||
@ -315,7 +317,7 @@ func (config *KubeProxyTestConfig) createNetShellPodSpec(podName string) *api.Po
|
|||||||
|
|
||||||
func (config *KubeProxyTestConfig) createTestPodSpec() *api.Pod {
|
func (config *KubeProxyTestConfig) createTestPodSpec() *api.Pod {
|
||||||
pod := &api.Pod{
|
pod := &api.Pod{
|
||||||
TypeMeta: api.TypeMeta{
|
TypeMeta: unversioned.TypeMeta{
|
||||||
Kind: "Pod",
|
Kind: "Pod",
|
||||||
APIVersion: latest.GroupOrDie("").Version,
|
APIVersion: latest.GroupOrDie("").Version,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user