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
Antoine Pelisse
9778b1a9ba
openapi: Add EmptyResource/CreateOpenAPISchemaFunc test utils
...
Add a new EmptyResource class that implements openapi.Resources, but
just doesn't have any resources. That is useful for tests that expect
the OpenAPISchema to be working, but don't expect any actual result.
Also implement CreateOpenAPISchemaFunc to simply plug in the TestFactory
code when you want to use an actual APISchema.
2017-11-15 14:02:13 -08:00
Antoine Pelisse
3ed58475c4
Update openapi to use kube-openapi code
2017-10-20 09:21:06 -07:00
Antoine Pelisse
996bc521ee
openapi: Add fake resource to simplify tests
2017-10-03 09:44:14 -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
eb735bfeb0
openapi: Move Fakes to testing package
2017-08-11 15:28:04 -07:00