- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for endpointsInfo (0.13 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/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/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/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) -
pkg/kubelet/cm/devicemanager/manager.go
type ActivePodsFunc func() []*v1.Pod // ManagerImpl is the structure in charge of managing Device Plugins. type ManagerImpl struct { checkpointdir string endpoints map[string]endpointInfo // Key is ResourceName mutex sync.Mutex server plugin.Server // activePods is a method for listing active pods on the node // so the amount of pluginResources requested by existing pods
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 15 12:01:56 UTC 2024 - 43K bytes - Viewed (0)