kubernetes/pkg/kubelet/nodeshutdown/nodeshutdown_manager_linux.go

const nodeShutdownNotAdmittedReason

const nodeShutdownNotAdmittedMessage

const dbusReconnectPeriod

const localStorageStateFile

var systemDbus

type dbusInhibiter

type managerImpl

// NewManager returns a new node shutdown manager.
func NewManager(conf *Config) Manager {}

// Admit rejects all pods if node is shutting
func (m *managerImpl) Admit(attrs *lifecycle.PodAdmitAttributes) lifecycle.PodAdmitResult {}

// setMetrics sets the metrics for the node shutdown manager.
func (m *managerImpl) setMetrics() {}

// Start starts the node shutdown manager and will start watching the node for shutdown events.
func (m *managerImpl) Start() error {}

func (m *managerImpl) start() (chan struct{}

func (m *managerImpl) acquireInhibitLock() error {}

// ShutdownStatus will return an error if the node is currently shutting down.
func (m *managerImpl) ShutdownStatus() error {}

func (m *managerImpl) processShutdownEvent() error {}