registry

package
v0.0.0-...-f256f36 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

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

func (r *REST) ShortNames() []string

ShortNames implements the ShortNamesProvider interface. Returns a list of short names for a resource.

Directories

Path Synopsis
wing

Jump to

Keyboard shortcuts

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