- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 616 for endpointId (0.16 sec)
-
pkg/kubelet/stats/cri_stats_provider_windows_test.go
for _, stat := range c.hcsStats { e, found := uniqueEndpoints[stat.EndpointId] if found { // add the container e.SharedContainers = append(e.SharedContainers, c.container.ID) continue } uniqueEndpoints[stat.EndpointId] = &hcsshim.HNSEndpoint{ Name: stat.EndpointId, Id: stat.EndpointId, SharedContainers: []string{c.container.ID}, } } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Feb 17 00:02:10 UTC 2024 - 13.8K bytes - Viewed (0) -
pilot/pkg/networking/util/util.go
func cloneLocalityLbEndpoints(endpoints []*endpoint.LocalityLbEndpoints) []*endpoint.LocalityLbEndpoints { out := make([]*endpoint.LocalityLbEndpoints, 0, len(endpoints)) for _, ep := range endpoints { clone := CloneLocalityLbEndpoint(ep) out = append(out, clone) } return out } // return a shallow copy of LocalityLbEndpoints func CloneLocalityLbEndpoint(ep *endpoint.LocalityLbEndpoints) *endpoint.LocalityLbEndpoints {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 28.5K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/endpoint.go
if epCount != 0 { endpoints = append(endpoints, cla) } } for _, e := range dump.GetStaticEndpointConfigs() { cla, epCount := retrieveEndpoint(e.EndpointConfig, filter) if epCount != 0 { endpoints = append(endpoints, cla) } } sort.Slice(endpoints, func(i, j int) bool { iDirection, iSubset, iName, iPort := safelyParseSubsetKey(endpoints[i].ClusterName)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 21 17:42:54 UTC 2024 - 5.6K bytes - Viewed (0) -
pkg/kubelet/stats/cri_stats_provider_windows.go
continue } // only add the interface for each container if not already in the list for _, cId := range endpoint.SharedContainers { networkStat, found := networkStats[cId] if found && networkStat.Name != endpoint.Name { iStat := hcsStatToInterfaceStat(endpointStats, endpoint.Name)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Feb 18 07:03:11 UTC 2024 - 10.4K bytes - Viewed (0) -
pilot/pkg/networking/util/util_test.go
xdsutil "istio.io/istio/pkg/wellknown" ) var testCla = &endpoint.ClusterLoadAssignment{ ClusterName: "cluster", Endpoints: []*endpoint.LocalityLbEndpoints{{ Locality: &core.Locality{Region: "foo", Zone: "bar"}, LbEndpoints: []*endpoint.LbEndpoint{ { HostIdentifier: &endpoint.LbEndpoint_Endpoint{Endpoint: &endpoint.Endpoint{Hostname: "foo", Address: BuildAddress("1.1.1.1", 80)}},
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 01:17:58 UTC 2024 - 40K bytes - Viewed (0) -
pkg/controlplane/reconcilers/endpointsadapter_test.go
expectedResult: endpoints2, expectUpdate: []runtime.Object{endpoints2, epSlice2}, initialState: []runtime.Object{endpoints2, epSlice1}, namespaceParam: "testing", endpointsParam: endpoints2, }, "endpointslice-correct-endpoints-wrong": { expectedError: nil, expectedResult: endpoints2, expectUpdate: []runtime.Object{endpoints2}, initialState: []runtime.Object{endpoints1, epSlice2},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 12:23:16 UTC 2024 - 15.4K bytes - Viewed (0) -
pkg/proxy/winkernel/proxier_test.go
eps.AddressType = discovery.AddressTypeIPv4 eps.Endpoints = []discovery.Endpoint{{ Addresses: []string{epIpAddressRemote}, NodeName: ptr.To("testhost2"), // This will make this endpoint as a remote endpoint }} eps.Ports = []discovery.EndpointPort{{ Name: ptr.To(svcPortName.Port), Port: ptr.To(int32(svcPort)),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 28 14:30:51 UTC 2024 - 30.2K bytes - Viewed (0) -
pkg/proxy/config/config_test.go
}}, Ports: []discoveryv1.EndpointPort{{Port: ptr.To[int32](80)}}, } fakeWatch.Add(endpoints3) endpoints = []*discoveryv1.EndpointSlice{endpoints2, endpoints1, endpoints3} handler.ValidateEndpointSlices(t, endpoints) handler2.ValidateEndpointSlices(t, endpoints) // Update the "foo" service with new endpoints endpoints1v2 := &discoveryv1.EndpointSlice{ ObjectMeta: metav1.ObjectMeta{Namespace: "testnamespace", Name: "foo"},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 22 05:08:41 UTC 2024 - 14.3K bytes - Viewed (0) -
cmd/endpoint.go
GridHost string } // Endpoint - any type of endpoint. type Endpoint struct { *url.URL IsLocal bool PoolIdx, SetIdx, DiskIdx int } // Equal returns true if endpoint == ep func (endpoint Endpoint) Equal(ep Endpoint) bool { if endpoint.IsLocal == ep.IsLocal && endpoint.PoolIdx == ep.PoolIdx && endpoint.SetIdx == ep.SetIdx && endpoint.DiskIdx == ep.DiskIdx { if endpoint.Path == ep.Path && endpoint.Host == ep.Host {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 34.1K bytes - Viewed (0) -
pilot/test/xdstest/endpoints.go
func CompareEndpointsOrFail(t *testing.T, cluster string, got []*endpointv3.LocalityLbEndpoints, want []LocLbEpInfo) { if err := CompareEndpoints(cluster, got, want); err != nil { t.Error(err) } } func CompareEndpoints(cluster string, got []*endpointv3.LocalityLbEndpoints, want []LocLbEpInfo) error { if len(got) != len(want) { return fmt.Errorf("unexpected number of filtered endpoints for %s: got %v, want %v", cluster, len(got), len(want)) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 01:17:58 UTC 2024 - 2.8K bytes - Viewed (0)