Documentation ¶
Index ¶
- type Discovery
- func (d *Discovery) OpenAPISchema() (*openapi_v2.Document, error)
- func (d *Discovery) RESTClient() restclient.Interface
- func (d *Discovery) ServerGroups() (*metav1.APIGroupList, error)
- func (d *Discovery) ServerGroupsAndResources() ([]*metav1.APIGroup, []*metav1.APIResourceList, error)
- func (d *Discovery) ServerPreferredNamespacedResources() ([]*metav1.APIResourceList, error)
- func (d *Discovery) ServerPreferredResources() ([]*metav1.APIResourceList, error)
- func (d *Discovery) ServerResources() ([]*metav1.APIResourceList, error)
- func (d *Discovery) ServerResourcesForGroupVersion(groupVersion string) (*metav1.APIResourceList, error)
- func (d *Discovery) ServerVersion() (*version.Info, error)
- func (d *Discovery) WithServerGroups(fn func() (*metav1.APIGroupList, error)) *Discovery
- func (d *Discovery) WithServerResourcesForGroupVersion(fn func(groupVersion string) (*metav1.APIResourceList, error)) *Discovery
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 (*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) WithServerGroups ¶
func (d *Discovery) WithServerGroups(fn func() (*metav1.APIGroupList, error)) *Discovery
func (*Discovery) WithServerResourcesForGroupVersion ¶
Click to show internal directories.
Click to hide internal directories.