Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for MatchNode (0.26 sec)

  1. pkg/registry/core/node/strategy.go

    	if !ok {
    		return nil, nil, fmt.Errorf("not a node")
    	}
    	return labels.Set(nodeObj.ObjectMeta.Labels), NodeToSelectableFields(nodeObj), nil
    }
    
    // MatchNode returns a generic matcher for a given label and field selector.
    func MatchNode(label labels.Selector, field fields.Selector) pkgstorage.SelectionPredicate {
    	return pkgstorage.SelectionPredicate{
    		Label:    label,
    		Field:    field,
    		GetAttrs: GetAttrs,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 13 23:06:39 UTC 2024
    - 9K bytes
    - Viewed (0)
  2. platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/registry/WatchMode.java

     * limitations under the License.
     */
    
    package org.gradle.internal.watch.registry;
    
    import org.slf4j.Logger;
    import org.slf4j.helpers.NOPLogger;
    
    public enum WatchMode {
        ENABLED(true, "enabled") {
            @Override
            public Logger loggerForWarnings(Logger currentLogger) {
                return currentLogger;
            }
        },
        DEFAULT(true, "enabled if available") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:38:01 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/test/groovy/org/gradle/tooling/internal/provider/FileSystemWatchingBuildActionRunnerTest.groovy

            WatchMode.DEFAULT  | VfsLogging.NORMAL  | WatchLogging.DEBUG  | true
            WatchMode.ENABLED  | VfsLogging.VERBOSE | WatchLogging.NORMAL | true
            WatchMode.ENABLED  | VfsLogging.NORMAL  | WatchLogging.NORMAL | true
            WatchMode.ENABLED  | VfsLogging.VERBOSE | WatchLogging.DEBUG  | true
            WatchMode.ENABLED  | VfsLogging.NORMAL  | WatchLogging.DEBUG  | true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  4. platforms/core-execution/file-watching/src/integTest/groovy/org/gradle/internal/watch/EnableFileSystemWatchingIntegrationTest.groovy

                gradle.startParameter.setWatchFileSystemMode(${WatchMode.name}.${watchMode.name()})
            """
    
            when:
            run("assemble", "--info")
            then:
            outputContains(ENABLED_IF_AVAILABLE_MESSAGE)
            outputContains(ACTIVE_MESSAGE)
    
            where:
            watchMode << WatchMode.values()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 13:50:33 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/vfs/impl/WatchingNotSupportedVirtualFileSystem.java

        }
    
        @Override
        public boolean afterBuildStarted(
            WatchMode watchMode,
            VfsLogging vfsLogging,
            WatchLogging watchLogging,
            BuildOperationRunner buildOperationRunner
        ) {
            if (watchMode == WatchMode.ENABLED) {
                LOGGER.warn("Watching the file system is not supported.");
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 25 17:41:07 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  6. platforms/core-execution/file-watching/src/test/groovy/org/gradle/internal/watch/vfs/impl/WatchingNotSupportedVirtualFileSystemTest.groovy

            watchingNotSupportedVfs.beforeBuildFinished(watchMode, VfsLogging.NORMAL, WatchLogging.NORMAL, buildOperationRunner, Integer.MAX_VALUE)
            watchingNotSupportedVfs.afterBuildFinished()
            then:
            watchingNotSupportedVfs.root == emptySnapshotHierarchy
    
            where:
            watchMode << WatchMode.values().toList()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 22:18:26 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/api/internal/StartParameterInternal.java

    import org.gradle.internal.buildtree.BuildModelParameters;
    import org.gradle.internal.watch.registry.WatchMode;
    
    import javax.annotation.Nullable;
    import java.io.File;
    import java.time.Duration;
    
    public class StartParameterInternal extends StartParameter {
        private WatchMode watchFileSystemMode = WatchMode.DEFAULT;
        private boolean watchFileSystemDebugLogging;
        private boolean vfsVerboseLogging;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 29 08:08:36 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  8. platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/vfs/BuildLifecycleAwareVirtualFileSystem.java

        /**
         * Called when the build is finished.
         *
         * This operation happens in the context of executing the build from the client's perspective.
         */
        void beforeBuildFinished(WatchMode watchMode, VfsLogging vfsLogging, WatchLogging watchLogging, BuildOperationRunner buildOperationRunner, int maximumNumberOfWatchedHierarchies);
    
        /**
         * Called after the build is finished.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. platforms/core-runtime/launcher/src/main/java/org/gradle/tooling/internal/provider/FileSystemWatchingBuildActionRunner.java

            if (continuousBuild && watchFileSystemMode == WatchMode.DEFAULT) {
                // Try to watch as much as possible when using continuous build.
                watchFileSystemMode = WatchMode.ENABLED;
            }
            if (watchFileSystemMode.isEnabled()) {
                dropVirtualFileSystemIfRequested(options, virtualFileSystem);
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  10. platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/registry/impl/AbstractFileWatcherUpdater.java

            update(root);
        }
    
        @Override
        public final SnapshotHierarchy updateVfsOnBuildStarted(SnapshotHierarchy root, WatchMode watchMode, List<File> unsupportedFileSystems) {
            SnapshotHierarchy newRoot = watchableHierarchies.removeUnwatchableContentOnBuildStart(root, createInvalidator(), watchMode, unsupportedFileSystems);
            newRoot = invalidateMovedDirectoriesOnBuildStarted(newRoot);
            if (root != newRoot) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 25 17:02:39 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top