-
Notifications
You must be signed in to change notification settings - Fork 10
Add clientset to devconsole-api #26
base: master
Are you sure you want to change the base?
Conversation
|
Why are we adding it here, instead of using it directly at the controller repo - or whichever repo we need it in? |
|
@sbose78 I feel clientset should get added to this repo, since NOTE : If anyone wants to access |
|
Thanks, make sense. Could you add an example on how we should be consuming this ? |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: sbose78 The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@sbose78 I have added example under |
This PR adds clientset to devconsole apis.
Code is generated using code-generator(https://github.com/kubernetes/code-generator)
Following resources are supported by this clientset
Usage
Import
Initialise Client
Get Resource
Why
This would helps us to have better code readability, we could refactor the code following way
Instead of (In controller)
we can have