Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 988 for watcher (3.17 sec)

  1. src/os/signal/signal.go

    		if n < 0 {
    			return
    		}
    		if !h.want(n) {
    			h.set(n)
    			if handlers.ref[n] == 0 {
    				enableSignal(n)
    
    				// The runtime requires that we enable a
    				// signal before starting the watcher.
    				watchSignalLoopOnce.Do(func() {
    					if watchSignalLoop != nil {
    						go watchSignalLoop()
    					}
    				})
    			}
    			handlers.ref[n]++
    		}
    	}
    
    	if len(sig) == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/storage/etcd3/store_test.go

    	expectInvalidKey("Create", store.Create(ctx, invalidKey, nil, nil, 0))
    	expectInvalidKey("Delete", store.Delete(ctx, invalidKey, nil, nil, nil, nil))
    	_, watchErr := store.Watch(ctx, invalidKey, storage.ListOptions{})
    	expectInvalidKey("Watch", watchErr)
    	expectInvalidKey("Get", store.Get(ctx, invalidKey, storage.GetOptions{}, nil))
    	expectInvalidKey("GetList", store.GetList(ctx, invalidKey, storage.ListOptions{}, nil))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  3. platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/vfs/impl/WatchingVirtualFileSystem.java

    import org.gradle.internal.watch.vfs.BuildLifecycleAwareVirtualFileSystem;
    import org.gradle.internal.watch.vfs.BuildStartedFileSystemWatchingBuildOperationType;
    import org.gradle.internal.watch.vfs.FileChangeListeners;
    import org.gradle.internal.watch.vfs.FileSystemWatchingStatistics;
    import org.gradle.internal.watch.vfs.VfsLogging;
    import org.gradle.internal.watch.vfs.WatchLogging;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 16:22:15 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  4. pilot/pkg/model/authorization_test.go

    	store := &authzFakeStore{}
    	for _, cfg := range configs {
    		store.add(cfg)
    	}
    	environment := &Environment{
    		ConfigStore: store,
    		Watcher:     mesh.NewFixedWatcher(&meshconfig.MeshConfig{RootNamespace: "istio-config"}),
    	}
    	authzPolicies := GetAuthorizationPolicies(environment)
    	return authzPolicies
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/networkfilter.go

    }
    
    // buildMongoFilter builds an outbound Envoy MongoProxy filter.
    func buildMongoFilter(statPrefix string) *listener.Filter {
    	// TODO: add a watcher for /var/lib/istio/mongo/certs
    	// if certs are found use, TLS or mTLS clusters for talking to MongoDB.
    	// User is responsible for mounting those certs in the pod.
    	mongoProxy := &mongo.MongoProxy{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  6. pilot/pkg/features/pilot.go

    	LocalClusterSecretWatcher = env.Register("LOCAL_CLUSTER_SECRET_WATCHER", false,
    		"If enabled, the cluster secret watcher will watch the namespace of the external cluster instead of config cluster").Get()
    
    	InformerWatchNamespace = env.Register("ISTIO_WATCH_NAMESPACE", "",
    		"If set, limit Kubernetes watches to a single namespace. "+
    			"Warning: only a single namespace can be set.").Get()
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  7. cni/pkg/install/cniconfig_test.go

    					t.Fatalf("expected %s, got %s", expectedFilepath, result)
    				}
    				// Successful test case
    				return
    			}
    
    			// Handle chained CNI plugin cases
    			// Call with goroutine to test fsnotify watcher
    			parent, cancel := context.WithCancel(context.Background())
    			defer cancel()
    			resultChan, errChan := make(chan string, 1), make(chan error, 1)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  8. pkg/controller/volume/persistentvolume/testing/testing.go

    	}
    	r.watchers[gvr][ns] = append(r.watchers[gvr][ns], fakewatcher)
    	return fakewatcher, nil
    }
    
    func (r *VolumeReactor) getWatches(gvr schema.GroupVersionResource, ns string) []*watch.RaceFreeFakeWatcher {
    	watches := []*watch.RaceFreeFakeWatcher{}
    	if r.watchers[gvr] != nil {
    		if w := r.watchers[gvr][ns]; w != nil {
    			watches = append(watches, w...)
    		}
    		if ns != metav1.NamespaceAll {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  9. pilot/pkg/serviceregistry/kube/controller/pod_test.go

    	retry.UntilOrFail(t, func() bool {
    		return c.nodes.Get(name, "") != nil
    	}, retry.Timeout(time.Second*1), retry.Delay(time.Millisecond*5))
    }
    
    // Checks that events from the watcher create the proper internal structures
    func TestPodCacheEvents(t *testing.T) {
    	t.Parallel()
    	c, _ := NewFakeControllerWithOptions(t, FakeControllerOptions{})
    
    	ns := "default"
    	podCache := c.pods
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 18:27:40 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  10. pkg/istio-agent/agent.go

    		log.Warnf("Failed to add file watcher %s", filePath)
    		return
    	}
    
    	log.Debugf("Add file %s watcher", filePath)
    	for {
    		select {
    		case gotEvent := <-a.fileWatcher.Events(filePath):
    			log.Debugf("Receive file %s event %v", filePath, gotEvent)
    			handler()
    		case err := <-a.fileWatcher.Errors(filePath):
    			log.Warnf("Watch file %s error: %v", filePath, err)
    		case <-ctx.Done():
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 10:02:56 UTC 2024
    - 26.7K bytes
    - Viewed (0)
Back to top