code: func (s *GenericAPIServer) AddPreShutdownHookOrDie(name string, hook PreShutdownHookFunc) {
  	if err := s.AddPreShutdownHook(name, hook); err != nil {
  		klog.Fatalf("Error registering PreShutdownHook %q: %v", name, err)
  	}
  }
docs: // AddPreShutdownHookOrDie allows you to add a PostStartHook, but dies on failure