Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

oran: add extra methods to ProvisioningRequest #899

Merged
merged 1 commit into from
Feb 3, 2025

Conversation

klaskosk
Copy link
Collaborator

This PR adds a number of additional methods (along with unit tests) to the ProvisioningRequest resource:

  • WithTemplateParameter(s) and GetTemplateParameters make it easier to work with the TemplateParameters field.
  • DeleteAndWait since ProvisioningRequest deletion includes deprovisioning and may take a while.
  • WaitForCondition for awaiting changes to the status conditions.

This PR adds a number of additional methods (along with unit tests) to the ProvisioningRequest resource:

* WithTemplateParameter(s) and GetTemplateParameters make it easier to work with the TemplateParameters field.
* DeleteAndWait since ProvisioningRequest deletion includes deprovisioning and may take a while.
* WaitForCondition for awaiting changes to the status conditions.
* WaitUntilFulfilled since updates to the template are not accepted until the ProvisioningRequest is fulfilled.
@klaskosk klaskosk merged commit 682af7c into openshift-kni:main Feb 3, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants