Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 988 for watcher (0.24 sec)

  1. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/get.go

    			}
    			klog.V(3).InfoS("Starting watch", "path", req.URL.Path, "resourceVersion", opts.ResourceVersion, "labels", opts.LabelSelector, "fields", opts.FieldSelector, "timeout", timeout)
    			ctx, cancel := context.WithTimeout(ctx, timeout)
    			defer func() { cancel() }()
    			watcher, err := rw.Watch(ctx, &opts)
    			if err != nil {
    				scope.err(err, w, req)
    				return
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 10:22:16 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  2. platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/registry/FileWatcherRegistryFactory.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.watch.registry;
    
    public interface FileWatcherRegistryFactory {
        /**
         * Create the file watcher registry.
         */
        FileWatcherRegistry createFileWatcherRegistry(FileWatcherRegistry.ChangeHandler handler);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:38:01 UTC 2023
    - 861 bytes
    - Viewed (0)
  3. architecture/networking/pilot.md

    #### CRD Watcher
    
    For watches against custom types (CRDs), we want to gracefully handle missing CRDs. Naively starting informers against the missing types would result in errors and blocking startup. Instead, we introduce a "CRD Watcher" component that watches the CRDs in the cluster to determine if they are available or not.
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 07 17:53:24 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_whitebox_test.go

    	wg.Wait()
    
    	if watchErr != nil {
    		t.Fatal(watchErr)
    	}
    
    	// wait out the expiration period and pop expired watchers
    	time.Sleep(2 * time.Second)
    	cacher.Lock()
    	defer cacher.Unlock()
    	cacher.bookmarkWatchers.popExpiredWatchersThreadUnsafe()
    	if len(cacher.bookmarkWatchers.watchersBuckets) != 0 {
    		numWatchers := 0
    		for bucketID, v := range cacher.bookmarkWatchers.watchersBuckets {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 82.9K bytes
    - Viewed (0)
  5. internal/config/etcd/etcd.go

    	if !cfg.Enabled {
    		return nil, nil
    	}
    	cli, err := clientv3.New(cfg.Config)
    	if err != nil {
    		return nil, err
    	}
    	cli.KV = namespace.NewKV(cli.KV, cfg.PathPrefix)
    	cli.Watcher = namespace.NewWatcher(cli.Watcher, cfg.PathPrefix)
    	cli.Lease = namespace.NewLease(cli.Lease, cfg.PathPrefix)
    	return cli, nil
    }
    
    func parseEndpoints(endpoints string) ([]string, bool, error) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. pilot/pkg/config/kube/ingress/status.go

    	netutil "istio.io/istio/pkg/util/net"
    )
    
    var statusLog = log.RegisterScope("ingress status", "")
    
    // StatusSyncer keeps the status IP in each Ingress resource updated
    type StatusSyncer struct {
    	meshConfig mesh.Watcher
    
    	queue          controllers.Queue
    	ingresses      kclient.Client[*knetworking.Ingress]
    	ingressClasses kclient.Client[*knetworking.IngressClass]
    	pods           kclient.Client[*corev1.Pod]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  7. pkg/kube/multicluster/cluster.go

    // This should be called after each of the handlers have registered informers, and should be run in a goroutine.
    func (c *Cluster) Run(mesh mesh.Watcher, handlers []handler, action ACTION) {
    	if features.RemoteClusterTimeout > 0 {
    		time.AfterFunc(features.RemoteClusterTimeout, func() {
    			if !c.initialSync.Load() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 06 02:13:10 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. pkg/kubelet/pluginmanager/pluginwatcher/plugin_watcher_test.go

    		}
    
    		// Stop the plugin; the plugin should be removed from the desired state of world cache
    		require.NoError(t, p.Stop())
    		// The following doesn't work when running the unit tests locally: event.Op of plugin watcher won't pick up the delete event
    		waitForUnregistration(t, pluginInfo.SocketPath, dsw)
    		dswPlugins = dsw.GetPluginsToRegister()
    		if len(dswPlugins) != 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 04 06:56:50 UTC 2023
    - 8K bytes
    - Viewed (0)
  9. pkg/webhooks/webhookpatch.go

    // WebhookCertPatcher listens for webhooks on specified revision and patches their CA bundles
    type WebhookCertPatcher struct {
    	// revision to patch webhooks for
    	revision    string
    	webhookName string
    
    	queue controllers.Queue
    
    	// File path to the x509 certificate bundle used by the webhook server
    	// and patched into the webhook config.
    	CABundleWatcher *keycertbundle.Watcher
    
    	webhooks kclient.Client[*v1.MutatingWebhookConfiguration]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Sep 28 00:36:38 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/server/filters/goaway_test.go

    				}
    
    				if w != nil {
    					watchers <- w
    				}
    			}
    		}()
    	}
    
    	wg.Wait()
    
    	// check if watch request is broken by GOAWAY frame
    	watchTimeout := time.NewTimer(time.Second * 10)
    	defer watchTimeout.Stop()
    	for i := 0; i < expectWatchers; i++ {
    		var watcher <-chan watchResponse
    
    		select {
    		case watcher = <-watchers:
    		default:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 17 12:58:54 UTC 2021
    - 13.9K bytes
    - Viewed (0)
Back to top