- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for UpdateService (0.8 sec)
-
pkg/registry/registrytest/service.go
} func (r *ServiceRegistry) DeleteService(ctx context.Context, id string) error { r.mu.Lock() defer r.mu.Unlock() r.DeletedID = id r.Service = nil return r.Err } func (r *ServiceRegistry) UpdateService(ctx context.Context, svc *api.Service, createValidation rest.ValidateObjectFunc, updateValidation rest.ValidateObjectUpdateFunc) (*api.Service, error) { r.mu.Lock() defer r.mu.Unlock() r.UpdatedID = svc.Name
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jan 16 13:43:36 UTC 2023 - 2.9K bytes - Viewed (0) -
pkg/proxy/servicechangetracker_test.go
fake.addService(allServices[i]) } } func (proxier *FakeProxier) addService(service *v1.Service) { proxier.serviceChanges.Update(nil, service) } func (proxier *FakeProxier) updateService(oldService *v1.Service, service *v1.Service) { proxier.serviceChanges.Update(oldService, service) } func (proxier *FakeProxier) deleteService(service *v1.Service) { proxier.serviceChanges.Update(service, nil)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 33.7K bytes - Viewed (0) -
pkg/proxy/ipvs/util/ipvs_linux.go
svc, err := toIPVSService(vs) if err != nil { return fmt.Errorf("could not convert local virtual server to IPVS service: %w", err) } runner.mu.Lock() defer runner.mu.Unlock() return runner.ipvsHandle.UpdateService(svc) } // DeleteVirtualServer is part of ipvs.Interface. func (runner *runner) DeleteVirtualServer(vs *VirtualServer) error { svc, err := toIPVSService(vs) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 22 05:08:41 UTC 2024 - 9K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/controller_test.go
}() svc = updateService(controller, svc, t) // don't update eds cache if `K8S_SELECT_WORKLOAD_ENTRIES` is disabled fx.WaitOrFail(t, "service") fx.AssertEmpty(t, 0) features.EnableK8SServiceSelectWorkloadEntries = true svc.Spec.Selector = map[string]string{ "app": "prod-app", } updateService(controller, svc, t)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 85K bytes - Viewed (0)