- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for instance_key (0.12 sec)
-
pilot/pkg/serviceregistry/serviceentry/store.go
"istio.io/istio/pkg/util/sets" ) type hostPort struct { host instancesKey port int } // stores all the service instances from SE, WLE and pods type serviceInstancesStore struct { ip2instance map[string][]*model.ServiceInstance // service instances by hostname -> config instances map[instancesKey]map[configKeyWithParent][]*model.ServiceInstance // instances only for serviceentry
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 15:31:09 UTC 2024 - 6.1K bytes - Viewed (0) -
pilot/pkg/serviceregistry/serviceentry/store_test.go
namespace: "dns", name: "dns-round-robin-2", }, } store.addInstances(cpKey, instances) assert.Equal(t, store.getByKey(instancesKey{ hostname: "example.com", namespace: "dns", }), expected) assert.Equal(t, store.getByKey(instancesKey{ hostname: "example.com", namespace: otherNs.Namespace, }), otherNsExpected)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 15:31:09 UTC 2024 - 8.1K bytes - Viewed (0)