-
Notifications
You must be signed in to change notification settings - Fork 539
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
Add list method to generic KubernetesObjectApi #772
Add list method to generic KubernetesObjectApi #772
Conversation
Welcome @schrodit! |
expect(e.message).to.contain('Required parameter kind was null or undefined when calling '); | ||
} | ||
expect(thrown).to.be.true; | ||
}); |
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.
Can you add a test that validates that you correctly construct the URL for the GET then I think this is ready to merge.
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.
Added tests for namespaced and non namespaced list requests.
And also added support for the continue feature
Thanks for the PR! One additional unit test requested then we can merge this. |
b911064
to
d4a1e15
Compare
/lgtm Thanks! |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: brendandburns, schrodit 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 |
This PR implements a list method on the generic
KubernetesObjectApi
.I created a new PR for that feature as the original PR (#588), that wanted to implement this feature, has been closed due to inactivity.
In addition the list method supports: