Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for WithStop (0.1 sec)

  1. pilot/pkg/controllers/untaint/nodeuntainter.go

    		if !n.cnilabels.SubsetOf(p.ObjectMeta.Labels) {
    			return nil
    		}
    		if !IsPodReadyConditionTrue(p.Status) {
    			return nil
    		}
    		log.Debugf("pod %s on node %s ready!", p.Name, p.Spec.NodeName)
    		return p
    	}, krt.WithStop(stop))
    
    	// these are all the nodes that have a ready cni pod. if the cni pod is ready,
    	// it means we are ok scheduling pods to it.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 00:50:31 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  2. pkg/kube/krt/collection.go

    func WithObjectAugmentation(fn func(o any) any) CollectionOption {
    	return func(c *collectionOptions) {
    		c.augmentation = fn
    	}
    }
    
    // WithStop sets a custom stop channel so a collection can be terminated when the channel is closed
    func WithStop(stop <-chan struct{}) CollectionOption {
    	return func(c *collectionOptions) {
    		c.stop = stop
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 19.4K bytes
    - Viewed (0)
Back to top