allansun/kubernetes-php-client

Allow for extension using Custom Objects

Closed this issue · 2 comments

Kubernetes can be extended with custom resource definitions. It seems relatively easy to create ones own AbstractAPI extensions and Models, however the AbstractAPI's parseResponse() method uses a static class to tie results and objects together.

This is just a preliminary feature request. I have not delved too deep in yet, so thre may be things I am not taking into account.

Sorry I just ignored your request for 2 years....

I will close this issue for now, if you still need it I will look into implementation.

It's ok, I ended up being able to do it, it just required a lot of replumbing. I don't even remember exactly how.