Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for MatchNode (0.31 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/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)
  6. 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)
  7. pilot/pkg/model/extensions.go

    	if (li.Class == istionetworking.ListenerClassUndefined && li.Port == 0) || len(ts) == 0 {
    		return true
    	}
    
    	for _, match := range ts {
    		if matchMode(match.Mode, li.Class) && matchPorts(match.Ports, li.Port) {
    			return true
    		}
    	}
    	return false
    }
    
    func matchMode(workloadMode typeapi.WorkloadMode, class istionetworking.ListenerClass) bool {
    	switch workloadMode {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 11K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/util/apiclient/idempotency.go

    				return false, nil
    			}
    			return false, *lastError
    		}
    
    		return true, nil
    	}
    }
    
    // PatchNode tries to patch a node using patchFn for the actual mutating logic.
    // Retries are provided by the wait package.
    func PatchNode(client clientset.Interface, nodeName string, patchFn func(*v1.Node)) error {
    	var lastError error
    	err := wait.PollUntilContextTimeout(context.Background(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Feb 18 11:14:32 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  9. maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

            CliRequest request = new CliRequest(cliArgs, null);
            if (ciEnv) request.getSystemProperties().put("env.CI", "true");
            cli.cli(request);
    
            boolean batchMode = !cli.populateRequest(request).isInteractiveMode();
    
            assertThat(batchMode, is(isBatchMode));
        }
    
        public static Stream<Arguments> activateBatchModeArguments() {
            return Stream.of(
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:31:59 UTC 2024
    - 28.3K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/cmd/phases/join/kubelet.go

    	kubeadmconstants "k8s.io/kubernetes/cmd/kubeadm/app/constants"
    	kubeletphase "k8s.io/kubernetes/cmd/kubeadm/app/phases/kubelet"
    	patchnodephase "k8s.io/kubernetes/cmd/kubeadm/app/phases/patchnode"
    	"k8s.io/kubernetes/cmd/kubeadm/app/util/apiclient"
    	dryrunutil "k8s.io/kubernetes/cmd/kubeadm/app/util/dryrun"
    	kubeconfigutil "k8s.io/kubernetes/cmd/kubeadm/app/util/kubeconfig"
    )
    
    var (
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 10.3K bytes
    - Viewed (0)
Back to top