- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for invalidIPString (0.1 sec)
-
staging/src/k8s.io/apimachinery/pkg/util/net/http_test.go
"testing" "github.com/stretchr/testify/assert" netutils "k8s.io/utils/net" ) func TestGetClientIP(t *testing.T) { ipString := "10.0.0.1" ip := netutils.ParseIPSloppy(ipString) invalidIPString := "invalidIPString" testCases := []struct { Request http.Request ExpectedIP net.IP }{ { Request: http.Request{}, }, { Request: http.Request{ Header: map[string][]string{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 18 01:21:56 UTC 2023 - 24.5K bytes - Viewed (0)