Package openapi is a collection of libraries for fetching the openapi spec from a Kubernetes server and then indexing the type definitions. The openapi spec contains the object model definitions and extensions metadata such as the patchStrategy and patchMergeKey for creating patches.
const PrintColumnsKey = "x-kubernetes-print-columns"
PrintColumnsKey is the key that defines which columns should be printed
GetPrintColumns looks for the open API extension for the display columns.
SupportsDryRun is a method that let's us look in the OpenAPI if the specific group-version-kind supports the dryRun query parameter for the PATCH end-point.
Getter is an interface for fetching openapi specs and parsing them into an Resources struct
NewOpenAPIGetter returns an object to return OpenAPIDatas which reads from a server, and then stores in memory for subsequent invocations
Resources interface describe a resources provider, that can give you resource based on group-version-kind.
NewOpenAPIData creates a new `Resources` out of the openapi document