kubernetes/pkg/kubelet/nodeshutdown/nodeshutdown_manager_linux_test.go

var lock

type fakeDbus

func (f *fakeDbus) CurrentInhibitDelay() (time.Duration, error) {}

func (f *fakeDbus) InhibitShutdown() (systemd.InhibitLock, error) {}

func (f *fakeDbus) ReleaseInhibitLock(lock systemd.InhibitLock) error {}

func (f *fakeDbus) ReloadLogindConf() error {}

func (f *fakeDbus) MonitorShutdown() (<-chan bool, error) {}

func (f *fakeDbus) OverrideInhibitDelay(inhibitDelayMax time.Duration) error {}

func TestManager(t *testing.T) {}

func TestFeatureEnabled(t *testing.T) {}

func TestRestart(t *testing.T) {}

func Test_managerImpl_processShutdownEvent(t *testing.T) {}

func Test_processShutdownEvent_VolumeUnmountTimeout(t *testing.T) {}