Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for MatchNode (0.38 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/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformBuildOperationIntegrationTest.groovy

            String nodeId
            String nodeType
            Predicate<NodeIdentity> identityPredicate
            List<String> dependencyNodeIds = []
    
            def matchNode(plannedNode) {
                plannedNode.nodeIdentity.nodeType.toString() == nodeType && identityPredicate.test(plannedNode.nodeIdentity)
            }
    
            @Override
            String toString() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 16:27:38 UTC 2024
    - 67.8K bytes
    - Viewed (0)
  3. platforms/core-execution/file-watching/src/test/groovy/org/gradle/internal/watch/vfs/impl/WatchingVirtualFileSystemTest.groovy

            watchingVirtualFileSystem.afterBuildStarted(WatchMode.ENABLED, VfsLogging.NORMAL, WatchLogging.NORMAL, buildOperationRunner)
            then:
            1 * watcherRegistry.updateVfsOnBuildStarted(_ as SnapshotHierarchy, WatchMode.ENABLED, []) >> { SnapshotHierarchy root, watchMode, unsupportedFileSystems -> root }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 22:18:26 UTC 2024
    - 12.4K 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/WatchingVirtualFileSystem.java

                ));
            }
        }
    
        @Override
        public boolean afterBuildStarted(
            WatchMode watchMode,
            VfsLogging vfsLogging,
            WatchLogging watchLogging,
            BuildOperationRunner buildOperationRunner
        ) {
            warningLogger = watchMode.loggerForWarnings(LOGGER);
            stateInvalidatedAtStartOfBuild = false;
            reasonForNotWatchingFiles = null;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 16:22:15 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  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-execution/file-watching/src/main/java/org/gradle/internal/watch/registry/impl/WatchableHierarchies.java

        @CheckReturnValue
        public SnapshotHierarchy removeUnwatchableContentOnBuildStart(SnapshotHierarchy root, Invalidator invalidator, WatchMode watchMode, List<File> unsupportedFileSystems) {
            SnapshotHierarchy newRoot = root;
            newRoot = removeUnprovenHierarchies(newRoot, invalidator, watchMode);
            newRoot = updateUnwatchableFilesOnBuildStart(newRoot, invalidator, unsupportedFileSystems);
            return newRoot;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 25 17:02:39 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  10. platforms/core-execution/file-watching/src/test/groovy/org/gradle/internal/watch/registry/impl/AbstractFileWatcherUpdaterTest.groovy

            probeLocationResolver.apply(watchableHierarchy)
        }
    
        SnapshotHierarchy buildStarted(WatchMode watchMode = WatchMode.DEFAULT, List<File> unsupportedFileSystems = []) {
            virtualFileSystem.root = updater.updateVfsOnBuildStarted(virtualFileSystem.root, watchMode, unsupportedFileSystems)
            return virtualFileSystem.root
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 25 15:08:33 UTC 2024
    - 21.5K bytes
    - Viewed (0)
Back to top