Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Helper ¶
type Helper interface {
// Mapper gets a RESTMapper for the current set of resources retrieved
// from discovery.
Mapper() meta.RESTMapper
// Resources gets the current set of resources retrieved from discovery
// that are backuppable by Ark.
Resources() []*metav1.APIResourceList
// Refresh pulls an updated set of Ark-backuppable resources from the
// discovery API.
Refresh() error
// ResolveGroupResource uses the RESTMapper to resolve resource to a fully-qualified
// schema.GroupResource. If the RESTMapper is unable to do so, an error is returned instead.
ResolveGroupResource(resource string) (schema.GroupResource, error)
}
Helper exposes functions for interacting with the Kubernetes discovery API.
Click to show internal directories.
Click to hide internal directories.