swiftkube / client

Swift client for Kubernetes
Apache License 2.0
129 stars 20 forks source link

Support to extend with custom models #13

Closed petershaw closed 1 year ago

petershaw commented 2 years ago

I need to list all resources of

apiVersion: cert-manager.io/v1
kind: Certificate

it there is any way to implement own Models to support crds? The code looks very extensable at the first look. Feature-Request is to have a documentation how to implement an extension to support cruds on custom resources.

Will this be possible?

iabudiab commented 2 years ago

Hey there. It is currently not possible, however, CRD support is on the top of the to-do list 😉 One thing I could prioritize is support for the unstructured resource type as a catch-all-fallback. I'll try to find some time over the next couple of days, maybe the weekend, to squeeze a first implementation for unstructured types.

Cheers

petershaw commented 2 years ago

Hey @iabudiab wonderful! And a big thanks to your work. I will spread the word!

iabudiab commented 1 year ago

@petershaw You should check out the new version ;)

iabudiab commented 1 year ago

Landed in v0.13.0