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
}
REST implements a RESTStorage for API services against etcd
Click to show internal directories.
Click to hide internal directories.