Support for deserializing k8s responses into custom structs instead of returning maps.
Add a protocol (K8s.Resource?) with serialize/deserialize functions to be implemented by enduser resource module.
K8s.Client.run(.... into: MyDeploymentModule)
How to handle list responses? It would be burdensome to make someone define a list for each type. List responses are pretty normalized. Could maybe include a single K8s.ResourceList module that defines a kind and items struct keys.
Support for deserializing k8s responses into custom structs instead of returning maps.
Add a protocol (K8s.Resource?) with serialize/deserialize functions to be implemented by enduser resource module.
K8s.Client.run(.... into: MyDeploymentModule)
How to handle list responses? It would be burdensome to make someone define a list for each type. List responses are pretty normalized. Could maybe include a single
K8s.ResourceListmodule that defines akindanditemsstruct keys.