The goal keeper bouncing the ball is considered by FIFA to be "in possession". This really applies to the maximum 4 steps (now changed to 6 seconds) while possessing the ball in his hands.
Blowing the whistle (stopping play) and then instructing the goalie to punt the ball has no basis in the rules. If you are stopping the play because an opponent is trying to kick at the ball being held by the keeper, the proper call is "dangerous play" sanctioned by an indirect free kick for the keepers team. A caution could also be issued for unsporting behaviour, possibly a red card for serious foul play if they actually hit him (depends on situation)
Immediately yellow-carding a player who strikes the keeper running for the ball is a good idea (depending on age of players and situation) The card would be for unsporting behaviour since nothing else really applies.
Note that if both players (attacker and keeper) are within playing distance of the ball, and they make shoulder to shoulder contact with no pushing/elbows etc, there is no foul. Soccer is a contact sport, but there are limitations. By "striking" I'm assuming you mean there is an actual foul involved. In that case the red card could be given for serious foul play, if it was particulary violent or dangerous, and if a direct free kick is not punishment enough. Giving a yellow then a red is not really needed.
Just giving my opinion on, and elaborating on, what you were saying.
------------------
!
|