discovery

package
v1.14.7 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Discovery

type Discovery struct {
	// contains filtered or unexported fields
}

func NewDiscovery

func NewDiscovery() *Discovery

func (*Discovery) OpenAPISchema

func (d *Discovery) OpenAPISchema() (*openapi_v2.Document, error)

func (*Discovery) OpenAPIV3 added in v1.9.0

func (d *Discovery) OpenAPIV3() openapi.Client

func (*Discovery) RESTClient

func (d *Discovery) RESTClient() restclient.Interface

func (*Discovery) ServerGroups

func (d *Discovery) ServerGroups() (*metav1.APIGroupList, error)

func (*Discovery) ServerGroupsAndResources

func (d *Discovery) ServerGroupsAndResources() ([]*metav1.APIGroup, []*metav1.APIResourceList, error)

func (*Discovery) ServerPreferredNamespacedResources

func (d *Discovery) ServerPreferredNamespacedResources() ([]*metav1.APIResourceList, error)

func (*Discovery) ServerPreferredResources

func (d *Discovery) ServerPreferredResources() ([]*metav1.APIResourceList, error)

func (*Discovery) ServerResources

func (d *Discovery) ServerResources() ([]*metav1.APIResourceList, error)

func (*Discovery) ServerResourcesForGroupVersion

func (d *Discovery) ServerResourcesForGroupVersion(groupVersion string) (*metav1.APIResourceList, error)

func (*Discovery) ServerVersion

func (d *Discovery) ServerVersion() (*version.Info, error)

func (*Discovery) WithLegacy added in v1.11.0

func (d *Discovery) WithLegacy() discovery.DiscoveryInterface

func (*Discovery) WithServerGroups

func (d *Discovery) WithServerGroups(fn func() (*metav1.APIGroupList, error)) *Discovery

func (*Discovery) WithServerResourcesForGroupVersion

func (d *Discovery) WithServerResourcesForGroupVersion(fn func(groupVersion string) (*metav1.APIResourceList, error)) *Discovery

Jump to

Keyboard shortcuts

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