Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for NodeHandler (0.31 sec)

  1. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/ChildMap.java

        boolean isEmpty();
    
        int size();
    
        Stream<Entry<T>> stream();
    
        <RESULT> RESULT withNode(VfsRelativePath targetPath, CaseSensitivity caseSensitivity, NodeHandler<T, RESULT> handler);
    
        interface NodeHandler<T, RESULT> {
            RESULT handleAsDescendantOfChild(VfsRelativePath pathInChild, T child);
            RESULT handleAsAncestorOfChild(String childPath, T child);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 23 13:19:32 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  2. pkg/controller/controller_utils_test.go

    			requestCount: 2,
    		},
    	}
    	for _, test := range tests {
    		node, _ := test.nodeHandler.Get(context.TODO(), test.nodeName, metav1.GetOptions{})
    		err := RemoveTaintOffNode(context.TODO(), test.nodeHandler, test.nodeName, node, test.taintsToRemove...)
    		assert.NoError(t, err, "%s: RemoveTaintOffNode() error = %v", test.name, err)
    
    		node, _ = test.nodeHandler.Get(context.TODO(), test.nodeName, metav1.GetOptions{})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  3. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/SnapshotUtil.java

            return children.withNode(targetPath, caseSensitivity, new ChildMap.NodeHandler<T, Optional<MetadataSnapshot>>() {
                @Override
                public Optional<MetadataSnapshot> handleAsDescendantOfChild(VfsRelativePath pathInChild, T child) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:34 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  4. pkg/proxy/node.go

    	"k8s.io/kubernetes/pkg/proxy/config"
    	"k8s.io/kubernetes/pkg/proxy/healthcheck"
    )
    
    // NodePodCIDRHandler handles the life cycle of kube-proxy based on the node PodCIDR assigned
    // Implements the config.NodeHandler interface
    // https://issues.k8s.io/111321
    type NodePodCIDRHandler struct {
    	mu       sync.Mutex
    	podCIDRs []string
    	logger   klog.Logger
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. pkg/proxy/config/config.go

    	}
    	for i := range c.eventHandlers {
    		c.logger.V(4).Info("Calling handler.OnServiceDelete")
    		c.eventHandlers[i].OnServiceDelete(service)
    	}
    }
    
    // NodeHandler is an abstract interface of objects which receive
    // notifications about node object changes.
    type NodeHandler interface {
    	// OnNodeAdd is called whenever creation of new node object
    	// is observed.
    	OnNodeAdd(node *v1.Node)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  6. pkg/controller/nodeipam/ipam/test/utils.go

    		fakeNodeInformer.Informer().GetStore().Add(node)
    	}
    
    	return fakeNodeInformer
    }
    
    func WaitForUpdatedNodeWithTimeout(nodeHandler *testutil.FakeNodeHandler, number int, timeout time.Duration) error {
    	return wait.Poll(NodePollInterval, timeout, func() (bool, error) {
    		if len(nodeHandler.GetUpdatedNodesCopy()) >= number {
    			return true, nil
    		}
    		return false, nil
    	})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Aug 06 00:10:39 UTC 2022
    - 2K bytes
    - Viewed (0)
  7. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/MediumChildMap.java

        protected MediumChildMap(List<Entry<T>> children) {
            super(children);
        }
    
        @Override
        public <RESULT> RESULT withNode(VfsRelativePath targetPath, CaseSensitivity caseSensitivity, NodeHandler<T, RESULT> handler) {
            for (Entry<T> entry : entries) {
                Optional<RESULT> ancestorDescendantOrExactMatchResult = entry.handleAncestorDescendantOrExactMatch(targetPath, caseSensitivity, handler);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  8. pkg/proxy/types.go

    	"k8s.io/kubernetes/pkg/proxy/config"
    )
    
    // Provider is the interface provided by proxier implementations.
    type Provider interface {
    	config.EndpointSliceHandler
    	config.ServiceHandler
    	config.NodeHandler
    	config.ServiceCIDRHandler
    
    	// Sync immediately synchronizes the Provider's current state to proxy rules.
    	Sync()
    	// SyncLoop runs periodic work.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 21 14:28:37 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/LargeChildMap.java

        public LargeChildMap(List<Entry<T>> children) {
            super(children);
        }
    
        @Override
        public <R> R withNode(VfsRelativePath targetPath, CaseSensitivity caseSensitivity, NodeHandler<T, R> handler) {
            int childIndexWithCommonPrefix = findChildIndexWithCommonPrefix(targetPath, caseSensitivity);
            if (childIndexWithCommonPrefix >= 0) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  10. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/AbstractInvalidateChildHandler.java

     * limitations under the License.
     */
    
    package org.gradle.internal.snapshot;
    
    import java.util.Optional;
    
    public abstract class AbstractInvalidateChildHandler<T, RESULT> implements ChildMap.NodeHandler<T, ChildMap<RESULT>> {
    
        private final ChildMap.InvalidationHandler<T, RESULT> handler;
    
        public AbstractInvalidateChildHandler(ChildMap.InvalidationHandler<T, RESULT> handler) {
            this.handler = handler;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 2.1K bytes
    - Viewed (0)
Back to top