- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 457 for endpoints2 (0.24 sec)
-
pkg/proxy/util/endpoints.go
limitations under the License. */ package util import ( "net" "k8s.io/klog/v2" netutils "k8s.io/utils/net" ) // IPPart returns just the IP part of an IP or IP:port or endpoint string. If the IP // part is an IPv6 address enclosed in brackets (e.g. "[fd00:1::5]:9999"), // then the brackets are stripped as well. func IPPart(s string) string { if ip := netutils.ParseIPSloppy(s); ip != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 20 11:57:43 UTC 2024 - 1.3K bytes - Viewed (0) -
pkg/proxy/endpointslicecache.go
// addEndpoints adds an Endpoint for each unique endpoint. func (cache *EndpointSliceCache) addEndpoints(svcPortName *ServicePortName, portNum int, endpointSet map[string]Endpoint, endpoints []discovery.Endpoint) map[string]Endpoint { if endpointSet == nil { endpointSet = map[string]Endpoint{} } // iterate through endpoints to add them to endpointSet. for _, endpoint := range endpoints { if len(endpoint.Addresses) == 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 21:07:21 UTC 2024 - 11.7K bytes - Viewed (0) -
pkg/proxy/endpointslicecache_test.go
Endpoints: []discovery.Endpoint{endpoint1, endpoint2}, }, expectChanged: false, }, "identical with endpoints out of order": { cache: NewEndpointSliceCache("", v1.IPv4Protocol, nil, nil), initialSlice: &discovery.EndpointSlice{ ObjectMeta: objMeta, Ports: []discovery.EndpointPort{port443}, Endpoints: []discovery.Endpoint{endpoint1, endpoint2}, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 21:07:21 UTC 2024 - 24.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/filter_test.go
if !isDelete { if object == nil { object = &corev1.Endpoints{ ObjectMeta: metav1.ObjectMeta{ Name: "endpoints1", }, Subsets: []corev1.EndpointSubset{ { Addresses: []corev1.EndpointAddress{{IP: "127.0.0.0"}}, }, }, } } } else { object = nil oldObject = &corev1.Endpoints{ Subsets: []corev1.EndpointSubset{ {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 40.4K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.30.0/core.v1.Endpoints.pb
SataQiu <******@****.***> 1713430345 +0800
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 08:52:25 UTC 2024 - 728 bytes - Viewed (0) -
pkg/controller/endpoint/endpoints_controller.go
return !ok } // truncateEndpoints by best effort will distribute the endpoints over the subsets based on the proportion // of endpoints per subset and will prioritize Ready Endpoints over NotReady Endpoints. func truncateEndpoints(endpoints *v1.Endpoints) bool { totalReady := 0 totalNotReady := 0 for _, subset := range endpoints.Subsets { totalReady += len(subset.Addresses)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 26.3K bytes - Viewed (0) -
cmd/bootstrap-peer-server.go
var clnts []*bootstrapRESTClient for _, ep := range endpointServerPools { for _, endpoint := range ep.Endpoints { if endpoint.IsLocal { continue } if seenClient.Contains(endpoint.Host) { continue } seenClient.Add(endpoint.Host) clnts = append(clnts, &bootstrapRESTClient{gm.Connection(endpoint.GridHost())}) } } return clnts
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 7.5K bytes - Viewed (0) -
pkg/proxy/iptables/number_generated_rules_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 21 14:39:54 UTC 2024 - 13.1K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/network.go
return "" } if len(entries) > 1 { log.Warnf("Found multiple networks CIDRs matching the endpoint IP: %s. Using the first match.", endpointIP) } if len(entries) > 0 { return (entries[0].(namedRangerEntry)).name } } return "" } // namedRangerEntry for holding network's CIDR and name type namedRangerEntry struct {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 31 22:23:22 UTC 2024 - 15.4K bytes - Viewed (0) -
pkg/proxy/winkernel/hns_test.go
t.Errorf("%v does not match %v", endpoint.hnsID, Endpoint.Id) } if endpoint.ip != Endpoint.IpConfigurations[0].IpAddress { t.Errorf("%v does not match %v", endpoint.ip, Endpoint.IpConfigurations[0].IpAddress) } if endpoint.macAddress != Endpoint.MacAddress { t.Errorf("%v does not match %v", endpoint.macAddress, Endpoint.MacAddress) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 14:24:16 UTC 2024 - 15.4K bytes - Viewed (0)