discovery

package
v1.7.2 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2022 License: Apache-2.0 Imports: 5 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) 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) 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