A receiver may be appointed by the court in which an action is pending, or by the judge thereof, on the application of the plaintiff or of any party whose right to or interest in the property, funds, or proceeds thereof is probable, and where it is shown that the property or fund is in danger of being lost, removed, or materially injured, in any of the following actions:
SDCL 21-21-1