Add Pod WaitForCondition multiple condition support
Context
The Orchestrator pods interface contains a WaitForCondition
method to allow waiting a specific state. In a client project, a use case where multiple acceptable states are possible has been found, which is not currently supported by the existing interface.
Change
- The
pods.WaitForCondition
method has been updated to support multiple states as a variable argument. - New
SucceededCondition
andFailedCondition
conditions have been added to allow waiting until a pod gets to the succeeded/failed state, respectively.
Other information
Additional documentation
Edited by Alejo Carballude