etcd

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2015 License: Apache-2.0 Imports: 9 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

func (*REST) Watch added in v0.6.1

func (r *REST) Watch(ctx kapi.Context, label labels.Selector, field fields.Selector, resourceVersion string) (watch.Interface, error)

Watch begins watching for new, changed, or deleted templates.

Jump to

Keyboard shortcuts

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