package nodeshutdown
import "k8s.io/kubernetes/pkg/kubelet/nodeshutdown"
Index ¶
Types ¶
type Manager ¶
type Manager struct{}
Manager is a fake node shutdown manager for non linux platforms.
func NewManager ¶
func NewManager(getPodsFunc eviction.ActivePodsFunc, killPodFunc eviction.KillPodFunc, shutdownGracePeriodRequested, shutdownGracePeriodCriticalPods time.Duration) *Manager
NewManager returns a fake node shutdown manager for non linux platforms.
func (*Manager) ShutdownStatus ¶
ShutdownStatus is a no-op always returning nil for non linux platforms.
func (*Manager) Start ¶
Start is a no-op always returning nil for non linux platforms.
Source Files ¶
nodeshutdown_manager_others.go
Directories ¶
Path | Synopsis |
---|---|
pkg/kubelet/nodeshutdown/systemd | Package systemd provides utility functions for kubelet to perform systemd related operations. |
- Version
- v1.20.3
- Published
- Feb 17, 2021
- Platform
- darwin/amd64
- Imports
- 2 packages
- Last checked
- 4 minutes ago –
Tools for package owners.