Imports k8s.io/apimachinery/pkg/util/net k8s.io/apimachinery/pkg/util/proxy k8s.io/client-go/rest k8s.io/client-go/transport k8s.io/klog k8s.io/kubernetes/pkg/kubectl/util Standard library imports fmt net net/http net/url os regexp strings time