discovery

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2017 License: Apache-2.0 Imports: 9 Imported by: 0

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
}

Helper exposes functions for interacting with the Kubernetes discovery API.

func NewHelper

func NewHelper(discoveryClient discovery.DiscoveryInterface) (Helper, error)

Jump to

Keyboard shortcuts

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