- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 33 for MatchNode (0.17 sec)
-
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) -
pkg/registry/core/node/storage/storage.go
store := &genericregistry.Store{ NewFunc: func() runtime.Object { return &api.Node{} }, NewListFunc: func() runtime.Object { return &api.NodeList{} }, PredicateFunc: node.MatchNode, DefaultQualifiedResource: api.Resource("nodes"), SingularQualifiedResource: api.Resource("node"), CreateStrategy: node.Strategy, UpdateStrategy: node.Strategy,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 27 20:38:11 UTC 2023 - 6.1K bytes - Viewed (0) -
pkg/registry/core/node/strategy_test.go
true: { {"metadata.name": "foo"}, }, false: { {"foo": "bar"}, }, } for expectedResult, fieldSet := range testFieldMap { for _, field := range fieldSet { m := MatchNode(labels.Everything(), field.AsSelector()) _, matchesSingle := m.MatchesSingle() if e, a := expectedResult, matchesSingle; e != a { t.Errorf("%+v: expected %v, got %v", fieldSet, e, a) } } } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:48:03 UTC 2023 - 9.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformBuildOperationIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 12 16:27:38 UTC 2024 - 67.8K bytes - Viewed (0) -
cmd/kubeadm/app/phases/patchnode/patchnode.go
func AnnotateCRISocket(client clientset.Interface, nodeName string, criSocket string) error { klog.V(1).Infof("[patchnode] Uploading the CRI Socket information %q to the Node API object %q as an annotation\n", criSocket, nodeName) return apiclient.PatchNode(client, nodeName, func(n *v1.Node) { annotateNodeWithCRISocket(n, criSocket) }) } func annotateNodeWithCRISocket(n *v1.Node, criSocket string) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 17 14:40:46 UTC 2021 - 1.4K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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)