Jordan Liggitt
ef4983fb52
Update generated files
2019-01-15 13:33:06 -05:00
Antoine Pelisse
ae735282ad
Create a method to check dryRun is supported
...
We don't want to run dryRun requests against servers that don't support
dry-run, since they might ignore the flag and just persist the unwanted
changes.
This creates a new method that checks in the OpenAPI if the dryRun
parameter can be used.
2018-10-10 08:55:33 -07:00
Jeff Grafton
23ceebac22
Run hack/update-bazel.sh
2018-06-22 16:22:57 -07:00
Jeff Grafton
a725660640
Update to gazelle 0.12.0 and run hack/update-bazel.sh
2018-06-22 16:22:18 -07:00
Antoine Pelisse
000510d9b7
Replace openapi Fake with kube-openapi version
...
There are two version of this fake class, let's just use that one
version.
2018-06-01 09:50:05 -07:00
Antoine Pelisse
178a8f87f3
openapi: Remove FakeClient from testing library
...
And make a simplified version of it where needed.
2018-05-31 13:44:08 -07:00
Jeff Grafton
ef56a8d6bb
Autogenerated: hack/update-bazel.sh
2018-02-16 13:43:01 -08:00
Antoine Pelisse
3ed58475c4
Update openapi to use kube-openapi code
2017-10-20 09:21:06 -07:00
Jeff Grafton
aee5f457db
update BUILD files
2017-10-15 18:18:13 -07:00
ymqytw
c17103f184
Revert "remove dup pkg and update reference"
...
This reverts commit 93be3f7735 .
Revert "update vendor kube-openapi"
This reverts commit 006f80e35d .
2017-09-06 12:30:53 -07:00
ymqytw
93be3f7735
remove dup pkg and update reference
2017-09-04 18:20:25 -07:00
Antoine Pelisse
54b9c22f2a
openapi: Remove unused test structure and code.
2017-09-01 08:45:44 -07:00
Antoine Pelisse
332b681bd1
Revert "Revert "Merge pull request #47353 from apelisse/http-cache""
...
This reverts commit 4ee72eb300 .
2017-08-25 08:31:49 -07:00
Antoine Pelisse
ba11c7370f
openapi: Add validation logic
...
This allows validation of a yaml/json object against an openapi schema.
A lot more testing would be needed to validate the logic, and also this
is not plumbed in, so it can't be used by kubectl yet.
2017-08-11 17:02:31 -07:00
Antoine Pelisse
eb735bfeb0
openapi: Move Fakes to testing package
2017-08-11 15:28:04 -07:00
Jeff Grafton
a7f49c906d
Use buildozer to delete licenses() rules except under third_party/
2017-08-11 09:32:39 -07:00
Jeff Grafton
33276f06be
Use buildozer to remove deprecated automanaged tags
2017-08-11 09:31:50 -07:00
Jeff Grafton
cf55f9ed45
Autogenerate BUILD files
2017-08-11 09:30:23 -07:00
Jordan Liggitt
4ee72eb300
Revert "Merge pull request #47353 from apelisse/http-cache"
...
This reverts commit fc89743dca , reversing
changes made to 29ab38e898 .
2017-08-07 16:20:34 -04:00
Antoine Pelisse
a1d0384e82
openapi: Remove cache mechanism
...
The cache will be removed and replaced with HTTP Etag caching instead.
This patch is simply removing the existing mechanism.
2017-08-04 14:36:32 -07:00
Antoine Pelisse
064f806424
openapi: refactor into more generic structure
...
Refactor the openapi schema to be a more generic structure that can be
"visited" to get more specific types.
2017-07-25 11:45:29 -07:00
Antoine Pelisse
224dba9a13
openapi: Fetch protobuf rather than Json
...
This is much faster.
2017-06-23 13:50:50 -07:00
Sunil Arora
f768a63fb0
Get cmd uses print-column extn from Openapi schema
...
Get command now uses metadata x-kubernetes-print-columns, if present, in Openapi schema
to format output for a resource. This functionality is guarded by a boolean
flag 'use-openapi-print-columns'.
2017-06-06 13:30:24 -07:00
Phillip Wittrock
83ff8f2d6c
Print a newline after ginkgo tests so the test infra doesn't think that they fail
...
Fixes #45279
2017-05-04 16:20:53 -07:00
Phillip Wittrock
21e239fb82
kubectl OpenAPI bazel updates
2017-04-25 10:45:50 -07:00