-
Notifications
You must be signed in to change notification settings - Fork 45
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
Rename Probe implementations to be more idiomatic/brief #248
Conversation
Skipping CI for Draft Pull Request. |
@abyrne55: all tests passed! Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #248 +/- ##
=======================================
Coverage 31.18% 31.18%
=======================================
Files 12 12
Lines 1119 1119
=======================================
Hits 349 349
Misses 752 752
Partials 18 18
|
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: AlexVulaj The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What does this PR do?
This PR renames the
curl_json
package and both the CurlJSON and Legacy probe implementations such that they can be referred to ascurl.Probe
andlegacy.Probe
. It also updates all external (to theprobe
package) references to those types to use the new names.This change was originally suggested by @AlexVulaj in a comment on an earlier PR, citing the awkwardness of needing to refer to the probe implementations by names like
curl_json.CurlJSONProbe
. This suggestion is backed up by Effective Go:As for the renaming of
curl_json
tocurl
This PR doesn't cover docs; those will be updated with OSD-24417. Test names are also not covered (although it does update the error messages in the tests) for the sake of timeliness.