- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for updateContexts (1.25 sec)
-
pilot/pkg/model/push_context.go
if pushReq == nil || oldPushContext == nil || !oldPushContext.InitDone.Load() || len(pushReq.ConfigsUpdated) == 0 { if err := ps.createNewContext(env); err != nil { return err } } else { if err := ps.updateContext(env, oldPushContext, pushReq); err != nil { return err } } ps.networkMgr = env.NetworkManager ps.clusterLocalHosts = env.ClusterLocal().GetClusterLocalHosts()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 15 09:02:11 UTC 2024 - 91.8K bytes - Viewed (0) -
pilot/pkg/model/push_context_test.go
ConfigsUpdated: sets.Set[ConfigKey]{ {Kind: kind.Service, Name: svcName, Namespace: "foo"}: {}, }, Reason: nil, Full: true, }); err != nil { t.Fatal(err) } when = "updateContext(with no changes)" verifyServices(true, fmt.Sprintf(testDesc, otherNS, when), otherNS, newPush) verifyServices(true, fmt.Sprintf(testDesc, defaultNS, when), defaultNS, newPush) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 21 17:42:54 UTC 2024 - 95.3K bytes - Viewed (0)