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

feat: Add waiter for object #762

Closed

Conversation

dlipovetsky
Copy link
Contributor

What problem does this PR solve?:
Implements a wait for a check to pass against a typed object.

We'll use this in some lifecycle handers, e.g., in a future change for deploying ServiceLoadBalancer configuration to the remote cluster.

Which issue(s) this PR fixes:
Fixes #

How Has This Been Tested?:

Special notes for your reviewer:

Implements a wait for a check to pass against a typed object.
pkg/wait/wait_test.go Show resolved Hide resolved
pkg/wait/wait.go Outdated Show resolved Hide resolved
- Retry get only if object is not found, fail immediately otherwise.
@dlipovetsky
Copy link
Contributor Author

Replaced by #777 because this is from a public fork, and can't run some of the required checks.

@dlipovetsky dlipovetsky closed this Jul 3, 2024
jimmidyson pushed a commit that referenced this pull request Jul 3, 2024
**What problem does this PR solve?**:
Implements a wait for a check to pass against a typed object.

We'll use this in some lifecycle handers, e.g., in a future change for
deploying ServiceLoadBalancer configuration to the remote cluster.

(This is a copy of #762. I had to close that after #755 added required
checks that can't be run from PRs from public forks. )

**Which issue(s) this PR fixes**:
Fixes #

**How Has This Been Tested?**:
<!--
Please describe the tests that you ran to verify your changes.
Provide output from the tests and any manual steps needed to replicate
the tests.
-->

**Special notes for your reviewer**:
<!--
Use this to provide any additional information to the reviewers.
This may include:
- Best way to review the PR.
- Where the author wants the most review attention on.
- etc.
-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants