etcd

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2016 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const EtcdPrefix = "/users"

Variables

This section is empty.

Functions

This section is empty.

Types

type REST

type REST struct {
	etcdgeneric.Etcd
}

rest implements a RESTStorage for users against etcd

func NewREST

func NewREST(s storage.Interface) *REST

NewREST returns a RESTStorage object that will work against users

func (*REST) Get

func (r *REST) Get(ctx kapi.Context, name string) (runtime.Object, error)

Get retrieves the item from etcd.

Jump to

Keyboard shortcuts

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