kube-rs / k8s-pb

Playing with Kubernetes protobufs
Apache License 2.0
19 stars 6 forks source link

`IntOrString` needs a wrapper #12

Open kazk opened 3 years ago

kazk commented 3 years ago

https://github.com/kube-rs/k8s-pb/blob/7b4bf26bebcaed0ee1ff5286ad8ba3747368b517/k8s-pb-codegen/protos/apimachinery/pkg/util/intstr/generated.proto#L36-L42

clux commented 3 years ago

Presumably to get an enum rather than a struct? We don't actually have any enums in the out directory at all.

The generated k8s-openapi one is marked as having alternative codegen and some special schema handling.