discoveryapi

package
v5.18.4 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DiscoveryClient

type DiscoveryClient struct {
	ClientSet dynamic.Interface

	DiscoveryClient discovery.DiscoveryInterface
	Instance        *api.Instance
	// contains filtered or unexported fields
}

DiscoveryClient is the declaration to hold objects needed for client-go/discovery.

func NewDiscoveryClient

func NewDiscoveryClient(namespace string, kubeContext string, instance *api.Instance) (*DiscoveryClient, error)

NewDiscoveryClient returns a new struct with config portions complete.

func (*DiscoveryClient) GetApiResources

func (cl *DiscoveryClient) GetApiResources() error

GetApiResources discovers the api-resources for a cluster

Jump to

Keyboard shortcuts

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