package
1.6.0-alpha.0
Repository: https://github.com/libnux/kubernetes.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

GetAPIGroupResources uses the provided discovery client to gather discovery information and populate a slice of APIGroupResources.
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.
NegotiateVersion queries the server's supported api versions to find a version that both client and server support.
NewDeferredDiscoveryRESTMapper returns a DeferredDiscoveryRESTMapper that will lazily query the provided client for discovery information to do REST mappings.
New creates a new DiscoveryClient for the given RESTClient.
NewDiscoveryClientForConfig creates a new DiscoveryClient for the given config.
NewDiscoveryClientForConfig creates a new DiscoveryClient for the given config.
NewRESTMapper returns a PriorityRESTMapper based on the discovered groups and resourced passed in.
NewUnstructuredObjectTyper returns a runtime.ObjectTyper for unstructred objects based on discovery information.

# 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.
UnstructuredObjectTyper provides a runtime.ObjectTyper implmentation for runtime.Unstructured object based on discovery information.

# Interfaces

DiscoveryInterface holds the methods that discover server-supported API groups, versions and resources.
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.