Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for matchesFilter (0.28 sec)

  1. cni/pkg/repair/repaircontroller.go

    	m.With(resultLabel.Value(resultSuccess)).Increment()
    	return nil
    }
    
    // MatchesFilter returns true if the pod matches the repair filter criteria
    func (c *Controller) matchesFilter(pod *corev1.Pod) bool {
    	// Helper function; checks that a container's termination message matches filter
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Feb 10 00:31:55 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. cmd/batch-expire.go

    				continue
    			}
    
    			prevObj = result.Item
    			matchedFilter = match
    			versionsCount = 1
    			// Include the latest version
    			if matchedFilter.Purge.RetainVersions == 0 {
    				toDel = append(toDel, expireObjInfo{
    					ObjectInfo: result.Item,
    					ExpireAll:  true,
    				})
    				continue
    			}
    		} else if prevObj.Name == result.Item.Name {
    			if matchedFilter.Purge.RetainVersions == 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 21.9K bytes
    - Viewed (0)
Back to top