Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for sandboxByCreated (0.15 sec)

  1. pkg/kubelet/kuberuntime/kuberuntime_gc.go

    func (a byCreated) Less(i, j int) bool { return a[i].createTime.After(a[j].createTime) }
    
    // Newest first.
    type sandboxByCreated []sandboxGCInfo
    
    func (a sandboxByCreated) Len() int           { return len(a) }
    func (a sandboxByCreated) Swap(i, j int)      { a[i], a[j] = a[j], a[i] }
    func (a sandboxByCreated) Less(i, j int) bool { return a[i].createTime.After(a[j].createTime) }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 15.3K bytes
    - Viewed (0)
Back to top