mirror of
https://github.com/kubernetes/client-go.git
synced 2026-07-01 06:25:55 +00:00
All other clients: - expose a New() method that takes a rest.Interface - expose their RESTClient() - return pointers to the type, not instances of an interface that the type implements For code that is generic over all Kubernetes clients, and for general developer experience, it's best to make sure that this client adheres to these common practices. Signed-off-by: Steve Kuznetsov <skuznets@redhat.com> Kubernetes-commit: 74af6f1e7d9057bfcb64f4d875063c14041937e5