- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 85 for utilnet (0.23 sec)
-
staging/src/k8s.io/apiserver/pkg/endpoints/handlers/helpers.go
See the License for the specific language governing permissions and limitations under the License. */ package handlers import ( "net/http" utilnet "k8s.io/apimachinery/pkg/util/net" "k8s.io/apiserver/pkg/audit" "k8s.io/apiserver/pkg/endpoints/metrics" apirequest "k8s.io/apiserver/pkg/endpoints/request" ) const ( maxUserAgentLength = 1024
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Sep 03 15:25:35 UTC 2023 - 4.9K bytes - Viewed (0) -
pkg/api/service/util_test.go
See the License for the specific language governing permissions and limitations under the License. */ package service import ( "strings" "testing" api "k8s.io/kubernetes/pkg/apis/core" utilnet "k8s.io/utils/net" ) func TestGetLoadBalancerSourceRanges(t *testing.T) { checkError := func(v string) { t.Helper() annotations := make(map[string]string)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 01 15:18:45 UTC 2023 - 7.6K bytes - Viewed (0) -
pkg/registry/core/componentstatus/validator.go
See the License for the specific language governing permissions and limitations under the License. */ package componentstatus import ( "context" "crypto/tls" "fmt" "sync" "time" utilnet "k8s.io/apimachinery/pkg/util/net" "k8s.io/apiserver/pkg/storage/storagebackend" "k8s.io/apiserver/pkg/storage/storagebackend/factory" "k8s.io/kubernetes/pkg/probe" httpprober "k8s.io/kubernetes/pkg/probe/http" )
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jul 20 13:08:41 UTC 2023 - 2.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/discovery/root.go
import ( "net/http" "sync" restful "github.com/emicklei/go-restful/v3" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime/schema" utilnet "k8s.io/apimachinery/pkg/util/net" "k8s.io/apiserver/pkg/endpoints/handlers/negotiation" "k8s.io/apiserver/pkg/endpoints/handlers/responsewriters" )
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 08 22:44:49 UTC 2022 - 4.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/egressselector/egress_selector_test.go
limitations under the License. */ package egressselector import ( "context" "errors" "fmt" "net" "strings" "testing" "time" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" utilnet "k8s.io/apimachinery/pkg/util/net" "k8s.io/apiserver/pkg/apis/apiserver" "k8s.io/apiserver/pkg/server/egressselector/metrics" "k8s.io/component-base/metrics/legacyregistry" "k8s.io/component-base/metrics/testutil"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jan 26 22:41:29 UTC 2023 - 12.3K bytes - Viewed (0) -
pkg/api/v1/service/util_test.go
See the License for the specific language governing permissions and limitations under the License. */ package service import ( "strings" "testing" v1 "k8s.io/api/core/v1" utilnet "k8s.io/utils/net" ) func TestGetLoadBalancerSourceRanges(t *testing.T) { checkError := func(v string) { t.Helper() annotations := make(map[string]string)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 01 15:18:45 UTC 2023 - 8.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/webhook/authentication.go
limitations under the License. */ package webhook import ( "fmt" "net" "net/http" "os" "strconv" "strings" "time" "go.opentelemetry.io/otel/trace" corev1 "k8s.io/api/core/v1" utilnet "k8s.io/apimachinery/pkg/util/net" "k8s.io/apiserver/pkg/features" egressselector "k8s.io/apiserver/pkg/server/egressselector" "k8s.io/apiserver/pkg/util/feature" "k8s.io/client-go/rest"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 29 15:48:39 UTC 2023 - 9.5K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/proxy/upgradeaware.go
if h.AppendLocationPath { location.Path = singleJoiningSlash(h.Location.Path, location.Path) } } clone := utilnet.CloneRequest(req) // Only append X-Forwarded-For in the upgrade path, since httputil.NewSingleHostReverseProxy // handles this in the non-upgrade path. utilnet.AppendForwardedForHeader(clone) klog.V(6).Infof("Connecting to backend proxy (direct dial) %s\n Headers: %v", &location, clone.Header)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 04 19:10:30 UTC 2024 - 19.6K bytes - Viewed (0) -
pkg/probe/http/http.go
See the License for the specific language governing permissions and limitations under the License. */ package http import ( "crypto/tls" "errors" "fmt" "net/http" "time" utilnet "k8s.io/apimachinery/pkg/util/net" "k8s.io/kubernetes/pkg/probe" "k8s.io/klog/v2" utilio "k8s.io/utils/io" ) const ( maxRespBodyLength = 10 * 1 << 10 // 10KB )
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 10 00:37:32 UTC 2023 - 5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/proxy/proxy.go
package proxy import ( "context" "fmt" "math/rand" "net" "net/http" "net/url" "strconv" "strings" "time" "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/api/errors" utilnet "k8s.io/apimachinery/pkg/util/net" auditinternal "k8s.io/apiserver/pkg/apis/audit" "k8s.io/apiserver/pkg/audit" genericapirequest "k8s.io/apiserver/pkg/endpoints/request" listersv1 "k8s.io/client-go/listers/core/v1" )
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jul 19 00:36:22 UTC 2023 - 5.6K bytes - Viewed (0)