Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResourceResolver ¶
type ResourceResolver interface {
Resolve(gvk schema.GroupVersionKind) (schema.GroupVersionResource, error)
}
func NewDiscoveryResourceResolver ¶
func NewDiscoveryResourceResolver(client discovery.DiscoveryInterface) (ResourceResolver, error)
type ResourceResolverFunc ¶
type ResourceResolverFunc func(gvk schema.GroupVersionKind) (schema.GroupVersionResource, error)
func (ResourceResolverFunc) Resolve ¶
func (f ResourceResolverFunc) Resolve(gvk schema.GroupVersionKind) (schema.GroupVersionResource, error)
Click to show internal directories.
Click to hide internal directories.