package
0.0.0-20170824060325-cf23810f2098
Repository: https://github.com/sttts/kubernetes.git
Documentation: pkg.go.dev
# Functions
GetPrintColumns looks for the open API extension for the display columns.
NewCachingOpenAPIClient returns a new discovery.OpenAPISchemaInterface that will read the openapi spec from a local cache if it exists, and if not will then fetch an openapi spec using a client.
NewOpenAPIData creates a new `Resources` out of the openapi document.
NewOpenAPIGetter returns an object to return OpenAPIDatas which either read from a local file cache or read from a server, and then stored in memory for subsequent invocations.
No description provided by the author
# Constants
Defines openapi types.
Defines openapi types.
Defines openapi types.
No description provided by the author
Defines openapi types.
# Structs
Array must have all its element of the same `SubType`.
BaseSchema holds data used by each types of schema.
No description provided by the author
Definitions is an implementation of `Resources`.
Kind is a complex object.
Map is an object who values must all be of the same `SubType`.
Path helps us keep track of type paths.
Primitive is a literal.
SchemaReference doesn't match a specific type.
# Interfaces
Getter is an interface for fetching openapi specs and parsing them into an Resources struct.
Resources interface describe a resources provider, that can give you resource based on group-version-kind.
Schema is the base definition of an openapi type.
SchemaVisitor is an interface that you need to implement if you want to "visit" an openapi schema.