-
Notifications
You must be signed in to change notification settings - Fork 1.6k
NewProvisionController needs refactoring #77
Comments
Thanks @wongma7 for creating the ticket. Something in my mind, for discussion:
Once the new constructor is ready, I think we can inform the community in the mailing list about the changes, and I can help provide the patches for local path/NFS provisioners to adopt the new constructor. |
Apologies in advance to anybody using the lib and annoyed by breaking changes to the API -- which is yes, only one function, but still annoying I'm sure :). |
btw, I think I'll wait for client-go 3.0.0 before releasing our own 3.0.0. Client-go broke their API again, giving me another excuse to break ours in the next month or so. |
The parameters could be documented better, and we are adding new ones relatively often. @xingzhou I have started a little work on implementing this functional options pattern, wdyt? https://dave.cheney.net/2014/10/17/functional-options-for-friendly-apis . We are not dealing with a complex API here, just one function, but anything to make it more pleasant to use is good :).
The text was updated successfully, but these errors were encountered: