kube-rs / kopium

Kubernetes OPenapI UnMangler
Apache License 2.0
113 stars 21 forks source link

feat: generalized approach to derive traits on top level struct #236

Closed david-rusnak closed 6 months ago

david-rusnak commented 6 months ago

Part of #232

Generates #kube[(derive="Trait")] for each trait (except JsonSchema) passed in to kopium using the --derive flag. For more info see: https://docs.rs/kube/latest/kube/derive.CustomResource.html#kubederive--trait