- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for endpointsInfo (0.21 sec)
-
pkg/proxy/nftables/proxier.go
// Generate the per-endpoint affinity sets for _, ep := range allLocallyReachableEndpoints { epInfo, ok := ep.(*endpointInfo) if !ok { proxier.logger.Error(nil, "Failed to cast endpointsInfo", "endpointsInfo", ep) continue } // Create a set to store current affinity mappings. As // with the iptables backend, endpoint affinity is
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 08 13:48:54 UTC 2024 - 55.5K bytes - Viewed (0) -
pkg/proxy/winkernel/hns.go
getAllEndpointsByNetwork(networkName string) (map[string]*endpointInfo, error) getEndpointByID(id string) (*endpointInfo, error) getEndpointByIpAddress(ip string, networkName string) (*endpointInfo, error) getEndpointByName(id string) (*endpointInfo, error) createEndpoint(ep *endpointInfo, networkName string) (*endpointInfo, error) deleteEndpoint(hnsID string) error
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 09 21:21:12 UTC 2023 - 15K bytes - Viewed (0) -
pkg/proxy/winkernel/proxier.go
// String is part of proxy.Endpoint interface. func (info *endpointInfo) String() string { return net.JoinHostPort(info.ip, strconv.Itoa(int(info.port))) } // IsLocal is part of proxy.Endpoint interface. func (info *endpointInfo) IsLocal() bool { return info.isLocal } // IsReady returns true if an endpoint is ready and not terminating. func (info *endpointInfo) IsReady() bool { return info.ready }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 13:25:06 UTC 2024 - 59K bytes - Viewed (0) -
pkg/proxy/winkernel/hns_test.go
} endpointB, err := Network.CreateEndpoint(endpointBSpec) if err != nil { t.Error(err) } endpointInfoB := &endpointInfo{ ip: endpointB.IpConfigurations[0].IpAddress, hnsID: endpointB.Id, } endpoints := []endpointInfo{*endpointInfoA, *endpointInfoB} endpointsReverse := []endpointInfo{*endpointInfoB, *endpointInfoA} h1, err := hashEndpoints(endpoints) if err != nil { t.Error(err)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 14:24:16 UTC 2024 - 15.4K bytes - Viewed (0) -
pkg/proxy/winkernel/proxier_test.go
}} }), ) proxier.setInitialized(true) proxier.syncProxyRules() ep := proxier.endpointsMap[svcPortName][0] epInfo, ok := ep.(*endpointInfo) if !ok { t.Errorf("Failed to cast endpointInfo %q", svcPortName.String()) } else { if epInfo.hnsID != "EPID-3" { t.Errorf("%v does not match %v", epInfo.hnsID, endpointGuid1) } }
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/endpointslicecache.go
} } } endpointInfo := newBaseEndpointInfo(endpoint.Addresses[0], portNum, isLocal, ready, serving, terminating, zoneHints) // This logic ensures we're deduplicating potential overlapping endpoints // isLocal should not vary between matching endpoints, but if it does, we // favor a true value here if it exists. if _, exists := endpointSet[endpointInfo.String()]; !exists || isLocal {
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/kubelet/cm/devicemanager/manager_test.go
e1 := &endpointImpl{} testManager.endpoints[resourceName1] = endpointInfo{e: e1, opts: nil} testManager.genericDeviceUpdateCallback(resourceName1, resource1Devs) resource2Devs := []pluginapi.Device{ {ID: "R2Device1", Health: pluginapi.Healthy}, } resourceName2 := "other.domain2.org/resource2" e2 := &endpointImpl{} testManager.endpoints[resourceName2] = endpointInfo{e: e2, opts: nil}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 65K bytes - Viewed (0) -
pkg/kubelet/cm/devicemanager/topology_hints_test.go
m.healthyDevices[tc.resource] = sets.New[string]() m.endpoints[tc.resource] = endpointInfo{} for _, d := range tc.devices { m.allDevices[tc.resource][d.ID] = d m.healthyDevices[tc.resource].Insert(d.ID) } if tc.getPreferredAllocationFunc != nil { m.endpoints[tc.resource] = endpointInfo{ e: &MockEndpoint{ getPreferredAllocationFunc: tc.getPreferredAllocationFunc, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 27 13:02:15 UTC 2023 - 47.5K bytes - Viewed (0) -
pkg/proxy/endpoint.go
} // BaseEndpointInfo contains base information that defines an endpoint. // This could be used directly by proxier while processing endpoints, // or can be used for constructing a more specific EndpointInfo struct // defined by the proxier if needed. type BaseEndpointInfo struct { // Cache this values to improve performance ip string port int // endpoint is the same as net.JoinHostPort(ip,port) endpoint string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Dec 21 14:38:25 UTC 2023 - 4.4K bytes - Viewed (0) -
pkg/proxy/iptables/proxier.go
return svcPort } // internal struct for endpoints information type endpointInfo struct { *proxy.BaseEndpointInfo ChainName utiliptables.Chain } // returns a new proxy.Endpoint which abstracts a endpointInfo func newEndpointInfo(baseInfo *proxy.BaseEndpointInfo, svcPortName *proxy.ServicePortName) proxy.Endpoint { return &endpointInfo{ BaseEndpointInfo: baseInfo,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 21 14:39:54 UTC 2024 - 65.1K bytes - Viewed (0)