- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for UpdateCb (0.29 sec)
-
pilot/pkg/trustbundle/trustbundle.go
trustBundleLog.Errorf("failed to initialize remote Cert pool: %v", err) } } else { tb.remoteCaCertPool = remoteCaCertPool } return tb } func (tb *TrustBundle) UpdateCb(updatecb func()) { tb.updatecb = updatecb } // GetTrustBundle : Retrieves all the trustAnchors for current Spiffee Trust Domain func (tb *TrustBundle) GetTrustBundle() []string { tb.mutex.RLock() defer tb.mutex.RUnlock()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 7.8K bytes - Viewed (0) -
test/fixedbugs/issue44732.dir/foo/foo.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 08 19:43:19 UTC 2021 - 262 bytes - Viewed (0) -
pilot/pkg/trustbundle/trustbundle_test.go
t.Errorf("test case %v failed. Expected no error but got %v", i, err) } } } func TestUpdateTrustAnchor(t *testing.T) { cbCounter := 0 tb := NewTrustBundle(nil, nil) tb.UpdateCb(func() { cbCounter++ }) var trustedCerts []string var err error // Add First Cert update err = tb.UpdateTrustAnchor(&TrustAnchorUpdate{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 13.1K bytes - Viewed (0) -
pilot/pkg/bootstrap/server.go
} return nil } func (s *Server) initWorkloadTrustBundle(args *PilotArgs) error { var err error if !features.MultiRootMesh { return nil } s.workloadTrustBundle.UpdateCb(func() { pushReq := &model.PushRequest{ Full: true, Reason: model.NewReasonStats(model.GlobalUpdate), } s.XDSServer.ConfigUpdate(pushReq) })
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 17:48:28 UTC 2024 - 46.3K bytes - Viewed (0) -
pkg/controller/disruption/disruption.go
pdbInformer.Informer().AddEventHandler(cache.ResourceEventHandlerFuncs{ AddFunc: func(obj interface{}) { dc.addDB(logger, obj) }, UpdateFunc: func(oldObj, newObj interface{}) { dc.updateDB(logger, oldObj, newObj) }, DeleteFunc: func(obj interface{}) { dc.removeDB(logger, obj) }, }) dc.pdbLister = pdbInformer.Lister() dc.pdbListerSynced = pdbInformer.Informer().HasSynced
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 36.1K bytes - Viewed (0)