- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for deleteDevices (0.1 sec)
-
pilot/pkg/serviceregistry/serviceentry/store.go
} return model.SortServicesByCreationTime(out) } func (s *serviceStore) getServices(key types.NamespacedName) []*model.Service { return s.servicesBySE[key] } func (s *serviceStore) deleteServices(key types.NamespacedName) { delete(s.servicesBySE, key) } func (s *serviceStore) updateServices(key types.NamespacedName, services []*model.Service) { s.servicesBySE[key] = services s.allocateNeeded = true
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
if !reflect.DeepEqual(got, expectedServices) { t.Errorf("got unexpected services %v", got) } if !store.allocateNeeded { t.Errorf("expected allocate needed") } store.allocateNeeded = false store.deleteServices(httpDNSRR.NamespacedName()) got = store.getAllServices() if len(got) != 0 { t.Errorf("got unexpected services %v", got) } if store.allocateNeeded { t.Errorf("expected no allocate needed") } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 15:31:09 UTC 2024 - 8.1K bytes - Viewed (0)