code: func getWaiter(dryRun bool, client clientset.Interface) apiclient.Waiter {
  	if dryRun {
  		return dryrunutil.NewWaiter()
  	}
  	return apiclient.NewKubeWaiter(client, upgrade.UpgradeManifestTimeout, os.Stdout)
  }
docs: // getWaiter gets the right waiter implementation