- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for DeleteWatchedResource (0.24 sec)
-
pkg/xds/server_test.go
"istio.io/istio/pkg/model" ) type TestProxy struct { WatchedResources map[string]*WatchedResource } func (p *TestProxy) DeleteWatchedResource(url string) { delete(p.WatchedResources, url) } func (p *TestProxy) GetWatchedResource(url string) *WatchedResource { return p.WatchedResources[url] }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 30 00:26:45 UTC 2024 - 4.8K bytes - Viewed (0) -
pkg/xds/server.go
AlwaysRespond bool // LastResources tracks the contents of the last push. // This field is extremely expensive to maintain and is typically disabled LastResources Resources } type Watcher interface { DeleteWatchedResource(url string) GetWatchedResource(url string) *WatchedResource NewWatchedResource(url string, names []string) UpdateWatchedResource(string, func(*WatchedResource) *WatchedResource)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon May 13 20:55:20 UTC 2024 - 16.3K bytes - Viewed (0) -
security/pkg/nodeagent/sds/sdsservice.go
func (c *Context) Close() { c.s.Lock() defer c.s.Unlock() delete(c.s.clients, c.XdsConnection().ID()) } func (c *Context) Watcher() xds.Watcher { return c.w } func (w *Watch) DeleteWatchedResource(string) { w.Lock() defer w.Unlock() w.watch = nil } func (w *Watch) GetWatchedResource(string) *xds.WatchedResource { w.Lock() defer w.Unlock() return w.watch }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat May 25 00:20:04 UTC 2024 - 10.9K bytes - Viewed (0) -
pilot/pkg/model/context.go
r := node.WatchedResources[typeURL] r = updateFn(r) if r != nil { node.WatchedResources[typeURL] = r } else { delete(node.WatchedResources, typeURL) } } func (node *Proxy) DeleteWatchedResource(typeURL string) { node.Lock() defer node.Unlock() delete(node.WatchedResources, typeURL) } // SupportsEnvoyExtendedJwt indicates that the proxy JWT extension is capable of
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jun 03 08:29:05 UTC 2024 - 33.6K bytes - Viewed (0)