Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for newPodContainerDeletor (0.16 sec)

  1. pkg/kubelet/pod_container_deletor.go

    func (a containerStatusbyCreatedList) Swap(i, j int) { a[i], a[j] = a[j], a[i] }
    func (a containerStatusbyCreatedList) Less(i, j int) bool {
    	return a[i].CreatedAt.After(a[j].CreatedAt)
    }
    
    func newPodContainerDeletor(runtime kubecontainer.Runtime, containersToKeep int) *podContainerDeletor {
    	buffer := make(chan kubecontainer.ContainerID, containerDeletorBufferLimit)
    	go wait.Until(func() {
    		for {
    			id := <-buffer
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Nov 05 13:02:13 UTC 2022
    - 4K bytes
    - Viewed (0)
Back to top