Cases in which injunction may be granted.
An injunction may be granted in the following cases:
When it shall appear by the complaint that the plaintiff is entitled to the relief demanded, and such relief or any part thereof consists in restraining the commission or continuance of the act complained of, either for a limited period or perpetually.
When it shall appear by the complaint or affidavit that the commission or continuance of some act, during the litigation, would produce great or irreparable injury to the plaintiff.
When it shall appear, during the litigation, that the defendant is doing or threatens, or is about to do, or is procuring or suffering to be done, some act in violation of the plaintiff’s rights respecting the subject of the action, and tending to render the judgment ineffectual.