Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for computePodKey (0.22 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/testing/utils.go

    	return data, nil
    }
    
    type sortablePodList []example.Pod
    
    func (s sortablePodList) Len() int {
    	return len(s)
    }
    
    func (s sortablePodList) Less(i, j int) bool {
    	return computePodKey(&s[i]) < computePodKey(&s[j])
    }
    
    func (s sortablePodList) Swap(i, j int) {
    	s[i], s[j] = s[j], s[i]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 22 07:26:55 UTC 2024
    - 10.3K bytes
    - Viewed (0)
Back to top