Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for IsPodTerminationRequested (0.17 sec)

  1. pkg/kubelet/pod_workers_test.go

    	}
    	if podWorkers.ShouldPodContainersBeTerminating(types.UID("2")) {
    		t.Errorf("Expected pod to not be terminating")
    	}
    	if !podWorkers.IsPodTerminationRequested(types.UID("0")) {
    		t.Errorf("Expected pod to be terminating")
    	}
    	if podWorkers.IsPodTerminationRequested(types.UID("2")) {
    		t.Errorf("Expected pod to not be terminating")
    	}
    
    	if podWorkers.CouldHaveRunningContainers(types.UID("0")) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 75.6K bytes
    - Viewed (0)
  2. pkg/kubelet/kuberuntime/kuberuntime_manager.go

    )
    
    // podStateProvider can determine if none of the elements are necessary to retain (pod content)
    // or if none of the runtime elements are necessary to retain (containers)
    type podStateProvider interface {
    	IsPodTerminationRequested(kubetypes.UID) bool
    	ShouldPodContentBeRemoved(kubetypes.UID) bool
    	ShouldPodRuntimeBeRemoved(kubetypes.UID) bool
    }
    
    type kubeGenericRuntimeManager struct {
    	runtimeName string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 02:01:31 UTC 2024
    - 64.7K bytes
    - Viewed (0)
Back to top