Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for fakeShutdownChan (0.17 sec)

  1. pkg/kubelet/nodeshutdown/nodeshutdown_manager_linux_test.go

    				}
    				fn(&pod.Status)
    				podKillChan <- PodKillInfo{Name: pod.Name, GracePeriod: gracePeriod}
    				return nil
    			}
    
    			fakeShutdownChan := make(chan bool)
    			fakeDbus := &fakeDbus{currentInhibitDelay: tc.systemInhibitDelay, shutdownChan: fakeShutdownChan, overrideSystemInhibitDelay: tc.overrideSystemInhibitDelay}
    
    			lock.Lock()
    			systemDbus = func() (dbusInhibiter, error) {
    				return fakeDbus, nil
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 29.8K bytes
    - Viewed (0)
Back to top