discovery

package
v2.1.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 24, 2020 License: MIT Imports: 1 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL