Documentation ¶
Index ¶
- func IsAPIGroupSupported(discoveryCli discovery.DiscoveryInterface, group string) (bool, error)
- func IsAPIGroupVersionResourceSupported(discoveryCli discovery.DiscoveryInterface, groupVersion string, ...) (bool, error)
- func IsAPIGroupVersionSupported(discoveryCli discovery.DiscoveryInterface, groupVersion string) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsAPIGroupSupported ¶
func IsAPIGroupSupported(discoveryCli discovery.DiscoveryInterface, group string) (bool, error)
IsAPIGroupSupported checks if given group is supported by the cluster.
func IsAPIGroupVersionResourceSupported ¶ added in v1.3.0
func IsAPIGroupVersionResourceSupported(discoveryCli discovery.DiscoveryInterface, groupVersion string, resource string) (bool, error)
IsAPIGroupVersionResourceSupported checks if given groupVersion and resource is supported by the cluster.
you can exec `kubectl api-resources` to find groupVersion and resource.
func IsAPIGroupVersionSupported ¶
func IsAPIGroupVersionSupported(discoveryCli discovery.DiscoveryInterface, groupVersion string) (bool, error)
IsAPIGroupVersionSupported checks if given groupVersion is supported by the cluster.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.