Text this: Transient cavities near boundaries. Part 1. Rigid boundary