type Manager …
type Config …
type managerStub …
func (managerStub) Admit(attrs *lifecycle.PodAdmitAttributes) lifecycle.PodAdmitResult { … }
func (managerStub) Start() error { … }
func (managerStub) ShutdownStatus() error { … }
const nodeShutdownReason …
const nodeShutdownMessage …
type podManager …
func newPodManager(conf *Config) *podManager { … }
func (m *podManager) killPods(activePods []*v1.Pod) error { … }
func (m *podManager) periodRequested() time.Duration { … }
func migrateConfig(shutdownGracePeriodRequested, shutdownGracePeriodCriticalPods time.Duration) []kubeletconfig.ShutdownGracePeriodByPodPriority { … }
type podShutdownGroup …
func groupByPriority(shutdownGracePeriodByPodPriority []kubeletconfig.ShutdownGracePeriodByPodPriority, pods []*v1.Pod) []podShutdownGroup { … }