-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Discover api classes #871
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
Comments
cc @yliaog |
what problem do you see in the sample code provided? |
sounds like you want to create API class objects from the discovery API. Currently the discovery API gives you the basic API group version info:
and you want to map them to e.g.
the upcoming dynamic client could be one way if you want to talk to all the APIs from a live discovery doc dynamically |
@roycaihw dynamic client is exactly what I'm looking for. Just subscribed to it. Closing this one for now. |
Hi.
There are an canonical way to use
client.ApisApi().get_api_versions().preferred_version
to importkubernetes.client.*Api
?Something in this line:
The text was updated successfully, but these errors were encountered: