Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate models #55

Closed
wants to merge 25 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
4d16fc2
WIP - Generate models from swagger spec
mortenlj Nov 1, 2018
3d08714
Correctly generate types and imports
mortenlj Nov 20, 2018
76c3d1e
Ensure all models used in fields are rendered before models that need…
mortenlj Nov 20, 2018
6a53eb6
Generate for 1.6 instead of 1.12, and handle field_names that are key…
mortenlj Nov 21, 2018
8b2a0f1
Handle Quantity, IntOrString and Time fields, and some arrays
mortenlj Nov 27, 2018
0ba642a
Completed parsing and generation of plain Models
mortenlj Nov 27, 2018
d079d2d
Skip empty Models
mortenlj Nov 27, 2018
711e5a0
Attach operations to models
mortenlj Jan 7, 2019
a787ddd
Don't generate empty modules/packages
mortenlj Jan 7, 2019
078c37c
Make package names less deep
mortenlj Jan 7, 2019
ef7e048
Generate models for all supported versions of Kubernetes
mortenlj Jan 8, 2019
c530dbe
Use knowledge from later versions to fix v1.6 actions
mortenlj Jan 8, 2019
84b3b2d
Shorten refs again
mortenlj Jan 8, 2019
edae0b3
Update base to use new url-templates, fix (almost) all tests.
mortenlj Jan 9, 2019
a869749
Generate required and read-only fields
mortenlj Jan 9, 2019
da9b33c
Sort generated models to reduce flux on new generation
mortenlj Jan 9, 2019
b1c7f91
Ignore a couple more special paths
mortenlj Jan 9, 2019
fc5dd60
Always pick the first GVK listed, and only that
mortenlj Jan 9, 2019
13a39d0
Clean away empty packages
mortenlj Jan 9, 2019
19ab439
Fix missing GVKs and break cycle that made some models go lost in sort
mortenlj Jan 10, 2019
ff860ca
Generate 1.9 - 1.13
mortenlj Jan 10, 2019
af95035
Clean up generated code
mortenlj Jan 10, 2019
0220344
apiVersion and kind can be regular fields on non-top-level models
mortenlj Jan 11, 2019
c0ea719
Fix codestyle issue
mortenlj Jan 14, 2019
8b33cd0
Omit generated code from code coverage reports
mortenlj Jan 14, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .prospector.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ ignore-paths:
- .tox
- .cachedocs

ignore-patterns:
- ^k8s/models/v1_.*

pep8:
options:
max-line-length: 120
Expand Down
Loading