Documentation ¶
Overview ¶
Package discovery contains functions to help discovery of resources in a cluster. It can be used to check if cluster (api server) supports a given resource.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HasResource ¶
func HasResource(dc discovery.DiscoveryInterface, apiVersion, kind string) (bool, error)
HasResource takes an api version and a kind of a resource and checks if the resource is supported by the k8s api server.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.