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

Source Files