package
1.11.0-alpha.0
Repository: https://github.com/astefanutti/kubernetes.git
Documentation: pkg.go.dev
# Functions
CreateOpenAPISchemaFunc returns a function useful for the TestFactory.
NewFakeClient creates a new FakeClient from the given Fake.
NewFakeResources creates a new FakeResources.
# Structs
EmptyResources implement a Resources that just doesn't have any resources.
Fake opens and returns a openapi swagger from a file Path.
FakeClient implements a dummy OpenAPISchemaInterface that uses the fake OpenAPI schema given as a parameter, and count the number of call to the function.
FakeResources is a wrapper to directly load the openapi schema from a file, and get the schema for given GVK.