k3s/pkg/kubectl/cmd/util/openapi/testing
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
..
BUILD Update openapi to use kube-openapi code 2017-10-20 09:21:06 -07:00
openapi.go openapi: Add EmptyResource/CreateOpenAPISchemaFunc test utils 2017-11-15 14:02:13 -08:00