# Functions
FilteredBy filters by the given predicate.
GetAPIGroupResources uses the provided discovery client to gather discovery information and populate a slice of APIGroupResources.
GroupVersionResources converts APIResourceLists to the GroupVersionResources.
IsGroupDiscoveryFailedError returns true if the provided error indicates the server was unable to discover a complete list of APIs for the client to use.
MatchesServerVersion queries the server to compares the build version (git hash) of the client with the server's build version.
NewDeferredDiscoveryRESTMapper returns a DeferredDiscoveryRESTMapper that will lazily query the provided client for discovery information to do REST mappings.
NewDiscoveryClient returns a new DiscoveryClient for the given RESTClient.
NewDiscoveryClientForConfig creates a new DiscoveryClient for the given config.
NewDiscoveryClientForConfigOrDie creates a new DiscoveryClient for the given config.
NewRESTMapper returns a PriorityRESTMapper based on the discovered groups and resources passed in.
NewUnstructuredObjectTyper returns a runtime.ObjectTyper for unstructred objects based on discovery information.
ServerSupportsVersion returns an error if the server doesn't have the required version.
# Structs
APIGroupResources is an API group with a mapping of versions to resources.
DeferredDiscoveryRESTMapper is a RESTMapper that will defer initialization of the RESTMapper until the first mapping is requested.
DiscoveryClient implements the functions that discover server-supported API groups, versions and resources.
ErrGroupDiscoveryFailed is returned if one or more API groups fail to load.
SupportsAllVerbs is a predicate matching a resource iff all given verbs are supported.
UnstructuredObjectTyper provides a runtime.ObjectTyper implmentation for runtime.Unstructured object based on discovery information.
# Interfaces
CachedDiscoveryInterface is a DiscoveryInterface with cache invalidation and freshness.
DiscoveryInterface holds the methods that discover server-supported API groups, versions and resources.
OpenAPISchemaInterface has a method to retrieve the open API schema.
No description provided by the author
ServerGroupsInterface has methods for obtaining supported groups on the API server.
ServerResourcesInterface has methods for obtaining supported resources on the API server.
ServerVersionInterface has a method for retrieving the server's version.
SwaggerSchemaInterface has a method to retrieve the swagger schema.
# Type aliases
No description provided by the author