Comments (17)
I just came across this which looks similar:
https://github.com/ant31/crd-validation
from code-generator.
Work on this is going on in http://github.com/kubernetes-sigs/controller-tools.
from code-generator.
/close
stale?
from code-generator.
xref kubernetes/sample-controller#2
from code-generator.
from code-generator.
@erictune we discussed the very same idea at KubeCon. We have openapi-gen which produces a Golang snippet now which is very similar to a JSON Schema already. @munnerz wanted to prototype a change to openapi-gen with your described goal.
from code-generator.
Yep - likely I won't have a chance to get onto this until next week, as this is my final week before xmas. I think @sttts and I discussed initially adding an 'output format' parameter to openapi-gen in order to facilitate this.
from code-generator.
/assign
from code-generator.
+1 to this. I'm looking into having the cluster registry be a CRD and this would be a boon for that.
from code-generator.
kubernetes/kube-openapi#37 needs review time.
from code-generator.
from code-generator.
I expect we will take this on in kube-openapi and not here.
from code-generator.
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale
.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close
.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale
from code-generator.
Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten
.
Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close
.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten
from code-generator.
from code-generator.
/unassign mbohlool
from code-generator.
@thockin: Closing this issue.
In response to this:
/close
stale?
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
from code-generator.
Related Issues (20)
- Informer gen creates duplicate definitions in SharedInformerFactory HOT 4
- code generator on windows os use backslash in import path HOT 6
- latest golangci-lint picking up discrepancies in auto-generated code
- generate-groups.sh failed with error obtaining VCS in Golang v1.19.5 container
- Specifying multiple group-version with script parameters does not work
- fake clients return nil on failed Get, real clients return an empty object HOT 2
- kube::codegen::gen_helpers errors out with 'fatal: Invalid path' error HOT 5
- [BUG]: go not found HOT 4
- ApplyScale requires a non exsiting package HOT 5
- [question] Does support generate code from crd files? HOT 1
- Allow to use the code-gen in vendorless projects HOT 11
- Make boilerplate optional HOT 4
- Support code generation via kube_codegen.sh when the repository path is outside the package name HOT 5
- applyconfiguration-gen do not handle slices of pointers correctly HOT 4
- client-gen generates empty "core" group clientsets when "api" package directory is in use for input APIs HOT 11
- --with-applyconfig creates import loop for some groupName values HOT 5
- Is there a specific reason why we exclude register-gen in kube_codegen.sh? HOT 4
- applyconfiguration-gen generates an import cycle HOT 1
- Conversion should allow explicit declaration of conversion funcs, beyond just naming convention HOT 10
- applyconfiguration-gen generates incorrect Extract...Status() HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from code-generator.