- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 31 for IPv4Protocol (0.24 sec)
-
pkg/registry/core/service/storage/storage_test.go
expectFamilies: []api.IPFamily{api.IPv4Protocol}, }, { name: "ClusterIPs:unset_Policy:unset_Families:v4", line: line(), svc: svctest.MakeService("foo", svctest.SetIPFamilies(api.IPv4Protocol)), expectPolicy: api.IPFamilyPolicySingleStack, expectFamilies: []api.IPFamily{api.IPv4Protocol}, }, { name: "ClusterIPs:unset_Policy:unset_Families:v6",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 440.2K bytes - Viewed (0) -
cmd/kube-proxy/app/server_linux_test.go
config: &proxyconfigapi.KubeProxyConfiguration{ DetectLocalMode: proxyconfigapi.LocalModeClusterCIDR, ClusterCIDR: "10.0.0.0/14", }, primaryIPFamily: v1.IPv4Protocol, expected: map[v1.IPFamily]proxyutil.LocalTrafficDetector{ v1.IPv4Protocol: proxyutil.NewDetectLocalByCIDR("10.0.0.0/14"), v1.IPv6Protocol: proxyutil.NewNoOpLocalDetector(), }, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Apr 28 15:51:23 UTC 2024 - 21.9K bytes - Viewed (0) -
pkg/proxy/util/utils_test.go
IPFamilies: []v1.IPFamily{v1.IPv6Protocol, v1.IPv4Protocol}, }, }, }, { name: "service dual stack ipv6,4. want ipv4", requestFamily: v1.IPv4Protocol, expectedResult: "10.0.0.10", service: v1.Service{ Spec: v1.ServiceSpec{ ClusterIPs: []string{"2000::1", "10.0.0.10"}, IPFamilies: []v1.IPFamily{v1.IPv6Protocol, v1.IPv4Protocol}, }, }, }, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 20 11:57:43 UTC 2024 - 17.1K bytes - Viewed (0) -
pkg/proxy/util/nodeport_addresses_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 13:25:06 UTC 2024 - 13.7K bytes - Viewed (0) -
cmd/kube-proxy/app/server_test.go
rawNodeIPs: nil, bindAddress: "", expectedFamily: v1.IPv4Protocol, expectedIPv4: "127.0.0.1", expectedIPv6: "::1", }, { name: "No Valid IP found and unspecified bind address", rawNodeIPs: nil, bindAddress: "0.0.0.0", expectedFamily: v1.IPv4Protocol, expectedIPv4: "127.0.0.1", expectedIPv6: "::1", }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 22 05:08:41 UTC 2024 - 32.3K bytes - Viewed (0) -
pkg/proxy/servicechangetracker_test.go
ipFamily v1.IPFamily ipModeEnabled bool }{ { desc: "nothing", ipFamily: v1.IPv4Protocol, service: nil, expected: map[ServicePortName]*BaseServicePortInfo{}, }, { desc: "headless service", ipFamily: v1.IPv4Protocol, service: makeTestService("ns2", "headless", func(svc *v1.Service) { svc.Spec.Type = v1.ServiceTypeClusterIP
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 33.7K bytes - Viewed (0) -
pkg/proxy/healthcheck/healthcheck_test.go
// Should return 503 "ServiceUnavailable" if IPv4 proxier exceed max update-processing time. hs.QueuedUpdate(v1.IPv4Protocol) fakeClock.Step(25 * time.Second) testHTTPHandler(hsTest, http.StatusServiceUnavailable, t) // Should return 200 "OK" after processing update for both IPv4 and IPv6 proxiers. hs.Updated(v1.IPv4Protocol) hs.Updated(v1.IPv6Protocol) fakeClock.Step(5 * time.Second) testHTTPHandler(hsTest, http.StatusOK, t)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 26 13:27:41 UTC 2024 - 21.4K bytes - Viewed (0) -
pkg/proxy/endpointslicecache_test.go
}, }, }, } for name, tc := range testCases { t.Run(name, func(t *testing.T) { esCache := NewEndpointSliceCache(tc.hostname, v1.IPv4Protocol, nil, nil) cmc := newCacheMutationCheck(tc.endpointSlices) for _, endpointSlice := range tc.endpointSlices { esCache.updatePending(endpointSlice, false) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 21:07:21 UTC 2024 - 24.9K bytes - Viewed (0) -
cmd/kube-proxy/app/server_windows.go
func (s *ProxyServer) platformSetup(ctx context.Context) error { // Preserve backward-compatibility with the old secondary IP behavior if s.PrimaryIPFamily == v1.IPv4Protocol { s.NodeIPs[v1.IPv6Protocol] = net.IPv6zero } else { s.NodeIPs[v1.IPv4Protocol] = net.IPv4zero } return nil } // platformCheckSupported is called immediately before creating the Proxier, to check
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 26 13:27:41 UTC 2024 - 3.9K bytes - Viewed (0) -
pkg/proxy/util/nodeport_addresses.go
npa := &NodePortAddresses{} // Filter CIDRs to correct family for _, str := range cidrStrings { if (family == v1.IPv4Protocol) == netutils.IsIPv4CIDRString(str) { npa.cidrStrings = append(npa.cidrStrings, str) } } if len(npa.cidrStrings) == 0 { if family == v1.IPv4Protocol { npa.cidrStrings = []string{IPv4ZeroCIDR} } else { npa.cidrStrings = []string{IPv6ZeroCIDR} } } // Now parse
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 13:25:06 UTC 2024 - 3.6K bytes - Viewed (0)