-
Notifications
You must be signed in to change notification settings - Fork 263
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
Added autocompletion for broker #1559
Added autocompletion for broker #1559
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@vyasgun: 0 warnings.
In response to this:
Description
Added completion function for broker describe and delete
Changes
- Added completion function for broker resource
./kn broker describe<tab> abc-broker xyz-broker xyza-broker
Reference
Fixes #1373
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/test-infra repository.
Codecov Report
@@ Coverage Diff @@
## main #1559 +/- ##
==========================================
+ Coverage 79.57% 79.59% +0.01%
==========================================
Files 163 163
Lines 8544 8562 +18
==========================================
+ Hits 6799 6815 +16
- Misses 1068 1069 +1
- Partials 677 678 +1
Continue to review full report at Codecov.
|
f015ea1
to
b001042
Compare
fakeEventing = &fake.FakeEventingV1{Fake: &clienttesting.Fake{}} | ||
) | ||
|
||
var knParams = initialiseKnParams() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might be part of var()
block above?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought it would be neater to create diff var blocks for different resources (the one above it is for service resource)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, lets keep it then! :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @vyasgun! Just a few cosmetic nits, otherwise LGTM.
The following is the coverage report on the affected files.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dsimansk, vyasgun 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 |
Description
Added completion function for broker describe and delete
Changes
Reference
#1373