Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for OverrideInhibitDelay (4.39 sec)

  1. pkg/kubelet/nodeshutdown/nodeshutdown_manager_linux.go

    	CurrentInhibitDelay() (time.Duration, error)
    	InhibitShutdown() (systemd.InhibitLock, error)
    	ReleaseInhibitLock(lock systemd.InhibitLock) error
    	ReloadLogindConf() error
    	MonitorShutdown() (<-chan bool, error)
    	OverrideInhibitDelay(inhibitDelayMax time.Duration) error
    }
    
    // managerImpl has functions that can be used to interact with the Node Shutdown Manager.
    type managerImpl struct {
    	logger       klog.Logger
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 09 08:02:40 UTC 2022
    - 15.5K bytes
    - Viewed (0)
  2. pkg/kubelet/nodeshutdown/nodeshutdown_manager_linux_test.go

    	return nil
    }
    
    func (f *fakeDbus) ReloadLogindConf() error {
    	return nil
    }
    
    func (f *fakeDbus) MonitorShutdown() (<-chan bool, error) {
    	return f.shutdownChan, nil
    }
    
    func (f *fakeDbus) OverrideInhibitDelay(inhibitDelayMax time.Duration) error {
    	f.didOverrideInhibitDelay = true
    	return nil
    }
    
    func makePod(name string, priority int32, terminationGracePeriod *int64) *v1.Pod {
    	return &v1.Pod{
    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