package registry

import "k8s.io/kubernetes/staging/src/k8s.io/sample-apiserver/pkg/registry"

Index

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

Source Files

registry.go

Directories

PathSynopsis
staging/src/k8s.io/sample-apiserver/pkg/registry/wardle
staging/src/k8s.io/sample-apiserver/pkg/registry/wardle/fischer
staging/src/k8s.io/sample-apiserver/pkg/registry/wardle/flunder
Version
v1.8.13
Published
May 11, 2018
Platform
linux/amd64
Imports
3 packages
Last checked
31 seconds ago

Tools for package owners.