Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for KillContainerInPod (0.12 sec)

  1. pkg/kubelet/container/testing/fake_runtime.go

    			return f.Err
    		}
    	}
    	pod.Spec.Containers = append(pod.Spec.Containers, container)
    	return f.Err
    }
    
    func (f *FakeRuntime) KillContainerInPod(container v1.Container, pod *v1.Pod) error {
    	f.Lock()
    	defer f.Unlock()
    
    	f.CalledFunctions = append(f.CalledFunctions, "KillContainerInPod")
    	f.KilledContainers = append(f.KilledContainers, container.Name)
    	return f.Err
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 14 00:23:50 UTC 2024
    - 13.9K bytes
    - Viewed (0)
Back to top