etcd

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2015 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type REST

type REST struct {
	*etcdgeneric.Etcd
}

REST implements a RESTStorage for templates against etcd

func NewREST

func NewREST(h tools.EtcdHelper) *REST

NewREST returns a RESTStorage object that will work against templates.

func (*REST) List

func (r *REST) List(ctx kapi.Context, label labels.Selector, field fields.Selector) (runtime.Object, error)

List obtains a list of templates with labels that match selector.

func (*REST) New

func (r *REST) New() runtime.Object

New returns a new object

func (*REST) NewList

func (r *REST) NewList() runtime.Object

NewList returns a new list object

Jump to

Keyboard shortcuts

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