1
0
mirror of https://github.com/rancher/steve.git synced 2025-07-12 14:18:38 +00:00
Commit Graph

25 Commits

Author SHA1 Message Date
Eric Promislow
6a11ffb660
Migrate the mocking library to uber's (#291)
* Migrate from golang/mock to uber/mock.

* Update go.mod

* Continue migration to uber/mock.

* Tweaks from running the go.uber.mock's mockgen.
2024-10-10 10:28:25 -07:00
Michael Bolot
e7a76d14f0 Adding APIGroups back to the schema
Prior schema calculations started with openapiv2 models which included a
model for APIGroups. However, new schema calculations use
ServerGroupsAndResources first, which omitted these values. This
re-adds this type using a static schema.
2024-07-02 13:27:04 -05:00
Tom Lebreux
9ac9be9c0e
Fix missing fields in schema definition endpoint (#215) 2024-06-17 10:52:19 -04:00
vardhaman22
dae842ea98 updated wrangler from v2 to v3
also updated k8s dependencies to v0.30.1
2024-06-05 22:53:08 +05:30
Michael Bolot
40f6b10fc7 Adding schema definitions endpoint
Introduces new schema definitions endpoint, allowing the caller to get
the fields/types/descriptions for a given kubernetes resource.
2024-02-26 15:42:03 -06:00
Michael Bolot
3f65942a6a Tests for Reducing number of generated schemas 2024-02-26 15:39:41 -06:00
Michael Bolot
605e74c97a Reducing number of generated schemas
Changes steve to only return top level schema definitions rather
than a full defined schema for every field. Also adds basic docs
and fixes a bug with schema generation on versioned crds
2024-02-26 09:20:42 -06:00
Kevin Joiner
e35a044d5a Bumps rancher/wrangler to it's tagged v2 version.
The previous wrangler commit included all of the v2 changes.
Except for the import paths changes.
2024-01-24 10:24:01 -05:00
Michael Bolot
b73cc57b20 Adding validate phase to the CI
Adds a validate phase to the CI which runs a linter. Also fixes
linter issues discovered during the initial run
2022-10-14 15:21:17 -05:00
Darren Shepherd
52f86dce9b Remove noisy logging 2021-05-20 12:10:28 -07:00
Darren Shepherd
9ddd83c343 Fix openapi schema to steve schema generation 2021-04-27 17:08:38 -07:00
Daishan
28260701a5 Update wrangler to use v1 apiextention 2021-04-21 09:49:03 -07:00
Darren Shepherd
2cf9f857b0
Merge pull request #14 from guangbochen/harvester-v0.2
Add default api server and fix invalid open-api arbitrary type
2021-02-19 09:21:18 -08:00
Darren Shepherd
00da04b7d5 Force autoscaling to use v2beta2 API 2021-01-25 17:19:43 -07:00
Guangbo Chen
8891a7756b Presume json type for Open API Arbitrary type 2021-01-11 15:11:04 +08:00
Darren Shepherd
d496dd31d1 Convert array/map of native types properly 2020-09-10 21:34:27 -07:00
Darren Shepherd
6ebfa39af8 Metadata field should be create/update=true 2020-08-10 12:43:05 -07:00
Darren Shepherd
33b6924291 Update imports for wranger-api 2020-07-14 13:27:47 -07:00
Darren Shepherd
d1a7dbb0b9 Shuffle around code and use rancher/apiserver 2020-06-11 21:51:19 -07:00
Darren Shepherd
c7a5c4f069 Only drop API type if replacement type can be found 2020-03-12 14:01:40 -07:00
Darren Shepherd
0ad6c2aba1 Drop non-preferred version and version in the schema id 2020-03-10 23:12:04 -07:00
Darren Shepherd
9f771dcf65 RBAC caching 2020-02-08 13:03:57 -07:00
Darren Shepherd
10418db494 Move reserved fields to _ 2020-02-03 14:54:39 -07:00
Darren Shepherd
8b42d0aff8 Refactor 2020-01-30 22:37:59 -07:00
Darren Shepherd
19c6732de0 Vendor 2020-01-30 22:01:21 -07:00