const reason … const message … type activeDeadlineHandler … // newActiveDeadlineHandler returns an active deadline handler that can enforce pod active deadline func newActiveDeadlineHandler( podStatusProvider status.PodStatusProvider, recorder record.EventRecorder, clock clock.Clock, ) (*activeDeadlineHandler, error) { … } // ShouldSync returns true if the pod is past its active deadline. func (m *activeDeadlineHandler) ShouldSync(pod *v1.Pod) bool { … } // ShouldEvict returns true if the pod is past its active deadline. // It dispatches an event that the pod should be evicted if it is past its deadline. func (m *activeDeadlineHandler) ShouldEvict(pod *v1.Pod) lifecycle.ShouldEvictResponse { … } // pastActiveDeadline returns true if the pod has been active for more than its ActiveDeadlineSeconds func (m *activeDeadlineHandler) pastActiveDeadline(pod *v1.Pod) bool { … }