Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 28 for watchable (0.53 sec)

  1. platforms/core-execution/file-watching/src/test/groovy/org/gradle/internal/watch/vfs/impl/WatchingVirtualFileSystemTest.groovy

            0 * _
    
            watchingVirtualFileSystem.root == nonEmptySnapshotHierarchy
        }
    
        def "collects hierarchies to watch and notifies the vfs"() {
            def watchableHierarchy = new File("watchable")
            def watcherProbe = new File(watchableHierarchy, ".gradle/watch-probe")
            def anotherWatchableHierarchy = new File("anotherWatchable")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 22:18:26 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/cli-runtime/pkg/resource/visitor.go

    const (
    	constSTDINstr       = "STDIN"
    	stopValidateMessage = "if you choose to ignore these errors, turn validation off with --validate=false"
    )
    
    // Watchable describes a resource that can be watched for changes that occur on the server,
    // beginning after the provided resource version.
    type Watchable interface {
    	Watch(resourceVersion string) (watch.Interface, error)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 03 10:17:56 UTC 2023
    - 21.3K bytes
    - Viewed (0)
  3. platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/vfs/impl/WatchingVirtualFileSystem.java

        private final FileChangeListeners fileChangeListeners;
        private final List<File> unsupportedFileSystems = new ArrayList<>();
        private Logger warningLogger = LOGGER;
    
        /**
         * Watchable hierarchies registered before the {@link FileWatcherRegistry} has been started.
         */
        private final Set<File> watchableHierarchiesRegisteredEarly = new LinkedHashSet<>();
    
        private FileWatcherRegistry watchRegistry;
    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. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/DefaultConfigurationCache.kt

            }
        }
    
        private
        fun checkFingerprint(entryDetails: EntryDetails, layout: ConfigurationCacheRepository.Layout): CheckedFingerprint {
            // Register all included build root directories as watchable hierarchies,
            // so we can load the fingerprint for build scripts and other files from included builds
            // without violating file system invariants.
            registerWatchableBuildDirectories(entryDetails.rootDirs)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  5. pkg/filewatcher/filewatcher_test.go

    	g := NewGomegaWithT(t)
    
    	watchDir := t.TempDir()
    	watchFile := path.Join(watchDir, "test.conf")
    	err := os.WriteFile(watchFile, []byte("foo: bar\n"), 0o640)
    	g.Expect(err).NotTo(HaveOccurred())
    
    	return watchFile
    }
    
    func newWatchFileThatDoesNotExist(t *testing.T) string {
    	watchDir := t.TempDir()
    
    	watchFile := path.Join(watchDir, "test.conf")
    
    	return watchFile
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  6. pkg/log/config.go

    				return err
    			}
    			*logger = newLogger
    			closeFns = append(closeFns, closeFn)
    		}
    	}
    
    	pt := patchTable{
    		write: func(ent zapcore.Entry, fields []zapcore.Field) error {
    			err := baseLogger.Write(ent, fields)
    			if ent.Level == zapcore.FatalLevel {
    				funcs.Load().(patchTable).exitProcess(1)
    			}
    
    			return err
    		},
    		sync:        baseLogger.Sync,
    		exitProcess: os.Exit,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 26 20:38:10 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  7. pkg/filewatcher/filewatcher.go

    	// The watcher maintain a map of workers,
    	// keyed by watched dir (parent dir of watched files).
    	workers map[string]*workerState
    
    	funcs *patchTable
    }
    
    type workerState struct {
    	worker *worker
    	count  int
    }
    
    // functions that can be replaced in a test setting
    type patchTable struct {
    	newWatcher     func() (*fsnotify.Watcher, error)
    	addWatcherPath func(*fsnotify.Watcher, string) error
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  8. pkg/log/default_test.go

    				o := testOptions()
    				o.JSONEncoding = c.json
    
    				if err := Configure(o); err != nil {
    					t.Errorf("Got err '%v', expecting success", err)
    				}
    
    				pt := funcs.Load().(patchTable)
    				pt.exitProcess = func(_ int) {
    					exitCalled = true
    				}
    				funcs.Store(pt)
    
    				defaultScope.SetOutputLevel(DebugLevel)
    				defaultScope.SetStackTraceLevel(c.stackLevel)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 26 20:38:10 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  9. pilot/pkg/xds/lds_test.go

    				InterceptionMode: model.InterceptionNone,
    				HTTP10:           "1",
    			},
    			IPAddresses:     []string{"10.11.0.1"}, // matches none.yaml s1tcp.none
    			ConfigNamespace: "none",
    		}, nil, watchAll)
    
    		err := adscon.Save(wd + "/none")
    		if err != nil {
    			t.Fatal(err)
    		}
    
    		// 7071 (inbound), 2001 (service - also as http proxy), 18010 (fortio)
    		if len(adscon.GetHTTPListeners()) != 3 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 12 18:20:36 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  10. pkg/log/scope_test.go

    				o := testOptions()
    				o.JSONEncoding = c.json
    
    				if err := Configure(o); err != nil {
    					t.Errorf("Got err '%v', expecting success", err)
    				}
    
    				pt := funcs.Load().(patchTable)
    				pt.exitProcess = func(_ int) {
    					exitCalled = true
    				}
    				funcs.Store(pt)
    
    				s.SetOutputLevel(DebugLevel)
    				s.SetStackTraceLevel(c.stackLevel)
    				s.SetLogCallers(c.caller)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 03 17:36:09 UTC 2024
    - 11K bytes
    - Viewed (0)
Back to top