kubernetes/test/e2e_node/node_shutdown_linux_test.go

var _

func getPriorityClass(name string, value int32) *schedulingv1.PriorityClass {}

// getGracePeriodOverrideTestPod returns a new Pod object containing a container
// runs a shell script, hangs the process until a SIGTERM signal is received.
// The script waits for $PID to ensure that the process does not exist.
// If priorityClassName is scheduling.SystemNodeCritical, the Pod is marked as critical and a comment is added.
func getGracePeriodOverrideTestPod(name string, node string, gracePeriod int64, priorityClassName string) *v1.Pod {}

// Emits a fake PrepareForShutdown dbus message on system dbus. Will cause kubelet to react to an active shutdown event.
func emitSignalPrepareForShutdown(b bool) error {}

func getNodeReadyStatus(ctx context.Context, f *framework.Framework) bool {}

const podShutdownReason

const podShutdownMessage

func isPodShutdown(pod *v1.Pod) bool {}

// Pods should never report failed phase and have ready condition = true (https://github.com/kubernetes/kubernetes/issues/108594)
func isPodStatusAffectedByIssue108594(pod *v1.Pod) bool {}

func isPodReadyToStartConditionSetToFalse(pod *v1.Pod) bool {}