discovery

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2023 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 (*Discovery) GetMapper

func (d *Discovery) GetMapper() (meta.RESTMapper, error)

func (*Discovery) GetServerVersion

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

func (*Discovery) KindsFor

func (*Discovery) Refresh

func (d *Discovery) Refresh() (meta.RESTMapper, error)

type Interface

type Interface interface {
	GetMapper() (meta.RESTMapper, error)
	GetServerVersion() (*version.Info, error)
	Refresh() (meta.RESTMapper, error)
	KindsFor(input schema.GroupVersionResource) ([]schema.GroupVersionKind, error)
}

func New

func New(c *rest.Config) (Interface, error)

Jump to

Keyboard shortcuts

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