- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 347 for watcher (0.13 sec)
-
pkg/kube/krt/core.go
// object in the collection. // // On initial sync, events will be published to registered clients // as the Collection is populated. type EventStream[T any] interface { // Register adds an event watcher to the collection. Any time an item in the collection changes, the handler will be // called. Typically, usage of Register is done internally in krt via composition of Collections with Transformations
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 10 23:33:56 UTC 2024 - 6.9K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/fake.go
) type FakeControllerOptions struct { Client kubelib.Client CRDs []schema.GroupVersionResource NetworksWatcher mesh.NetworksWatcher MeshWatcher mesh.Watcher ServiceHandler model.ServiceHandler ClusterID cluster.ID WatchedNamespaces string DomainSuffix string XDSUpdater model.XDSUpdater Stop chan struct{} SkipRun bool
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 4K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/network_test.go
clienttest.Wrap(t, kclient.New[*v1beta1.Gateway](c.client)).Delete("eastwest-gwapi", "istio-system") } func addMeshNetworksFromRegistryGateway(t *testing.T, c *FakeController, watcher mesh.NetworksWatcher) { clienttest.Wrap(t, c.services).Create(&corev1.Service{ ObjectMeta: metav1.ObjectMeta{Name: "istio-meshnetworks-gw", Namespace: "istio-system"}, Spec: corev1.ServiceSpec{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 18 19:09:43 UTC 2024 - 10.7K bytes - Viewed (0) -
pilot/pkg/networking/core/fake.go
} env := model.NewEnvironment() env.Watcher = mesh.NewFixedWatcher(m) xdsUpdater := opts.XDSUpdater if xdsUpdater == nil { xdsUpdater = model.NewEndpointIndexUpdater(env.EndpointIndex) } serviceDiscovery := aggregate.NewController(aggregate.Options{}) se := serviceentry.NewController( configController, xdsUpdater, env.Watcher, serviceentry.WithClusterID(opts.ClusterID))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 11.5K bytes - Viewed (0) -
pilot/pkg/bootstrap/istio_ca.go
} } } func (s *Server) addCACertsFileWatcher(dir string) error { err := s.cacertsWatcher.Add(dir) if err != nil { log.Infof("failed to add cacerts file watcher for %s: %v", dir, err) return err } log.Infof("Added cacerts files watcher at %v", dir) return nil } // initCACertsWatcher initializes the cacerts (/etc/cacerts) directory.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 17:48:28 UTC 2024 - 20.6K bytes - Viewed (0) -
pilot/pkg/bootstrap/certcontroller.go
return fmt.Errorf("set keyCertBundle failed: %v", err) } // TODO: Setup watcher for root and restart server if it changes. for _, file := range []string{tlsOptions.CertFile, tlsOptions.KeyFile} { log.Infof("adding watcher for certificate %s", file) if err := s.fileWatcher.Add(file); err != nil { return fmt.Errorf("could not watch %v: %v", file, err) } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 17:48:28 UTC 2024 - 11.3K bytes - Viewed (0) -
testing/soak/src/integTest/groovy/org/gradle/vfs/FileSystemWatchingSoakTest.groovy
return numberOfChangedFiles * numberOfChangesPerFile * LOST_EVENTS_RATIO_MAC_OS } else if (currentOs.linux) { // the JDK watchers only capture one event per watched path return numberOfChangedFiles } else if (currentOs.windows) { return numberOfChangedFiles * numberOfChangesPerFile * LOST_EVENTS_RATIO_WINDOWS }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 8.6K bytes - Viewed (0) -
pilot/pkg/networking/core/loadbalancer/loadbalancer_test.go
Distribute: distribute, }, } configStore := memory.Make(collections.Pilot) env := model.NewEnvironment() env.ServiceDiscovery = serviceDiscovery env.ConfigStore = configStore env.Watcher = mesh.NewFixedWatcher(meshConfig) pushContext := model.NewPushContext() env.Init() _ = pushContext.InitContext(env, nil, nil) env.SetPushContext(pushContext)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 23 05:38:57 UTC 2024 - 39.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/etcd3/store.go
v.Set(extra) } } // Watch implements storage.Interface.Watch. func (s *store) Watch(ctx context.Context, key string, opts storage.ListOptions) (watch.Interface, error) { preparedKey, err := s.prepareKey(key) if err != nil { return nil, err } rev, err := s.versioner.ParseResourceVersion(opts.ResourceVersion) if err != nil { return nil, err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 11:56:42 UTC 2024 - 35.2K bytes - Viewed (0) -
security/pkg/server/ca/authenticate/oidc.go
// K8S is created with --service-account-issuer, service-account-signing-key-file and service-account-api-audiences // which enable OIDC. func NewJwtAuthenticator(jwtRule *v1beta1.JWTRule, meshWatcher mesh.Watcher) (*JwtAuthenticator, error) { issuer := jwtRule.GetIssuer() jwksURL := jwtRule.GetJwksUri() // The key of a JWT issuer may change, so the key may need to be updated.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 5.1K bytes - Viewed (0)