Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RESTInPeace ¶
func RESTInPeace(storage rest.StandardStorage, err error) rest.StandardStorage
RESTInPeace is just a simple function that panics on error. Otherwise returns the given storage object. It is meant to be a wrapper for wardle registries.
Types ¶
type REST ¶
type REST struct { *genericregistry.Store // ShortNames is a list of short names for this resource type ResourceShortNames []string }
REST implements a RESTStorage for API services against etcd
func (*REST) ShortNames ¶
ShortNames implements the ShortNamesProvider interface. Returns a list of short names for a resource.
Click to show internal directories.
Click to hide internal directories.