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

Add a method to get the core/legacy apiresources #4065

Closed
shawkins opened this issue Apr 13, 2022 · 1 comment · Fixed by #4066
Closed

Add a method to get the core/legacy apiresources #4065

shawkins opened this issue Apr 13, 2022 · 1 comment · Fixed by #4066
Assignees
Milestone

Comments

@shawkins
Copy link
Contributor

Is your enhancement related to a problem? Please describe

To facilitate walking all resources, either internally or by user code, the core resources should be exposed.

Describe the solution you'd like

Like the logic in PluralizeIT, there should be a call returning an apiresourcelist from /api/v1

Describe alternatives you've considered

No response

Additional context

No response

shawkins added a commit to shawkins/kubernetes-client that referenced this issue Apr 13, 2022
@manusa
Copy link
Member

manusa commented Apr 26, 2022

testCases = new ArrayList<>(new OperationSupport(client)
.restCall(APIResourceList.class, "api/v1").getResources());

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 a pull request may close this issue.

2 participants